Re: [PATCH net-next V2 1/3] tap: use build_skb() for small packet
From: David Miller
Date: Wed Aug 16 2017 - 12:31:00 EST
From: Jason Wang <jasowang@xxxxxxxxxx>
Date: Wed, 16 Aug 2017 17:17:45 +0800
> It looks like full page allocation just produce too much stress on the
> page allocator.
>
> I get 1.58Mpps (full page) vs 1.95Mpps (page frag) with the patches
> attached.
Yes, this is why drivers doing XDP tend to drift towards implementing
a local cache of pages.