On Fri, 2016-06-17 at 15:58 +0200, peter enderborg wrote:
From: Peter Enderborg <redacted>
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 this we add a SIZEHINT
getsocketopt where the userspace can get the size
for send that will fit into one page (order 0) or
the max for a slab cache allocation.
For which kind of sockets exactly you hit a problem ?
Sorry, this patch is probably not helping in any way.