Thread (19 messages) 19 messages, 6 authors, 2005-05-20

Re: Raid 1 install revealed poor HD performance (I think)

From: Gordon Henderson <hidden>
Date: 2005-05-17 16:23:53

On Tue, 17 May 2005, Jay Strauss wrote:
Gordon Henderson wrote:
quoted
On Tue, 17 May 2005, Jay Strauss wrote:

quoted
I'm very unfamiliar with options for speeding up hard drive access.
What might Knoppix be setting (and how would I look for it), that it's
getting 100% better drive performance than a plain jane Sarge install?

The usual culprit is DMA. (Or lack of it in your case)

What does

  hdparm /dev/hda

give under each OS?

You can use hdparm to enable DMA, but this doesn't always work - the real
solution is to work out what type of IDE controller you have and make sure
it's compiled into your kernel.
thanks Gordon, below are the outputs from both trials.  How would I go
about finding out the IDE controller I have?
From the outputs below, it looks like it's not DMA. (damn)
Sarge:~# hdparm /dev/hda

/dev/hda:
  multcount    =  0 (off)
  IO_support   =  0 (default 16-bit)
  unmaskirq    =  0 (off)
  using_dma    =  1 (on)
It's on here.

  keepsettings =  0 (off)
  readonly     =  0 (off)
  readahead    = 256 (on)
  geometry     = 19457/255/63, sectors = 312581808, start = 0

knoppix

/dev/hda:
  multcount    = 16 (on)
  IO_support   =  0 (default 16-bit)
  unmaskirq    =  0 (off)
  using_dma    =  1 (on)
And here.

However, I notice that Sarge isn't using multicount. You can turn that on
with hdparm -m 16 /dev/hda /dev/hdc

To work out your IDE controller, try: lspci and have a look at the output
of /var/log/dmesg (or just type dmesg | less - knoppix might not create a
/var/log/dmesg) The output of lspci will tell you what hardware you have
then you'll need to examinf the dmesg output to see if you have support
for it, or need to compile it in.

Gordon
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help