[Devel] Re: [PATCH 1/9] io-throttle documentation

2009-04-27 Thread Ryo Tsuruta
Hi Andrea, From: Andrea Righi righi.and...@gmail.com Subject: Re: [PATCH 1/9] io-throttle documentation Date: Mon, 20 Apr 2009 17:00:53 +0200 On Mon, Apr 20, 2009 at 06:38:15PM +0900, Ryo Tsuruta wrote: Hi Andrea, Implementing bio-cgroup functionality as pure infrastructure framework

[Devel] Re: [PATCH] range-bw: Another I/O scheduling policy of dm-ioband supporting the predicable I/O bandwidth (range bandwidth)

2009-04-27 Thread Ryo Tsuruta
Hi Dong-Jae, I wonder your test configuration and environment. Your result is some strange for me, because I didn't use the testing tool, fio. I have used xdd, bonnie++ and tiobench during the test. So, I will try to evaluate range-bw using fio, to do that, I need to know your

[Devel] Re: [PATCH 1/9] io-throttle documentation

2009-04-27 Thread Ryo Tsuruta
Hi Kamezawa-san, I've come up with an idea to coexist blkio-cgroup and io-throttle. blkio-cgroup provides a function to get a cgroup with the specified ID. /* Should be called under rcu_read_lock() */ struct cgroup *blkio_cgroup_lookup(int id) { struct cgroup *cgrp; struct

[Devel] Re: [PATCH 1/1] cr: define CHECKPOINT_SUBTREE flag and sysctl

2009-04-27 Thread Nathan Lynch
Serge E. Hallyn se...@hallyn.com writes: Quoting Nathan Lynch (n...@pobox.com): Serge E. Hallyn se...@us.ibm.com writes: + cnt = ref-users + 1; + switch (ref-type) { + case CR_OBJ_UTSNS: + utsns = ref-ptr; + cnt2 = (unsigned long) atomic_read(utsns-kref.refcount);

[Devel] Re: [PATCH 1/1] cr: define CHECKPOINT_SUBTREE flag and sysctl

2009-04-27 Thread Serge E. Hallyn
Quoting Nathan Lynch (n...@pobox.com): Serge E. Hallyn se...@hallyn.com writes: Quoting Nathan Lynch (n...@pobox.com): Serge E. Hallyn se...@us.ibm.com writes: +cnt = ref-users + 1; +switch (ref-type) { +case CR_OBJ_UTSNS: +utsns = ref-ptr;

[Devel] Re: [PATCH 1/1] cr: define CHECKPOINT_SUBTREE flag and sysctl

2009-04-27 Thread Nathan Lynch
Serge E. Hallyn se...@us.ibm.com writes: Quoting Nathan Lynch (n...@pobox.com): Serge E. Hallyn se...@hallyn.com writes: Now it's possible that at the *start* of the checkpoint there was another task, not being checkpointed and not frozen, in the utsns, and it exited before the leaks check

[Devel] Re: [PATCH 1/1] cr: define CHECKPOINT_SUBTREE flag and sysctl

2009-04-27 Thread Alexey Dobriyan
On Mon, Apr 27, 2009 at 01:07:17PM -0500, Serge E. Hallyn wrote: Heh, because there is no such thing as a 'container'. Oh, yes, there is. Set of tasks shares set of uts_ns, ipc_ns, mnt_ns, pid_ns and net_ns. No other task shares this set. Pid_ns set has tree hierarchy. All user_ns which come

[Devel] Re: [PATCH 1/1] cr: define CHECKPOINT_SUBTREE flag and sysctl

2009-04-27 Thread Oren Laadan
Serge E. Hallyn wrote: Hey Alexey and Oren, here is my proposal for a patch on top of Oren's tree to do the leak checking by default (basically the same way it was done in Alexey's patchset). It also by default explicitly requires CAP_SYS_ADMIN for both checkpoint and restart. I think

[Devel] Re: [PATCH 1/1] cr: define CHECKPOINT_SUBTREE flag and sysctl

2009-04-27 Thread Serge E. Hallyn
Quoting Oren Laadan (or...@cs.columbia.edu): Serge E. Hallyn wrote: Quoting Nathan Lynch (n...@pobox.com): Serge E. Hallyn se...@hallyn.com writes: Quoting Nathan Lynch (n...@pobox.com): Serge E. Hallyn se...@us.ibm.com writes: + cnt = ref-users + 1; + switch

[Devel] Re: container-to-host virtual or loopback kind of interface support

2009-04-27 Thread Elwin Stelzer Eliazer
Thanks Eric for your detailed response. On the PPP interfaces under namespace, how do i configure them under lxc config? Are there other types like veth and macvlan for PPP? And i believe the container app that opens the /dev/tun gets ownership of the file handle, and several container apps can

[Devel] Re: container-to-host virtual or loopback kind of interface support

2009-04-27 Thread Eric W. Biederman
Elwin Stelzer Eliazer stelz...@gmail.com writes: Thanks Eric for your detailed response. On the PPP interfaces under namespace, how do i configure them under lxc config? Are there other types like veth and macvlan for PPP? veth and macvlan are created with ip link add type veth ip