Re: Preallocated skb's?

From: Andi Kleen (ak@suse.de)
Date: Thu Sep 14 2000 - 08:54:27 EST


On Thu, Sep 14, 2000 at 11:59:32PM +1100, Andrew Morton wrote:
> That's 20 usec per interrupt, of which 1 usec could be saved by skb
> pooling.

FF usually runs with interrupt mitigation at higher rates (8-16 or even
more packets / interrupt). I agree though that it probably does not
make too much difference. alloc_skb could probably be made cheaper
for the FF case by being more clever in the slab constructor (I think
there was some bitrot during 2.3 on the cache line usage -- 2.2 pretty
much only needed 2 cache lines in the header for a FF packet)

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:23 EST