Sequential file access R/W
-
Hi world, My question is simple: How can I write file with a sequencial access type? I want this to accelerate the writing bandwidth of my HD. With a litle application (not open source) I obtain: - For a random writing access, my HD bandwidth is 5 MB/sec - For a sequencial writing access, 15 MB/sec Thanks for all answers... :) Hello World!!! :) from Raphaël
-
Hi world, My question is simple: How can I write file with a sequencial access type? I want this to accelerate the writing bandwidth of my HD. With a litle application (not open source) I obtain: - For a random writing access, my HD bandwidth is 5 MB/sec - For a sequencial writing access, 15 MB/sec Thanks for all answers... :) Hello World!!! :) from Raphaël
Use the
FILE_FLAG_SEQUENTIAL_SCAN
flag withCreateFile()
to tell the cache manager to expect sequential access. --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ Strange things are afoot at the U+004B U+20DD -
Use the
FILE_FLAG_SEQUENTIAL_SCAN
flag withCreateFile()
to tell the cache manager to expect sequential access. --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ Strange things are afoot at the U+004B U+20DDThanks a lot for this solution... I will test that now... Hello World!!! :) from Raphaël