From: Jesper Dangaard Brouer
Date: Thu, 11 Feb 2021 13:54:59 +0100
> On Wed, 10 Feb 2021 16:30:23 +
> Alexander Lobakin wrote:
>
> > Instead of just bulk-flushing skbuff_heads queued up through
> > napi_consume_skb() or __kfree_skb_defer(), try to reuse them
> > on allocation path.
>
>
On Wed, 10 Feb 2021 16:30:23 +
Alexander Lobakin wrote:
> Instead of just bulk-flushing skbuff_heads queued up through
> napi_consume_skb() or __kfree_skb_defer(), try to reuse them
> on allocation path.
Maybe you are already aware of this dynamics, but high speed NICs will
usually run the
Instead of just bulk-flushing skbuff_heads queued up through
napi_consume_skb() or __kfree_skb_defer(), try to reuse them
on allocation path.
If the cache is empty on allocation, bulk-allocate the first
16 elements, which is more efficient than per-skb allocation.
If the cache is full on freeing,
3 matches
Mail list logo