Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 May : Faster than TFilestream ?

www.cryer.info
Managed Newsgroup Archive

Faster than TFilestream ?

Subject:Faster than TFilestream ?
Posted by:"bill" (fence617..@mypacks.net)
Date:Tue, 1 May 2007 15:37:21 -0700

I made a filestream that enables me to set the CreateFile parameters.
It also includes overlapped. I've tuned it for max speed.
FILE_ATTRIBUTE_NORMAL or FILE_FLAG_SEQUENTIAL_SCAN or
FILE_FLAG_NO_BUFFERING or FILE_FLAG_OVERLAPPED

My HD speed tester tells me the sequential read speed average is
51.8 MB/per sec. over multi-gigs.
I also have a filestream speed tester and it tells me my filestream
can only read at 40.85 MB/per sec.
Shouldn't it be able to keep up with the HD ?
Is there a faster method for reading up files into a buffer from the HD ?

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive