Re: Good settings for BlockRead




"Jud McCranie" <youknowwhat.mccranie@xxxxxxxxxxxx> wrote in message
news:8eqeg15jqdv8rgq5tdr5p6uoo6hfib1bq8@xxxxxxxxxx
> On Sun, 21 Aug 2005 01:50:36 +0930, "Terry Russell"
> <trochilus@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
> >Your transfer reading, are you sure you are comparing oranges,
>
> I hope I'm comparing accurately. I defraged the disk and rebooted
> before each test to clear out the disk cache. But I don't know where
> on the drive the system put the file.
>
> > and what does HD Tach measure ?
>
> HD Tach is a neat free program for testing disk speed. It has nice
> graphics showing how the speed varies with location:
> http://www.simplisoftware.com/Public/index.php?request=HdTach

It needs an install, and doesn't give anything other noinstall tests show.

It measures raw low level speed, but you are going through the OS.


HdTach says 72 burst 64 max
Another much simpler app says 71 burst 62 max

with 512meg memory memory and a 2 gig file using blockread
( that should clear the cache :-) )
for 512KByte blocks I get 33Megabytes per second average
for 16meg blocks I get 65 MBps average, much the same for 64 meg blocks


The interesting this is that if I force 300 mb of physical ram free
before reading I see 61 mbps until free ram is gone for 512k block and up
which implies the OS cache shuffling may be the biggest bottleneck
on small blocks
[ this is where some of those memory manages can improve apps that
otherwise thrash the HD with small page/read cycles, unfortunatley if
every app tried to manage ram you could be sure there would
be some sort of catfight ]

The advantage of this cache is rereading then has a few 100megabyte bursts
at 200+ mbps as it reads from cached data while the bulk still
averages at the 33MBps range,
same for 64 meg block but 62MBps for off disk portions.
Bursts far beyond the average can be ignored as cache noise if you want to
get a quick and reasonably accurate data rate test without the need to
reboot.

For long strips rereading the OS tends to keep this first 300 MB in ram and
not
flush as more data from the same file comes in with same priority, random
access
progressively retains the most used blocks.

It depends on OS and hardware but with memory so large and cheap and the
machine running one primary application the OS should contrive to keep most
of the data for a large number of records in memory without any application
control or much advantage in tweaking blocksizes.

Rule of thumb blocksize 1/16 of RAM should keep the OS cache/drive cache
in a reasonable zone for P150 to P3000.


Back in the dark ages of 1990 600KBps was a good speed for a $300 40MByte
drive on a 2Meg RAM 386 33MHz costing $2500.
Tweaking was worth it then and predictable, the OS didn't presume to do much
and usually only one primary app was resident at a time.
Now you can get 60MBps off a 40G HD into a 512MBRAM 2Ghz P4 for $300
and cannot predict what the OS will do with your data in relation to the
other
apps that may be running.
Static tweaking effects are not predictable.

And for all this , 1000 times more storage, 200 times more RAM, 100 times
faster
CPU, for 1/10th the price, how much more can we do?

If the problem is digital we go from 'not-enough' to 'enough' at some point,
if we
have reached 'enough' then there is little profit in expending effort in
further improving
the process.

Instead of faster disk access maybe a better help system would be of more
benefit?



.



Relevant Pages

  • Re: Slow performance
    ... I realize that the pagefile usage is excessive and I need to reduce memory ... I've never messed with those settings before. ... Peak are greatly in excess of the installed RAM. ... The Disk Defragmenter report shows you have minimal free disk space. ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: speeding up my runtime on a c6713.
    ... it for cache, and possibly enabled the cache controller? ... I ran out of IRAM memory so I moved all my variables to ERAM. ... "Are you using all 256k of DSP ram, or have you reserved up to 64k of ...
    (comp.dsp)
  • Re: What can I check to fix system performance?
    ... it seems you have plenty of memory available: ... copies of files you have read of written lately, in a cache, in case ... processes per CPU, or 40 in all. ... Consider the disk structure. ...
    (comp.os.linux.setup)
  • Re: Caching control
    ... |> | invalidate/unmap them in order to discard the data from memory. ... |> writing out to disk. ... | easy to discard as clean disk cache. ... stating that a specific amount of RAM can be used only for I/O ...
    (comp.os.linux.development.system)
  • Re: Blue Screen of death
    ... I do have a memory checking program that I have not tried recently. ... It can be noted; that about 6 months ago, I added 2 Gig of ram; that I put in with what I had. ... For graphics testing, http://majorgeeks.com/3Dmark_d99.html has a copy ... You can test disk drives. ...
    (microsoft.public.windowsxp.hardware)