From: Robert Hancock <hancockr@shaw.ca>
To: Matthew Fredrickson <creslin@digium.com>
Cc: Tejun Heo <htejun@gmail.com>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: High CPU usage with sata_nv
Date: Wed, 21 Feb 2007 20:34:42 -0600 [thread overview]
Message-ID: <45DD0142.9020301@shaw.ca> (raw)
In-Reply-To: <0c69abe94bbc69f652831a64ad77d0cb@digium.com>
Matthew Fredrickson wrote:
>
> On Feb 20, 2007, at 9:43 PM, Robert Hancock wrote:
>
>> Matthew Fredrickson wrote:
>>> I have noticed something that might be related as well. I am working
>>> on a device driver that would have periodic data errors due to
>>> exceptionally long interrupt handling latency. I have come to the
>>> point that I suspect that it's the sata_nv driver, and now that we
>>> can't do the hdparm -u1 option for sata, it seems to be a bigger
>>> problem.
>>
>> What kernel are you using? There were some complaints about latency
>> problems (the ATA status register read taking a ridiculous amount of
>> time to complete) on sata_nv previously, but 2.6.20 should eliminate
>> that problem at least on nForce4 chipsets..
>>
>
> It's a 2.6.18 kernel. What we're seeing (by means of the interrupt pin
> on another card) is extremely large interrupt latency (measured from the
> time the interrupt pin goes low to the first couple lines of code in the
> IRQ handler to clear it) occasionally, in the order of 500-700
> microseconds. I figured it was some other driver on the system
> disabling irqs for a long period of time, but it's difficult to trace
> what might be doing that.
There were reports that an read of the interrupt status register on the
sata_nv controller could take a huge amount of time (something like 14
milliseconds as I recall). I don't think it was ever really established
what was causing that big delay (there was speculation it was trapping
into SMM mode, but Nvidia denied that one).
In 2.6.20 kernels we use a different operating mode, ADMA, on the
nForce4 chipsets which usually avoids using that register.
--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/
next prev parent reply other threads:[~2007-02-22 2:34 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <fa.1OWRIIUBXsZOXflsGLA+7d4YCc0@ifi.uio.no>
[not found] ` <fa.A0XBTh7eCfsh11d3AhMO71/4xQU@ifi.uio.no>
[not found] ` <fa.fCm35VohC2wt9vlkg94Ru7me4ic@ifi.uio.no>
[not found] ` <fa.qDqCne4pXntL0PolSS2j8t4py3g@ifi.uio.no>
[not found] ` <fa.8TboLRab6f7zzIWFr/JPM6q04Zo@ifi.uio.no>
[not found] ` <fa.PMqnzxUBiShkWV4h9SiztNIwYc0@ifi.uio.no>
2007-02-21 3:43 ` High CPU usage with sata_nv Robert Hancock
2007-02-21 15:28 ` Matthew Fredrickson
2007-02-21 18:04 ` Lee Revell
2007-02-22 2:34 ` Robert Hancock [this message]
[not found] <20070115164541.M22367@elsat.net.pl>
2007-01-15 16:54 ` ris
2007-01-15 18:26 ` Frederik Deweerdt
2007-01-15 22:28 ` ris
2007-01-22 3:40 ` Tejun Heo
2007-02-11 22:31 ` ris
2007-02-12 6:49 ` Tejun Heo
2007-02-12 14:11 ` ris
2007-02-12 16:18 ` Tejun Heo
2007-02-12 20:02 ` Matthew Fredrickson
2007-02-12 20:09 ` Tejun Heo
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=45DD0142.9020301@shaw.ca \
--to=hancockr@shaw.ca \
--cc=creslin@digium.com \
--cc=htejun@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/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