From: Daisuke Nishimura Subject: Re: [RFC][PATCH] another swap controller for cgroup Date: Fri, 28 Mar 2008 18:00:33 +0900 Message-ID: <47ECB3B1.6040500@mxp.nes.nec.co.jp> References: <47E8F1A0.5080209@mxp.nes.nec.co.jp> <20080327062834.DAB7E5A02@siro.lan> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040600020003040108010003" Return-path: In-Reply-To: <20080327062834.DAB7E5A02-Pcsii4f/SVk@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: YAMAMOTO Takashi Cc: minoura-jCdQPDEk3idL9jVzuh4AOg@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org, hugh-DTz5qymZ9yRBDgjK7y7TUQ@public.gmane.org, balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org List-Id: containers.vger.kernel.org This is a multi-part message in MIME format. --------------040600020003040108010003 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit YAMAMOTO Takashi wrote: > hi, > > i tried to reproduce the large swap cache issue, but no luck. > can you provide a little more detailed instruction? > This issue also happens on generic 2.6.25-rc3-mm1 (with limitting only memory), so I think this issue is not related to your patch. I'm investigating this issue too. Below is my environment and how to reproduce. - System full virtualized xen guest based on RHEL5.1(x86_64). CPU: 2 memory: 2GB swap: 1GB A config of the running kernel(2.6.25-rc3-mm1 with your patch) is attached. - how to reproduce - change swappines to 100 echo 100 >/proc/sys/vm/swappiness - mount cgroup fs # mount -t cgroup -o memory,swap none /cgroup - make cgroup for test # mkdir /cgroup/02 # echo -n 64M >/cgroup/02/memory.limit_in_bytes # echo -n `expr 128 \* 1024 \* 1024` >/cgroup/02/swap.limit_in_bytes - run test # echo $$ >/cgropu/02/tasks # while true; do make clean; make -j2; done In other terminals, I run some monitoring processes, top, "tail -f /var/log/messages", and displaying *.usage_in_bytes every seconds. Thanks, Daisuke Nishimura. --------------040600020003040108010003 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Containers mailing list Containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org https://lists.linux-foundation.org/mailman/listinfo/containers --------------040600020003040108010003--