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


Groups > linux.kernel > #1538017

Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7

From Eric Dumazet <eric.dumazet@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7
Date 2016-12-07 20:10 +0100
Message-ID <sLPLj-46c-41@gated-at.bofh.it> (permalink)
References <sLHup-7do-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 2016-12-07 at 10:12 +0000, Mel Gorman wrote:

> This is the result from netperf running UDP_STREAM on localhost. It was
> selected on the basis that it is slab-intensive and has been the subject
> of previous SLAB vs SLUB comparisons with the caveat that this is not
> testing between two physical hosts.
> 

Interesting results.

netperf UDP_STREAM is not really slab intensive : (for large sendsizes
like 16KB)

Bulk of the storage should be allocated from alloc_skb_with_frags(),
ie using pages.

And I am not sure we enabled high order pages in this path ?

ip_make_skb()
 __ip_append_data()
  sock_alloc_send_skb()
   sock_alloc_send_pskb (...,  max_page_order=0)
    alloc_skb_with_frags ( max_page_order=0)
 
So far, I believe net/unix/af_unix.c uses PAGE_ALLOC_COSTLY_ORDER as
max_order, but UDP does not do that yet.

We probably could enable high-order pages there, if we believe this is
okay.

Or maybe I missed and this already happened ? ;)

Thanks.

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


Thread

[PATCH] mm: page_alloc: High-order per-cpu page allocator v7 Mel Gorman <mgorman@techsingularity.net> - 2016-12-07 11:20 +0100
  Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7 Christoph Lameter <cl@linux.com> - 2016-12-07 16:00 +0100
    Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7 Mel Gorman <mgorman@techsingularity.net> - 2016-12-07 17:00 +0100
      Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7 Christoph Lameter <cl@linux.com> - 2016-12-07 17:50 +0100
        Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7 Mel Gorman <mgorman@techsingularity.net> - 2016-12-07 17:50 +0100
          Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7 Christoph Lameter <cl@linux.com> - 2016-12-07 18:20 +0100
            Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7 Mel Gorman <mgorman@techsingularity.net> - 2016-12-07 18:40 +0100
  Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7 Eric Dumazet <eric.dumazet@gmail.com> - 2016-12-07 20:10 +0100
    Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7 Eric Dumazet <eric.dumazet@gmail.com> - 2016-12-07 20:20 +0100
    Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7 Mel Gorman <mgorman@techsingularity.net> - 2016-12-07 20:50 +0100
      Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7 Eric Dumazet <eric.dumazet@gmail.com> - 2016-12-07 21:20 +0100
        Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7 Mel Gorman <mgorman@techsingularity.net> - 2016-12-07 22:30 +0100
          Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7 Mel Gorman <mgorman@techsingularity.net> - 2016-12-08 00:30 +0100
            Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7 Jesper Dangaard Brouer <brouer@redhat.com> - 2016-12-08 09:30 +0100
              Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7 Mel Gorman <mgorman@techsingularity.net> - 2016-12-08 10:20 +0100
                Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7 Jesper Dangaard Brouer <brouer@redhat.com> - 2016-12-08 11:50 +0100
                Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7 Mel Gorman <mgorman@techsingularity.net> - 2016-12-08 12:10 +0100
                Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7 Jesper Dangaard Brouer <brouer@redhat.com> - 2016-12-08 15:50 +0100
                Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7 Mel Gorman <mgorman@techsingularity.net> - 2016-12-08 16:20 +0100
                Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7 Jesper Dangaard Brouer <brouer@redhat.com> - 2016-12-08 18:30 +0100
                Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7 Mel Gorman <mgorman@techsingularity.net> - 2016-12-08 18:40 +0100
                Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7 Eric Dumazet <eric.dumazet@gmail.com> - 2016-12-08 17:10 +0100

csiph-web