Re: OT: performance problems.
>>>> /dev/hda2:
>>>> Timing buffer-cache reads: 128 MB in 0.99 seconds = 129.29 MB/sec
>>>> Timing buffered disk reads: 64 MB in 21.93 seconds = 2.92 MB/sec
>>>
>>> /dev/hda1:
>>> Timing buffer-cache reads: 128 MB in 0.77 seconds =166.23 MB/sec
>>> Timing buffered disk reads: 64 MB in 3.33 seconds = 19.22 MB/sec
>>
>> jealous! what's the RPM on your drive?
>
> Are you sure it's something to get jealous over? I'm pretty sure I have
> a 5400rpm 20GB drive (by Fujitsu). Look at my stats after I enabled DMA and
> (some other kernel options I don't have at the tip of my finger right
> now):
>
> # hdparm -Tt /dev/hda
>
> /dev/hda:
> Timing buffer-cache reads: 128 MB in 0.82 seconds =156.10 MB/sec
> Timing buffered disk reads: 64 MB in 2.99 seconds = 21.40 MB/sec
>
> I've seen a discussion here some whiles back about a guy who got
> 33MB+/sec.
>
There's a good article on hdparm and its usage at
http://linux.oreillynet.com/lpt/a/linux/2000/06/29/hdparm.html
Mine went from
/dev/hdb:
Timing buffer-cache reads: 128 MB in 1.93 seconds = 66.32 MB/sec
Timing buffered disk reads: 64 MB in 24.01 seconds = 2.67 MB/sec
to
/dev/hdb:
Timing buffer-cache reads: 128 MB in 1.92 seconds = 66.67 MB/sec
Timing buffered disk reads: 64 MB in 3.46 seconds = 18.50 MB/sec
After a few minutes' tinkering.
Have fun...
Bill
Reply to: