[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161031.210012.157436292631351243.davem@redhat.com>
Date: Mon, 31 Oct 2016 21:00:12 -0400 (EDT)
From: David Miller <davem@...hat.com>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, ncardwell@...gle.com, ycheng@...gle.com
Subject: Re: [PATCH v2 net-next] net: set SK_MEM_QUANTUM to 4096
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 31 Oct 2016 13:32:55 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> Systems with large pages (64KB pages for example) do not always have
> huge quantity of memory.
>
> A big SK_MEM_QUANTUM value leads to fewer interactions with the
> global counters (like tcp_memory_allocated) but might trigger
> memory pressure much faster, giving suboptimal TCP performance
> since windows are lowered to ridiculous values.
>
> Note that sysctl_mem units being in pages and in ABI, we also need
> to change sk_prot_mem_limits() accordingly.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied, thanks Eric.
Powered by blists - more mailing lists