S
Skybuck Flying
Hi,
I made two simple harddisk benchmark's.
One for reading data from a file and one for writing data to a file.
I just use Delphi's TfileStream, which in it turns uses the win32 api.
The harddisk benchmark shows that my harddisk is able to read 180 MB/sec
from a file which is 36 MB.
The other harddisk benchmark shows that my harddisk is able to write 4
MB/sec to the same file which is 36 MB.
( overwriting it ).
So here is a huge difference in speeds. Which leads me to wonder what is
causing this huge difference.
The access is done sequentially in both tests... (reading and writing).
I am guessing that the writing is slow because it has to change the NTFS
file allocation table ? So then the harddisk write head has to move
constantly... but why is the reading so fast ? Maybe the reading does not
have to constantly move it's head... each cluster could have a next pointer
where the next data is te be read... that could explain it...
Ofcourse I am just guessing here...
Anybody know ?
Bye,
Skybuck.
I made two simple harddisk benchmark's.
One for reading data from a file and one for writing data to a file.
I just use Delphi's TfileStream, which in it turns uses the win32 api.
The harddisk benchmark shows that my harddisk is able to read 180 MB/sec
from a file which is 36 MB.
The other harddisk benchmark shows that my harddisk is able to write 4
MB/sec to the same file which is 36 MB.
( overwriting it ).
So here is a huge difference in speeds. Which leads me to wonder what is
causing this huge difference.
The access is done sequentially in both tests... (reading and writing).
I am guessing that the writing is slow because it has to change the NTFS
file allocation table ? So then the harddisk write head has to move
constantly... but why is the reading so fast ? Maybe the reading does not
have to constantly move it's head... each cluster could have a next pointer
where the next data is te be read... that could explain it...
Ofcourse I am just guessing here...
Anybody know ?
Bye,
Skybuck.