Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1713107

Re: [PATCH net-next V2 1/3] tap: use build_skb() for small packet

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH net-next V2 1/3] tap: use build_skb() for small packet
Date 2017-08-16 18:40 +0200
Message-ID <uf9wl-VL-5@gated-at.bofh.it> (permalink)
References <ueXER-1Uj-9@gated-at.bofh.it> <ueXOx-2cs-7@gated-at.bofh.it> <uf2Ez-5e4-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Jason Wang <jasowang@redhat.com>
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.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH net-next V2 1/3] tap: use build_skb() for small packet Eric Dumazet <eric.dumazet@gmail.com> - 2017-08-16 05:50 +0200
  Re: [PATCH net-next V2 1/3] tap: use build_skb() for small packet Jason Wang <jasowang@redhat.com> - 2017-08-16 06:00 +0200
    Re: [PATCH net-next V2 1/3] tap: use build_skb() for small packet "Michael S. Tsirkin" <mst@redhat.com> - 2017-08-16 06:00 +0200
      Re: [PATCH net-next V2 1/3] tap: use build_skb() for small packet Jason Wang <jasowang@redhat.com> - 2017-08-16 06:10 +0200
        Re: [PATCH net-next V2 1/3] tap: use build_skb() for small packet Jason Wang <jasowang@redhat.com> - 2017-08-16 11:20 +0200
          Re: [PATCH net-next V2 1/3] tap: use build_skb() for small packet David Miller <davem@davemloft.net> - 2017-08-16 18:40 +0200
  Re: [PATCH net-next V2 1/3] tap: use build_skb() for small packet Jason Wang <jasowang@redhat.com> - 2017-08-16 06:00 +0200
    Re: [PATCH net-next V2 1/3] tap: use build_skb() for small packet Eric Dumazet <eric.dumazet@gmail.com> - 2017-08-16 12:30 +0200
      Re: [PATCH net-next V2 1/3] tap: use build_skb() for small packet Jason Wang <jasowang@redhat.com> - 2017-08-16 15:20 +0200
  Re: [PATCH net-next V2 1/3] tap: use build_skb() for small packet "Michael S. Tsirkin" <mst@redhat.com> - 2017-08-16 06:00 +0200

csiph-web