Re: [RFC PATCH 0/3] Faster than SLAB caching of SKBs with qmempool (backed by alf_queue)

2014-12-11 Thread Jesper Dangaard Brouer
On Wed, 10 Dec 2014 13:51:32 -0600 (CST) Christoph Lameter wrote: > On Wed, 10 Dec 2014, Jesper Dangaard Brouer wrote: > > > One of the building blocks for achieving this speedup is a cmpxchg > > based Lock-Free queue that supports bulking, named alf_queue for > > Array-based Lock-Free queue.

Re: [RFC PATCH 0/3] Faster than SLAB caching of SKBs with qmempool (backed by alf_queue)

2014-12-11 Thread Jesper Dangaard Brouer
On Wed, 10 Dec 2014 13:51:32 -0600 (CST) Christoph Lameter c...@linux.com wrote: On Wed, 10 Dec 2014, Jesper Dangaard Brouer wrote: One of the building blocks for achieving this speedup is a cmpxchg based Lock-Free queue that supports bulking, named alf_queue for Array-based Lock-Free

Re: [RFC PATCH 0/3] Faster than SLAB caching of SKBs with qmempool (backed by alf_queue)

2014-12-10 Thread Christoph Lameter
On Wed, 10 Dec 2014, Jesper Dangaard Brouer wrote: > One of the building blocks for achieving this speedup is a cmpxchg > based Lock-Free queue that supports bulking, named alf_queue for > Array-based Lock-Free queue. By bulking elements (pointers) from the > queue, the cost of the cmpxchg

Re: [RFC PATCH 0/3] Faster than SLAB caching of SKBs with qmempool (backed by alf_queue)

2014-12-10 Thread Christoph Lameter
On Wed, 10 Dec 2014, Jesper Dangaard Brouer wrote: > That is very strange! I did notice that it was somehow delayed in > showing up on gmane.org > (http://thread.gmane.org/gmane.linux.network/342347/focus=126148) > and didn't show up on netdev either... It finally got through. -- To

Re: [RFC PATCH 0/3] Faster than SLAB caching of SKBs with qmempool (backed by alf_queue)

2014-12-10 Thread Jesper Dangaard Brouer
On Wed, 10 Dec 2014 09:17:32 -0600 (CST) Christoph Lameter wrote: > On Wed, 10 Dec 2014, Jesper Dangaard Brouer wrote: > > > Patch1: alf_queue (Lock-Free queue) > > For some reason that key patch is not in my linux-mm archives nor in my > inbox. That is very strange! I did notice that it was

Re: [RFC PATCH 0/3] Faster than SLAB caching of SKBs with qmempool (backed by alf_queue)

2014-12-10 Thread Christoph Lameter
On Wed, 10 Dec 2014, Jesper Dangaard Brouer wrote: > Patch1: alf_queue (Lock-Free queue) For some reason that key patch is not in my linux-mm archives nor in my inbox. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [RFC PATCH 0/3] Faster than SLAB caching of SKBs with qmempool (backed by alf_queue)

2014-12-10 Thread Jesper Dangaard Brouer
On Wed, 10 Dec 2014 14:22:22 + David Laight wrote: > From: Jesper Dangaard Brouer > > The network stack have some use-cases that puts some extreme demands > > on the memory allocator. One use-case, 10Gbit/s wirespeed at smallest > > packet size[1], requires handling a packet every 67.2 ns

RE: [RFC PATCH 0/3] Faster than SLAB caching of SKBs with qmempool (backed by alf_queue)

2014-12-10 Thread David Laight
From: Jesper Dangaard Brouer > The network stack have some use-cases that puts some extreme demands > on the memory allocator. One use-case, 10Gbit/s wirespeed at smallest > packet size[1], requires handling a packet every 67.2 ns (nanosec). > > Micro benchmarking[2] the SLUB allocator (with skb

[RFC PATCH 0/3] Faster than SLAB caching of SKBs with qmempool (backed by alf_queue)

2014-12-10 Thread Jesper Dangaard Brouer
The network stack have some use-cases that puts some extreme demands on the memory allocator. One use-case, 10Gbit/s wirespeed at smallest packet size[1], requires handling a packet every 67.2 ns (nanosec). Micro benchmarking[2] the SLUB allocator (with skb size 256bytes elements), show

[RFC PATCH 0/3] Faster than SLAB caching of SKBs with qmempool (backed by alf_queue)

2014-12-10 Thread Jesper Dangaard Brouer
The network stack have some use-cases that puts some extreme demands on the memory allocator. One use-case, 10Gbit/s wirespeed at smallest packet size[1], requires handling a packet every 67.2 ns (nanosec). Micro benchmarking[2] the SLUB allocator (with skb size 256bytes elements), show

RE: [RFC PATCH 0/3] Faster than SLAB caching of SKBs with qmempool (backed by alf_queue)

2014-12-10 Thread David Laight
From: Jesper Dangaard Brouer The network stack have some use-cases that puts some extreme demands on the memory allocator. One use-case, 10Gbit/s wirespeed at smallest packet size[1], requires handling a packet every 67.2 ns (nanosec). Micro benchmarking[2] the SLUB allocator (with skb size

Re: [RFC PATCH 0/3] Faster than SLAB caching of SKBs with qmempool (backed by alf_queue)

2014-12-10 Thread Jesper Dangaard Brouer
On Wed, 10 Dec 2014 14:22:22 + David Laight david.lai...@aculab.com wrote: From: Jesper Dangaard Brouer The network stack have some use-cases that puts some extreme demands on the memory allocator. One use-case, 10Gbit/s wirespeed at smallest packet size[1], requires handling a packet

Re: [RFC PATCH 0/3] Faster than SLAB caching of SKBs with qmempool (backed by alf_queue)

2014-12-10 Thread Christoph Lameter
On Wed, 10 Dec 2014, Jesper Dangaard Brouer wrote: Patch1: alf_queue (Lock-Free queue) For some reason that key patch is not in my linux-mm archives nor in my inbox. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: [RFC PATCH 0/3] Faster than SLAB caching of SKBs with qmempool (backed by alf_queue)

2014-12-10 Thread Jesper Dangaard Brouer
On Wed, 10 Dec 2014 09:17:32 -0600 (CST) Christoph Lameter c...@linux.com wrote: On Wed, 10 Dec 2014, Jesper Dangaard Brouer wrote: Patch1: alf_queue (Lock-Free queue) For some reason that key patch is not in my linux-mm archives nor in my inbox. That is very strange! I did notice that

Re: [RFC PATCH 0/3] Faster than SLAB caching of SKBs with qmempool (backed by alf_queue)

2014-12-10 Thread Christoph Lameter
On Wed, 10 Dec 2014, Jesper Dangaard Brouer wrote: That is very strange! I did notice that it was somehow delayed in showing up on gmane.org (http://thread.gmane.org/gmane.linux.network/342347/focus=126148) and didn't show up on netdev either... It finally got through. -- To unsubscribe

Re: [RFC PATCH 0/3] Faster than SLAB caching of SKBs with qmempool (backed by alf_queue)

2014-12-10 Thread Christoph Lameter
On Wed, 10 Dec 2014, Jesper Dangaard Brouer wrote: One of the building blocks for achieving this speedup is a cmpxchg based Lock-Free queue that supports bulking, named alf_queue for Array-based Lock-Free queue. By bulking elements (pointers) from the queue, the cost of the cmpxchg (approx 8