[Lxc-users] networking query

2010-07-28 Thread Andy Billington
Firstly, am just starting to look at LXC as a possible migration from OpenSolaris, so excuse me if question is obvious. Reading what I have found so far, it seems clear that with a bridged interface on the global side, the Containers can all have separate network info (different IPs, subnets) an

Re: [Lxc-users] lxc-attach & setns patch for kernel 2.6.34

2010-07-28 Thread Sebastien Pahl
Here are the patchsets for 2.6.34.1 and 2.6.35-rc6. Quilt actually made my life easier:-) On Wed, Jul 28, 2010 at 02:50, Cedric Le Goater wrote: > On 07/28/2010 11:32 AM, Daniel Lezcano wrote: >>> >>> We could update his patchset to v2.6.35-rc6 and resend on containers@ >>> to start a thread on

Re: [Lxc-users] lxc-attach & setns patch for kernel 2.6.34

2010-07-28 Thread Cedric Le Goater
On 07/28/2010 11:32 AM, Daniel Lezcano wrote: >> We could update his patchset to v2.6.35-rc6 and resend on containers@ >> to start a thread on the topic. nop ? >> > > Are you willing to do it ? I think it is worth to have this feature in > the kernel, so we can implement the lxc-shutdown/lxc-reboot

Re: [Lxc-users] Kernel Scheduler

2010-07-28 Thread Daniel Lezcano
On 07/28/2010 11:35 AM, Sebastien Pahl wrote: > Is there a kernel scheduler that works better than the others for lxc > (CFS, anticipatory or deadline)? > > Does it matter? I have to admit I don't know :) I think I always used the CFS. -

[Lxc-users] Kernel Scheduler

2010-07-28 Thread Sebastien Pahl
Is there a kernel scheduler that works better than the others for lxc (CFS, anticipatory or deadline)? Does it matter? -- Sebastien Pahl @sebp -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Devel

Re: [Lxc-users] lxc-attach & setns patch for kernel 2.6.34

2010-07-28 Thread Daniel Lezcano
On 07/28/2010 11:15 AM, Cedric Le Goater wrote: > On 07/28/2010 11:09 AM, Daniel Lezcano wrote: >> On 07/28/2010 11:00 AM, Cedric Le Goater wrote: >>> On 07/28/2010 10:41 AM, Sebastien Pahl wrote: >> >> [ ... ] >> Am I correct in my assumptions? >>> >>> yes. here's our patch for 2.6.34 >>

Re: [Lxc-users] lxc-attach & setns patch for kernel 2.6.34

2010-07-28 Thread Daniel Lezcano
On 07/28/2010 11:15 AM, Sebastien Pahl wrote: > On Wed, Jul 28, 2010 at 02:14, Daniel Lezcano wrote: >> >> No, except more network namespace support (I don't remember what are the >> subsystems), and more robustness. There is also the slow unmount regression >> spotted on the 2.6.32 kernel which i

Re: [Lxc-users] lxc-attach & setns patch for kernel 2.6.34

2010-07-28 Thread Daniel Lezcano
On 07/28/2010 11:15 AM, Cedric Le Goater wrote: > On 07/28/2010 11:09 AM, Daniel Lezcano wrote: >> On 07/28/2010 11:00 AM, Cedric Le Goater wrote: >>> On 07/28/2010 10:41 AM, Sebastien Pahl wrote: >> >> [ ... ] >> Am I correct in my assumptions? >>> >>> yes. here's our patch for 2.6.34 >>

Re: [Lxc-users] lxc-attach & setns patch for kernel 2.6.34

2010-07-28 Thread Sebastien Pahl
On Wed, Jul 28, 2010 at 02:14, Daniel Lezcano wrote: > > No, except more network namespace support (I don't remember what are the > subsystems), and more robustness. There is also the slow unmount regression > spotted on the 2.6.32 kernel which is fixed for 2.6.34, so the system > container starts

Re: [Lxc-users] lxc-attach & setns patch for kernel 2.6.34

2010-07-28 Thread Cedric Le Goater
On 07/28/2010 11:09 AM, Daniel Lezcano wrote: > On 07/28/2010 11:00 AM, Cedric Le Goater wrote: >> On 07/28/2010 10:41 AM, Sebastien Pahl wrote: > > [ ... ] > >>> Am I correct in my assumptions? >>> >> >> yes. here's our patch for 2.6.34 >> >> we should be pushing this patchset to mainline kernel.

Re: [Lxc-users] lxc-attach & setns patch for kernel 2.6.34

2010-07-28 Thread Daniel Lezcano
On 07/28/2010 11:07 AM, Sebastien Pahl wrote: > On Wed, Jul 28, 2010 at 02:03, Daniel Lezcano wrote: >> On 07/28/2010 10:59 AM, Sebastien Pahl wrote: >>> >>> Does it have to be in the quilt format? >> >> Yes if possible. You can send me directly a tarball, I will upload it to the >> web site. >> >

Re: [Lxc-users] lxc-attach & setns patch for kernel 2.6.34

2010-07-28 Thread Daniel Lezcano
On 07/28/2010 11:00 AM, Cedric Le Goater wrote: > On 07/28/2010 10:41 AM, Sebastien Pahl wrote: [ ... ] >> Am I correct in my assumptions? >> > > yes. here's our patch for 2.6.34 > > we should be pushing this patchset to mainline kernel. Did Eric plan to > do so ? Yes, he planned to merge it ups

Re: [Lxc-users] lxc-attach & setns patch for kernel 2.6.34

2010-07-28 Thread Sebastien Pahl
On Wed, Jul 28, 2010 at 02:03, Daniel Lezcano wrote: > On 07/28/2010 10:59 AM, Sebastien Pahl wrote: >> >> Does it have to be in the quilt format? > > Yes if possible. You can send me directly a tarball, I will upload it to the > web site. > Sure no problem. By the way are there any differences

Re: [Lxc-users] lxc-attach & setns patch for kernel 2.6.34

2010-07-28 Thread Daniel Lezcano
On 07/28/2010 10:59 AM, Sebastien Pahl wrote: > Nice thats what I thought. I will build a 2.6.34.1 kernel. If > everything works like expected I will send you the updated patchset. Cool. Thanks ! > Does it have to be in the quilt format? Yes if possible. You can send me directly a tarball, I wil

Re: [Lxc-users] lxc-attach & setns patch for kernel 2.6.34

2010-07-28 Thread Cedric Le Goater
On 07/28/2010 10:41 AM, Sebastien Pahl wrote: > Hi, > > I'm trying to adapt the patch for lxc-attach to 2.6.34. > A few hunks fail but they are trivial to fix. > There is only one where I'm not sure: > > <--> > > Index: 2.6.33/kernel/cgroup.c > ==

Re: [Lxc-users] lxc-attach & setns patch for kernel 2.6.34

2010-07-28 Thread Sebastien Pahl
Nice thats what I thought. I will build a 2.6.34.1 kernel. If everything works like expected I will send you the updated patchset. Does it have to be in the quilt format? On Wed, Jul 28, 2010 at 01:51, Daniel Lezcano wrote: > On 07/28/2010 10:41 AM, Sebastien Pahl wrote: >> >> Hi, >> >> I'm tryi

Re: [Lxc-users] lxc-attach & setns patch for kernel 2.6.34

2010-07-28 Thread Daniel Lezcano
On 07/28/2010 10:41 AM, Sebastien Pahl wrote: > Hi, > > I'm trying to adapt the patch for lxc-attach to 2.6.34. > A few hunks fail but they are trivial to fix. > There is only one where I'm not sure: > > <--> > > Index: 2.6.33/kernel/cgroup.c > ==

[Lxc-users] lxc-attach & setns patch for kernel 2.6.34

2010-07-28 Thread Sebastien Pahl
Hi, I'm trying to adapt the patch for lxc-attach to 2.6.34. A few hunks fail but they are trivial to fix. There is only one where I'm not sure: <--> Index: 2.6.33/kernel/cgroup.c === --- 2.6.33.orig/kerne

[Lxc-users] lxc-attach & setns patch for kernel 2.6.34

2010-07-28 Thread Sebastien
Hi, I'm trying to adapt the patch for lxc-attach to 2.6.34. A few hunks fail but they are trivial to fix. There is only one where I'm not sure: <--> Index: 2.6.33/kernel/cgroup.c === --- 2.6.33.orig/kerne