Subject: Re: Interrupt, interrupt threads, continuations, and kernel lwps
To: None <>
From: Allen Briggs <>
List: tech-kern
Date: 02/21/2007 21:14:35
[ trimmed cc ]

On Wed, Feb 21, 2007 at 05:57:41PM -0800, wrote:
> Is the above roughly right? If it is, then (to steal a comment I made
> to Sam Leffler early in FAST_IPSEC development): 300,000 context
> switches/sec are _not_ your friend.

Your modest 50,000 packets/sec would presumably be on hardware that
can do interrupt coalescing, right?  Even if your outline is correct,
I would hope that you're handling more than a single packet in each
interrupt / context switch, which should reduce the number of
context switches somewhat.


Allen Briggs  |  |