From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750774AbXBUP23 (ORCPT ); Wed, 21 Feb 2007 10:28:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751299AbXBUP23 (ORCPT ); Wed, 21 Feb 2007 10:28:29 -0500 Received: from heineken.digium.com ([216.207.245.2]:60432 "EHLO heineken.digium.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750774AbXBUP22 (ORCPT ); Wed, 21 Feb 2007 10:28:28 -0500 In-Reply-To: <45DBBFE8.5080901@shaw.ca> References: <45DBBFE8.5080901@shaw.ca> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <0c69abe94bbc69f652831a64ad77d0cb@digium.com> Content-Transfer-Encoding: 7bit Cc: Tejun Heo , linux-kernel From: Matthew Fredrickson Subject: Re: High CPU usage with sata_nv Date: Wed, 21 Feb 2007 09:28:17 -0600 To: Robert Hancock X-Mailer: Apple Mail (2.624) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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. Matthew Fredrickson