Frank Samuel
Guest
|
Posted:
Wed Dec 14, 2005 5:16 pm Post subject:
speed up temporary file write |
|
|
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 |
|