[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160405124634.GB24035@dhcp22.suse.cz>
Date: Tue, 5 Apr 2016 14:46:34 +0200
From: Michal Hocko <mhocko@...nel.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Johannes Weiner <hannes@...xchg.org>,
Mel Gorman <mgorman@...e.de>,
David Rientjes <rientjes@...gle.com>,
Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>,
Joonsoo Kim <js1304@...il.com>,
Hillf Danton <hillf.zj@...baba-inc.com>, linux-mm@...ck.org,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 11/11] mm: consider compaction feedback also for costly
allocation
Attached you can find both the tool to fragment memory and the script it
calls in my testing.
I was executing this as follows (on 2G machine with 2G swap space):
echo 1 > /proc/sys/vm/overcommit_memory
echo 1 > /proc/sys/vm/compact_memory
/root/fragment-mem-and-run /root/alloc_hugepages.sh 1920M 250M
--
Michal Hocko
SUSE Labs
View attachment "fragment-mem-and-run.c" of type "text/x-csrc" (2648 bytes)
Download attachment "alloc_hugepages.sh" of type "application/x-sh" (537 bytes)
Powered by blists - more mailing lists