Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 May 2007 10:56:34 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Darren Reed <darrenr@hub.freebsd.org>
Cc:        cvs-src@freebsd.org, Nate Lawson <njl@freebsd.org>, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/kern kern_intr.c src/sys/sys interrupt.h
Message-ID:  <200705021056.34887.jhb@freebsd.org>
In-Reply-To: <20070502070707.GA68774@hub.freebsd.org>
References:  <200705020615.l426FDo7015874@repoman.freebsd.org> <20070502070707.GA68774@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 02 May 2007 03:07:07 am 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's a SWAG and tunable for machines where it doesn't work.  In practice the 
old setting seemed to be a bit too trigger-happy as I know my printer always 
triggered it, for example.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705021056.34887.jhb>