LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-19-2014, 03:29 PM   #1
zmau
LQ Newbie
 
Registered: Jul 2013
Posts: 19

Rep: Reputation: Disabled
Fast write to file. How to ?


Hi,

I have a program which receives pictures at a high rate (lets say at 100 Hz).
The picture's size is about 1 MB (let say 1 MB).
The picture's are to be recorded to the disk for later inspection (sustain rate = 100 MB/Sec).
The disk is an SSD (SATA 2.0 - theoretically 3 Gbit/Sec).
This is the only "disk activity" during the whole run time.
The program runs for 20 minutes ==>> total of 120 GB.
The file system is not decided yet.

So the question is : How to do it ?
1) Which file system is best ?
2) Is there a "well known solution" to this issue ?
3) Are there code recommendations ?
4) Any suggested code to do this ?
5) With/Without "journal" ?

Finally, is this the best place to put the question ?


Thanks
zmau

Last edited by zmau; 05-19-2014 at 03:34 PM.
 
Old 05-19-2014, 04:23 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,354

Rep: Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553
Quote:
Originally Posted by zmau View Post
2) Is there a "well known solution" to this issue ?
3) Are there code recommendations ?
4) Any suggested code to do this ?
The main difference between using a hard drive and using a SSD in Linux is that you should use the TRIM feature on a SSD in Linux.

http://www.techrepublic.com/blog/lin...ge-with-linux/

--------------------
Steve Stites
 
1 members found this post helpful.
Old 05-19-2014, 04:24 PM   #3
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Here is a filesystem benchmark, a bit old, but newer ones are lacking.
http://www.phoronix.com/scan.php?pag...38_large&num=1

Code ? I thought you said you have a program that does this. Where does/will it get the pictures from ? the internet ? other computers ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Write a script that searches a txt file and write's specific data to a new file tomtweber Programming 22 02-22-2014 12:36 PM
[SOLVED] How to write a .sh script to read configuration file and write into .txt file ISStaras Linux - Newbie 8 09-06-2012 06:03 PM
Fast read, Slow write? Samba. sysrez Linux - Networking 6 11-02-2010 08:46 AM
Fast write to disks rblampain Linux - Hardware 11 07-14-2005 04:44 AM
k3b - slow read, but fast write bob66 Linux - Software 5 05-13-2005 05:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration