Re: [PATCH 13/14] mm: memcontrol: account socket memory in unified hierarchy memory controller

From
Johannes Weiner <hidden>
Date
2015-11-19 16:52:39
Also in
cgroups, linux-mm, lkml
Reply to
Michal Hocko, 2015-11-19
On Thu, Nov 19, 2015 at 02:50:24PM +0100, Michal Hocko wrote:
On Wed 18-11-15 16:48:22, Johannes Weiner wrote:
[...]
quoted
So I ran perf record -g -a netperf -t TCP_STREAM multiple times inside
a memory-controlled cgroup, but mostly mem_cgroup_charge_skmem() does
not show up in the profile at all. Once it was there with 0.00%.
OK, this sounds very good! This means that most workloads which are not
focusing solely on the network traffic shouldn't even notice. I can
imagine that workloads with high throughput demands would notice but I
would also expect them to disable the feature.
Even for high throughput, the cost of this is a function of number of
packets sent. E.g. the 13MB/s over wifi showed the socket charging at
0.02%. But I just did an http transfer over 1Gbit ethernet at around
110MB/s, ten times the bandwidth, and the charge function is at 0.00%.
Could you add this information to the changelog, please?
Sure, but which information exactly?

If we had found a realistic networking workload that is expected to be
containerized and had shown that load to be negatively affected by the
charging calls, that would have been worth bringing up in conjunction
with the boot-time flag. But what do we have to say here? People care
about cost. It seems unnecessary to point out the absence of it.
Thread (61 messages) 61 messages, 5 authors, last reply 2015-11-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help