speed up temporary file write
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
speed up temporary file write

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> File System
Author Message
Frank Samuel
Guest





Posted: Wed Dec 14, 2005 5:16 pm    Post subject: speed up temporary file write Reply with quote

Hi,
I have two processes which communicate using the file system (one write, the
other one reads).
Unfortunately disc IO get the bottleneck because of a high number of tiny
files written (so the physical write is the bottleneck).

I tried to keep the files in the file cache as long as possible by
specifying the flag FILE_ATTRIBUTE_TEMPORARY in the CreateFile call.
Also writing the file in bigger blocks does not help.

I assume that a high number of files have to be written to disc when the
writer process closes the file handle. And this is the bottleneck.

Any idea to speed this up?

Thanks,
Frank
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> File System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB