[Devel] Re: C/R and stdio redirection

2010-10-06 Thread Louis Rilling
On 05/10/10 22:50 -0700, Sukadev Bhattiprolu wrote: Greg Kurz [gk...@fr.ibm.com] wrote: | On Tue, 2010-09-07 at 13:03 -0700, Sukadev Bhattiprolu wrote: | Suppose we create a container and redirect its stdout/stderr as follows: | |lxc-execute -name foo -- /path/to/app /tmp/xyz.out 21

[Devel] Re: [PATCH 01/10] memcg: add page_cgroup flags for dirty page tracking

2010-10-06 Thread Balbir Singh
* Greg Thelen gthe...@google.com [2010-10-03 23:57:56]: Add additional flags to page_cgroup to track dirty pages within a mem_cgroup. Signed-off-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com Signed-off-by: Andrea Righi ari...@develer.com Signed-off-by: Greg Thelen gthe...@google.com

[Devel] Re: [PATCH 02/10] memcg: document cgroup dirty memory interfaces

2010-10-06 Thread Balbir Singh
* Greg Thelen gthe...@google.com [2010-10-03 23:57:57]: Document cgroup dirty memory interfaces and statistics. Signed-off-by: Andrea Righi ari...@develer.com Signed-off-by: Greg Thelen gthe...@google.com Acked-by: Balbir Singh bal...@linux.vnet.ibm.com -- Three Cheers,

[Devel] Re: [PATCH 08/10] memcg: add cgroupfs interface to memcg dirty limits

2010-10-06 Thread Balbir Singh
* Greg Thelen gthe...@google.com [2010-10-03 23:58:03]: Add cgroupfs interface to memcg dirty page limits: Direct write-out is controlled with: - memory.dirty_ratio - memory.dirty_bytes Background write-out is controlled with: - memory.dirty_background_ratio -

[Devel] Re: [PATCH 08/10] memcg: add cgroupfs interface to memcg dirty limits

2010-10-06 Thread Balbir Singh
* Balbir Singh bal...@linux.vnet.ibm.com [2010-10-06 19:00:24]: * Greg Thelen gthe...@google.com [2010-10-03 23:58:03]: Add cgroupfs interface to memcg dirty page limits: Direct write-out is controlled with: - memory.dirty_ratio - memory.dirty_bytes Background write-out is

[Devel] Re: C/R and stdio redirection

2010-10-06 Thread Greg Kurz
On 10/06/2010 11:58 AM, Louis Rilling wrote: On 05/10/10 22:50 -0700, Sukadev Bhattiprolu wrote: Greg Kurz [gk...@fr.ibm.com] wrote: | On Tue, 2010-09-07 at 13:03 -0700, Sukadev Bhattiprolu wrote: | Suppose we create a container and redirect its stdout/stderr as follows: | | lxc-execute

[Devel] [RFC] Restrict size of page_cgroup-flags

2010-10-06 Thread Balbir Singh
I propose restricting page_cgroup.flags to 16 bits. The patch for the same is below. Comments? Restrict the bits usage in page_cgroup.flags From: Balbir Singh bal...@linux.vnet.ibm.com Restricting the flags helps control growth of the flags unbound. Restriciting it to 16 bits gives us the

[Devel] Re: [PATCH 08/10] memcg: add cgroupfs interface to memcg dirty limits

2010-10-06 Thread Balbir Singh
* Greg Thelen gthe...@google.com [2010-10-06 09:21:55]: Looks good to me. I am currently gather performance data on the memcg series. It should be done in an hour or so. I'll then repost V2 of the memcg dirty limits series. I'll integrate this patch into the series, unless there's

[Devel] Re: [PATCH 08/10] memcg: add cgroupfs interface to memcg dirty limits

2010-10-06 Thread Greg Thelen
Andrea Righi ari...@develer.com writes: On Tue, Oct 05, 2010 at 12:33:15AM -0700, Greg Thelen wrote: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com writes: On Sun, 3 Oct 2010 23:58:03 -0700 Greg Thelen gthe...@google.com wrote: Add cgroupfs interface to memcg dirty page limits:

[Devel] Re: [PATCH 0/8] checkpoint/restart: sysvshm fixes and hugetlb support

2010-10-06 Thread Nathan Lynch
On Thu, 2010-09-16 at 20:37 -0400, Oren Laadan wrote: Hi Nathan, Thanks for the patch series. For starters, I'll pull patches 1-3 for ckpt-v22-dev. I'll wait for reviews for the others. Well, reviews haven't exactly been pouring in, but I'm reasonably confident in these patches -- anything

[Devel] Re: [PATCH 08/10] memcg: add cgroupfs interface to memcg dirty limits

2010-10-06 Thread Andrea Righi
On Wed, Oct 06, 2010 at 11:34:16AM -0700, Greg Thelen wrote: Andrea Righi ari...@develer.com writes: On Tue, Oct 05, 2010 at 12:33:15AM -0700, Greg Thelen wrote: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com writes: On Sun, 3 Oct 2010 23:58:03 -0700 Greg Thelen

[Devel] Re: [RFC] Restrict size of page_cgroup-flags

2010-10-06 Thread KAMEZAWA Hiroyuki
On Wed, 6 Oct 2010 19:53:14 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: I propose restricting page_cgroup.flags to 16 bits. The patch for the same is below. Comments? Restrict the bits usage in page_cgroup.flags From: Balbir Singh bal...@linux.vnet.ibm.com Restricting the

[Devel] Re: [PATCH 07/10] memcg: add dirty limits to mem_cgroup

2010-10-06 Thread KAMEZAWA Hiroyuki
On Tue, 05 Oct 2010 12:00:17 -0700 Greg Thelen gthe...@google.com wrote: Andrea Righi ari...@develer.com writes: On Sun, Oct 03, 2010 at 11:58:02PM -0700, Greg Thelen wrote: Extend mem_cgroup to contain dirty page limits. Also add routines allowing the kernel to query the dirty usage of

[Devel] Re: [PATCH 07/10] memcg: add dirty limits to mem_cgroup

2010-10-06 Thread Greg Thelen
KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com writes: On Tue, 05 Oct 2010 12:00:17 -0700 Greg Thelen gthe...@google.com wrote: Andrea Righi ari...@develer.com writes: On Sun, Oct 03, 2010 at 11:58:02PM -0700, Greg Thelen wrote: Extend mem_cgroup to contain dirty page limits. Also

[Devel] Re: [PATCH 04/10] memcg: disable local interrupts in lock_page_cgroup()

2010-10-06 Thread KAMEZAWA Hiroyuki
On Wed, 6 Oct 2010 09:15:34 +0900 Minchan Kim minchan@gmail.com wrote: First of all, we could add your patch as it is and I don't expect any regression report about interrupt latency. That's because many embedded guys doesn't use mmotm and have a tendency to not report regression of VM.

[Devel] Re: [PATCH 07/10] memcg: add dirty limits to mem_cgroup

2010-10-06 Thread KAMEZAWA Hiroyuki
On Wed, 06 Oct 2010 17:27:13 -0700 Greg Thelen gthe...@google.com wrote: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com writes: On Tue, 05 Oct 2010 12:00:17 -0700 Greg Thelen gthe...@google.com wrote: Andrea Righi ari...@develer.com writes: On Sun, Oct 03, 2010 at 11:58:02PM

[Devel] Re: [RFC] Restrict size of page_cgroup-flags

2010-10-06 Thread Daisuke Nishimura
On Wed, 6 Oct 2010 19:53:14 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: I propose restricting page_cgroup.flags to 16 bits. The patch for the same is below. Comments? Restrict the bits usage in page_cgroup.flags From: Balbir Singh bal...@linux.vnet.ibm.com Restricting the

[Devel] Re: [PATCH 04/10] memcg: disable local interrupts in lock_page_cgroup()

2010-10-06 Thread Daisuke Nishimura
On Thu, 7 Oct 2010 09:35:45 +0900 KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com wrote: On Wed, 6 Oct 2010 09:15:34 +0900 Minchan Kim minchan@gmail.com wrote: First of all, we could add your patch as it is and I don't expect any regression report about interrupt latency. That's

[Devel] Re: [PATCH 04/10] memcg: disable local interrupts in lock_page_cgroup()

2010-10-06 Thread KAMEZAWA Hiroyuki
On Thu, 7 Oct 2010 10:54:56 +0900 Daisuke Nishimura nishim...@mxp.nes.nec.co.jp wrote: On Thu, 7 Oct 2010 09:35:45 +0900 KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com wrote: On Wed, 6 Oct 2010 09:15:34 +0900 Minchan Kim minchan@gmail.com wrote: First of all, we could add your

[Devel] Re: [RFC] Restrict size of page_cgroup-flags

2010-10-06 Thread Balbir Singh
* KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com [2010-10-07 08:58:58]: On Wed, 6 Oct 2010 19:53:14 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: I propose restricting page_cgroup.flags to 16 bits. The patch for the same is below. Comments? Restrict the bits usage in

[Devel] Re: [RFC] Restrict size of page_cgroup-flags

2010-10-06 Thread Balbir Singh
* nishim...@mxp.nes.nec.co.jp nishim...@mxp.nes.nec.co.jp [2010-10-07 09:54:58]: On Wed, 6 Oct 2010 19:53:14 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: I propose restricting page_cgroup.flags to 16 bits. The patch for the same is below. Comments? Restrict the bits usage

[Devel] Re: [RFC] Restrict size of page_cgroup-flags

2010-10-06 Thread KAMEZAWA Hiroyuki
On Thu, 7 Oct 2010 08:42:04 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: * KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com [2010-10-07 08:58:58]: On Wed, 6 Oct 2010 19:53:14 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: I propose restricting page_cgroup.flags to 16

[Devel] Re: [RFC] Restrict size of page_cgroup-flags

2010-10-06 Thread Daisuke Nishimura
On Thu, 7 Oct 2010 08:44:59 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: * nishim...@mxp.nes.nec.co.jp nishim...@mxp.nes.nec.co.jp [2010-10-07 09:54:58]: On Wed, 6 Oct 2010 19:53:14 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: I propose restricting page_cgroup.flags

[Devel] Re: [RFC] Restrict size of page_cgroup-flags

2010-10-06 Thread Balbir Singh
* KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com [2010-10-07 12:18:16]: On Thu, 7 Oct 2010 08:42:04 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: * KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com [2010-10-07 08:58:58]: On Wed, 6 Oct 2010 19:53:14 +0530 Balbir Singh

[Devel] Re: [RFC] Restrict size of page_cgroup-flags

2010-10-06 Thread Balbir Singh
* nishim...@mxp.nes.nec.co.jp nishim...@mxp.nes.nec.co.jp [2010-10-07 12:47:06]: On Thu, 7 Oct 2010 08:44:59 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: * nishim...@mxp.nes.nec.co.jp nishim...@mxp.nes.nec.co.jp [2010-10-07 09:54:58]: On Wed, 6 Oct 2010 19:53:14 +0530

[Devel] Re: [RFC] Restrict size of page_cgroup-flags

2010-10-06 Thread KAMEZAWA Hiroyuki
On Thu, 7 Oct 2010 09:26:08 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: * KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com [2010-10-07 12:18:16]: On Thu, 7 Oct 2010 08:42:04 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: * KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com

[Devel] Re: [RFC] Restrict size of page_cgroup-flags

2010-10-06 Thread Balbir Singh
* KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com [2010-10-07 13:22:33]: On Thu, 7 Oct 2010 09:26:08 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: * KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com [2010-10-07 12:18:16]: On Thu, 7 Oct 2010 08:42:04 +0530 Balbir Singh

[Devel] Re: [RFC] Restrict size of page_cgroup-flags

2010-10-06 Thread KAMEZAWA Hiroyuki
On Thu, 7 Oct 2010 11:01:17 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: * KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com [2010-10-07 13:22:33]: On Thu, 7 Oct 2010 09:26:08 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: * KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com

[Devel] Re: [RFC] Restrict size of page_cgroup-flags

2010-10-06 Thread Daisuke Nishimura
On Thu, 7 Oct 2010 13:22:33 +0900 KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com wrote: On Thu, 7 Oct 2010 09:26:08 +0530 Balbir Singh bal...@linux.vnet.ibm.com wrote: * KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com [2010-10-07 12:18:16]: On Thu, 7 Oct 2010 08:42:04 +0530