Re: [PATCH resend] net: sock: Add option for memory optimized hints.

2016-06-17 Thread peter enderborg
On 06/17/2016 04:14 PM, Eric Dumazet wrote: On Fri, 2016-06-17 at 15:58 +0200, peter enderborg wrote: From: Peter Enderborg When sending data the socket allocates memory for payload on a cache or a page alloc. The page alloc then might trigger compation that takes long time. This can be

[PATCH resend] net: sock: Add option for memory optimized hints.

2016-06-17 Thread peter enderborg
From: Peter Enderborg When sending data the socket allocates memory for payload on a cache or a page alloc. The page alloc then might trigger compation that takes long time. This can be avoided with smaller chunks. But userspace can not know what is the right size for the smaller sends. For

[PATCH] net: sock: Add option for memory optimized hints.

2016-05-20 Thread peter enderborg
From: Peter Enderborg When sending data the socket allocates memory for payload on a cache or a page alloc. The page alloc then might trigger compation that takes long time. This can be avoided with smaller chunks. But userspace can not know what is the right size for the smaller sends. For