From owner-cvs-all@FreeBSD.ORG Wed May 2 09:21:16 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CFA3B16A400; Wed, 2 May 2007 09:21:16 +0000 (UTC) (envelope-from rik@inse.ru) Received: from mail.inse.ru (inse.ru [144.206.128.1]) by mx1.freebsd.org (Postfix) with ESMTP id 8A00413C4B0; Wed, 2 May 2007 09:21:16 +0000 (UTC) (envelope-from rik@inse.ru) Received: from [127.0.0.1] (www.inse.ru [144.206.128.1]) by mail.inse.ru (Postfix) with ESMTP id 77E1033C4C; Wed, 2 May 2007 13:21:15 +0400 (MSD) Message-ID: <463859B0.3020305@inse.ru> Date: Wed, 02 May 2007 13:28:16 +0400 From: Roman Kurakin User-Agent: Thunderbird 1.5.0.10 (X11/20070302) MIME-Version: 1.0 To: Darren Reed References: <200705020615.l426FDo7015874@repoman.freebsd.org> <20070502070707.GA68774@hub.freebsd.org> In-Reply-To: <20070502070707.GA68774@hub.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, Nate Lawson , src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_intr.c src/sys/sys interrupt.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 09:21:16 -0000 Darren Reed wrote: > On Wed, May 02, 2007 at 06:15:13AM +0000, Nate Lawson wrote: > >> njl 2007-05-02 06:15:13 UTC >> >> FreeBSD src repository >> >> Modified files: (Branch: RELENG_6) >> sys/kern kern_intr.c >> sys/sys interrupt.h >> Log: >> MFC: rate-check the interrupt storm message and bump the counter 500 -> 1000 >> > > Is this number, "500" or "1000" somehow "magical" for modern hardware? > > If I had a 500MHZ, 1GHz, 1.5GHz, 2GHz, 2.5GHz machines, each with the > appropriate architecture, what would the correct value for this be? > Is i always 1000 or should it be calculated? > It is hard to calculate. You need to take into account also the particular BUS that the set of devices is attached to, not only the speed of CPU that will serve this interrupt rate. rik > Darren >