From: Mike Hardy <mhardy@h3c.com>
To: Jay Strauss <me@heyjay.com>, linux-raid@vger.kernel.org
Subject: Re: Raid 1 install revealed poor HD performance (I think)
Date: Thu, 19 May 2005 09:14:02 -0700 [thread overview]
Message-ID: <428CBB4A.8080900@h3c.com> (raw)
In-Reply-To: <428CB19B.8010402@heyjay.com>
That's more like what we were expecting!
I can't tell you why its like that or how, but this *is* the typical
problem with IDE. Most likely the chipset is being detected incorrectly,
or its being detected correctly but there is some errata that's
disabling dma, or maybe dma is experimental for the card.
Places to look for information are in the dmesg for the sis chipset's
detection diagnostics, then on the internet as a google for your sis
chipset number then "linux dma" maybe. You may end up with some ide
things on your kernel command line (via grub or lilo)
I'll reiterate something I said previously though, other than
write-caching (which is potentially dangerous) none of the other hdparm
or IDE settings are really going to give you that much of a boost unless
your workload is specifically tunable. They're all just little minor
twiddles you can do - nothing even close to the difference between
having DMA or not. So I'd just focus on enabling DMA. The other stuff is
all uninteresting compared to it.
-Mike
Jay Strauss wrote:
> Hi (again):
>
> I diff'ed the contents of /proc/ide of Knoppix and Sarge, there were a
> couple of (possibly) interesting differences. I'm not sure how to go
> about changing the settings. The net/net is on my controller under
> knoppix it says UDMA Enabled but on Sarge it's disabled. Also the
> writecache is enabled under knoppix (I did a hdparm -W 1 /dev/hda, but
> my tests were identical)
>
> Below are the diffs, I'd like to make the sarge install setting
> identical, and see if that changes anything.
>
> If anyone knows how to alter these settings, I'd be appreciated
>
> thanks
> Jay
>
> jstrauss@hydrogen:~$ diff -r sarge.ide/sis knoppix.ide/sis
> 10,11c10,11
> < UDMA Enabled UDMA Enabled
> < UDMA Cycle Time 2 CLK UDMA Cycle Time 4 CLK
> ---
>> UDMA Disabled UDMA Disabled
>> UDMA Cycle Time Reserved UDMA Cycle Time Reserved
>
> and
> jstrauss@hydrogen:~$ diff sarge.ide/hda/settings knoppix.ide/hda/settings
> 7a8
>> breada_readahead 8 0 255 rw
> 9c10
> < current_speed 68 0
> 70 rw
> ---
>> current_speed 12 0 70 rw
> 11c12,13
> < init_speed 68 0
> 70 rw
> ---
>> file_readahead 124 0 16384 rw
>> init_speed 12 0 70 rw
> 16c18,19
> < multcount 0 0
> 16 rw
> ---
>> max_kb_per_request 128 1 255 rw
>> multcount 16 0 16 rw
> 20a24
>> slow 0 0 1 rw
> 23c27
> < wcache 1 0
> 1 rw
> ---
>> wcache 0 0 1 rw
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2005-05-19 16:14 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-17 15:11 Raid 1 install revealed poor HD performance (I think) Jay Strauss
2005-05-17 15:50 ` Gordon Henderson
2005-05-17 16:17 ` Jay Strauss
2005-05-17 16:23 ` Gordon Henderson
2005-05-17 16:52 ` Mike Hardy
2005-05-17 20:51 ` Jay Strauss
2005-05-17 20:54 ` Mike Hardy
2005-05-17 22:16 ` Tobias Hofmann
2005-05-17 23:00 ` Jay Strauss
2005-05-18 3:28 ` Jay Strauss
2005-05-17 22:45 ` Peter T. Breuer
2005-05-17 23:42 ` Henrik Holst
2005-05-18 3:30 ` Jay Strauss
2005-05-17 23:44 ` Henrik Holst
2005-05-19 15:32 ` Jay Strauss
2005-05-19 16:14 ` Mike Hardy [this message]
2005-05-19 18:40 ` Jay Strauss
2005-05-19 20:43 ` Mike Hardy
2005-05-20 1:43 ` Jay Strauss
[not found] <Pine.LNX.4.44.0505180206580.1777-100000@coffee.psychology.mcmaster.ca>
2005-05-18 15:08 ` Mike Hardy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=428CBB4A.8080900@h3c.com \
--to=mhardy@h3c.com \
--cc=linux-raid@vger.kernel.org \
--cc=me@heyjay.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).