[ale] Disk performance

Danny Cox danscox at mindspring.com
Tue Jan 22 11:38:19 EST 2002


Ken,

On Tue, 2002-01-22 at 11:07, Ken Nagorski wrote:
> /dev/hda:
>  setting using_dma to 1 (on)
>  using_dma    =  1 (on)
> root at workstation:$ hdparm -c 1 /dev/hda
> 
> /dev/hda:
>  setting 32-bit I/O support flag to 1
>  I/O support  =  1 (32-bit)
> root at workstation:$ hdparm -t /dev/hda
> 
> /dev/hda:
>  Timing buffered disk reads:  64 MB in  3.71 seconds = 17.25 MB/sec
> root at workstation:$ hdparm -k 1 /dev/hda

	Just a small nit: if you're using DMA (-d1), then turning on 32-bit I/O
support does nothing, as that only affects PIO mode.  It determines if
the CPU transfers 16 or 32 bits at a time.  On the i386, this means a
difference of using insl (32) or insw (16).

	Try it!

-- 
kernel, n.: A part of an operating system that preserves the
medieval traditions of sorcery and black art.

Danny


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list