On Thu, Nov 14, 2002 at 07:03:16PM +0530, Sandip P Deshmukh wrote: > On Thu, Nov 14, 2002 at 07:10:10AM -0600, Jamin W. Collins wrote: > > > You be the judge: > > > > # hdparm -Tt /dev/hda > > > > /dev/hda: > > Timing buffer-cache reads: 128 MB in 0.75 seconds =170.67 MB/sec > > Timing buffered disk reads: 64 MB in 1.78 seconds = 35.96 MB/sec > > is this some magic? here are my numbers:
Not particularly. That is from my main workstation now (K7 1Ghz) with the following configuration: # hdparm /dev/hda /dev/hda: multcount = 16 (on) I/O support = 1 (32-bit) unmaskirq = 1 (on) using_dma = 1 (on) keepsettings = 1 (on) nowerr = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry = 9729/255/63, sectors = 156301488, start = 0 busstate = 1 (on) A lot of it will depend on the drive and the controller. For instance on my older workstation (K7 650Mhz), I get the following: # hdparm -Tt /dev/hda /dev/hda: Timing buffer-cache reads: 128 MB in 0.92 seconds =139.13 MB/sec Timing buffered disk reads: 64 MB in 2.81 seconds = 22.78 MB/sec with an indentical configuration. However, turning off DMA on both of them gives: K7 1Ghz Timing buffered disk reads: 64 MB in 27.80 seconds = 2.30 MB/sec K7 650Mhz Timing buffered disk reads: 64 MB in 7.28 seconds = 8.79 MB/sec > /dev/hda: > Timing buffer-cache reads: 128 MB in 1.35 seconds = 94.81 MB/sec > Timing buffered disk reads: 64 MB in 18.47 seconds = 3.47 MB/sec > > how do i come closer to those numbers? I normally use "hdparm -c1 -d1 -k1 /dev/hda", of course you'll want to change the /dev/hda to whatever drive you're working with. -- Jamin W. Collins -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]