Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756919AbZAYOY7 (ORCPT ); Sun, 25 Jan 2009 09:24:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753993AbZAYOYt (ORCPT ); Sun, 25 Jan 2009 09:24:49 -0500 Received: from out3.smtp.messagingengine.com ([66.111.4.27]:44382 "EHLO out3.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753928AbZAYOYs (ORCPT ); Sun, 25 Jan 2009 09:24:48 -0500 X-Greylist: delayed 1020 seconds by postgrey-1.27 at vger.kernel.org; Sun, 25 Jan 2009 09:24:48 EST X-Sasl-enc: UoxG0hBmgLElBGGAMiE8IG1iGZ3DJzpzFtAbJnbgc4Xh 1232892467 Date: Sun, 25 Jan 2009 12:07:45 -0200 From: Henrique de Moraes Holschuh To: Thomas Gleixner Cc: Jon Masters , Lee Revell , linux-rt-users@vger.kernel.org, LKML , williams , "Luis Claudio R. Goncalves" Subject: Re: [RT] [RFC] simple SMI detector Message-ID: <20090125140745.GC12776@khazad-dum.debian.net> References: <1232751312.3990.59.camel@perihelion.bos.jonmasters.org> <75b66ecd0901231833j2fda4554sb0f47457ab838566@mail.gmail.com> <1232845026.3990.71.camel@perihelion.bos.jonmasters.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1024D/1CDB0FE3 5422 5C61 F6B7 06FB 7E04 3738 EE25 DE3F 1CDB 0FE3 User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1874 Lines: 38 On Sun, 25 Jan 2009, Thomas Gleixner wrote: > On Sat, 24 Jan 2009, Jon Masters wrote: > > > The only reasonable thing you can do on a SMI plagued system is to > > > identify the device which makes use of SMIs. Legacy ISA devices and > > > USB are usually good candidates. If that does not help, don't use it > > > for real-time :) > > > > Indeed. This is why I wrote an smi_detector that sits in kernel space > > and can be reasonably sure measured discrepancies are attributable to > > SMI behavior. We want to log and detect such things before RT systems > > are deployed, not have users actively trying to work around SMI overhead > > after the fact. > > Agreed. A tool to detect SMI disturbance is a good thing. It just > needs to be documented that users should take the results and talk to > their board vendor. I know that off the shelf hardware will not be > fixed, but industrial grade hardware vendors usually have an interest > to get such problems resolved. "gamer enthusiast" hardware might also get fixed. You just need two or three posts to the "enthusiasts" forums about how SMI steals CPU cycles and slow down their framerates, and suddenly, benchmarks will start going on and on about how MoBo x has a high number of SMIs per minute, where MoBo y doesn't... The people who want low-latency desktops for audio work will also pay attention to such benchmarks and will vote with their wallet. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/