Johannes Weiner
ce00a96737
mm: memcontrol: revert use of root_mem_cgroup res_counter
...
Dave Hansen reports a massive scalability regression in an uncontained
page fault benchmark with more than 30 concurrent threads, which he
bisected down to 05b843012335 ("mm: memcontrol: use root_mem_cgroup
res_counter") and pin-pointed on res_counter spinlock contention.
That change relied on the per-cpu charge caches to mostly swallow the
res_counter costs, but it's apparent that the caches don't scale yet.
Revert memcg back to bypassing res_counters on the root level in order
to restore performance for uncontained workloads.
Reported-by: Dave Hansen <dave@sr71.net>
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Tested-by: Dave Hansen <dave.hansen@intel.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Acked-by: Vladimir Davydov <vdavydov@parallels.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-09-05 08:19:02 -07:00
..
2014-04-18 14:20:48 +02:00
2014-01-23 16:36:50 -08:00
2013-11-13 12:09:09 +09:00
2014-01-23 16:36:50 -08:00
2014-08-06 18:01:16 -07:00
2014-06-04 16:54:11 -07:00
2011-12-06 09:24:07 +01:00
2014-06-04 16:54:08 -07:00
2014-04-07 16:36:15 -07:00
2013-03-03 22:46:22 -05:00
2012-01-03 22:54:56 -05:00
2013-11-06 12:40:26 +01:00
2014-08-11 11:44:11 -07:00
2014-06-06 16:08:17 -07:00
2014-06-04 16:54:07 -07:00
2014-08-06 18:01:20 -07:00
2014-08-06 18:01:22 -07:00
2014-08-08 15:57:17 -07:00
2014-08-29 16:28:16 -07:00
2014-08-06 18:01:21 -07:00
2014-08-06 18:01:19 -07:00
2011-07-26 16:49:47 -07:00
2014-08-06 18:01:16 -07:00
2012-10-09 16:22:42 +09:00
2014-08-07 14:40:11 -04:00
2014-08-06 18:01:23 -07:00
2012-01-10 16:30:42 -08:00
2010-03-30 22:02:32 +09:00
2014-06-06 16:08:18 -07:00
2014-06-06 16:08:17 -07:00
2014-07-16 15:10:39 +02:00
2014-04-03 16:21:01 -07:00
2011-10-31 09:20:12 -04:00
2014-08-06 18:01:18 -07:00
2014-08-06 18:01:23 -07:00
2014-08-29 16:28:15 -07:00
2014-09-05 08:19:02 -07:00
2014-08-06 18:01:21 -07:00
2014-08-06 18:01:19 -07:00
2014-08-29 16:28:16 -07:00
2014-07-10 11:38:23 -07:00
2014-06-06 16:08:17 -07:00
2014-08-08 15:57:17 -07:00
2014-04-03 16:21:00 -07:00
2014-08-06 18:01:20 -07:00
2014-01-27 21:02:39 -08:00
2014-08-08 15:57:31 -07:00
2014-02-21 08:50:17 +01:00
2014-08-06 18:01:22 -07:00
2013-10-09 14:47:45 +02:00
2014-04-07 16:35:50 -07:00
2014-05-11 17:55:48 +09:00
2014-07-03 09:21:53 -07:00
2014-06-06 16:08:17 -07:00
2014-08-08 15:57:27 -07:00
2014-08-06 18:01:21 -07:00
2014-08-06 18:01:21 -07:00
2014-04-03 16:21:02 -07:00
2014-06-14 19:30:48 -05:00
2013-09-11 15:57:48 -07:00
2014-08-06 18:01:21 -07:00
2013-10-30 14:27:03 -07:00
2010-10-02 10:28:42 +03:00
2012-06-20 14:39:36 -07:00
2014-06-19 11:00:27 -04:00
2014-08-29 16:28:15 -07:00
2014-05-06 17:32:49 -04:00
2011-10-31 09:20:11 -04:00
2014-08-06 18:01:15 -07:00
2014-08-08 15:57:17 -07:00
2014-08-11 11:44:11 -07:00
2014-08-06 18:01:15 -07:00
2014-08-08 15:57:17 -07:00
2014-08-06 18:01:15 -07:00
2014-06-04 16:53:59 -07:00
2014-08-06 18:01:21 -07:00
2014-01-21 16:19:47 -08:00
2014-04-07 16:35:54 -07:00
2014-08-08 15:57:31 -07:00
2014-08-08 15:57:18 -07:00
2014-08-08 15:57:17 -07:00
2014-08-08 15:57:17 -07:00
2014-08-08 15:57:17 -07:00
2014-06-04 16:53:57 -07:00
2014-08-06 18:01:19 -07:00
2014-02-03 13:24:01 -05:00
2014-08-08 15:57:18 -07:00
2014-08-06 18:01:20 -07:00
2014-04-03 16:21:01 -07:00
2014-08-29 16:28:16 -07:00
2014-08-29 16:28:16 -07:00
2014-08-29 16:28:16 -07:00
2014-08-08 15:57:18 -07:00