Re: [lxc-users] How are network interfaces implemented in LXC?

2015-02-02 Thread Brian Allen Vanderburg II
I've played around a little with veth interfaces and iptables. From what I can tell, the best way to think of a veth pair is as if you had two extra NICs installed on your computer connected together with a crossover cable. I was having some trouble until I realized this. The firewall rules

Re: [lxc-users] writeback cache for all container processes?

2015-02-02 Thread Fajar A. Nugraha
On Mon, Feb 2, 2015 at 7:23 PM, Tomasz Chmielewski man...@wpkg.org wrote: On 2015-02-02 21:13, Fajar A. Nugraha wrote: You do know that lxc share the same kernel instance as the host OS, making such settings not applicable? Why not? Perhaps I wasn't very specific when starting the thread.

Re: [lxc-users] writeback cache for all container processes?

2015-02-02 Thread Fajar A. Nugraha
On Mon, Feb 2, 2015 at 7:45 PM, Tomasz Chmielewski man...@wpkg.org wrote: On 2015-02-02 21:37, Fajar A. Nugraha wrote: It's certainly possible to do not applicable kinds of things with processes and their page cache, i.e.: https://code.google.com/p/pagecache-mangagement/ [1] Or here,

Re: [lxc-users] writeback cache for all container processes?

2015-02-02 Thread Tomasz Chmielewski
On 2015-02-02 21:37, Fajar A. Nugraha wrote: It's certainly possible to do not applicable kinds of things with processes and their page cache, i.e.: https://code.google.com/p/pagecache-mangagement/ [1] Or here, disabling O_DIRECT and sync would be sort of matching feature-wise with KVM's

Re: [lxc-users] writeback cache for all container processes?

2015-02-02 Thread Fajar A. Nugraha
You do know that lxc share the same kernel instance as the host OS, making such settings not applicable? -- Fajar On Mon, Feb 2, 2015 at 6:59 PM, Tomasz Chmielewski man...@wpkg.org wrote: Is it possible to start a lxc container with writeback cache, in a way similar to KVM's writeback cache?

Re: [lxc-users] Parameter -R to lxc-create not woking

2015-02-02 Thread Stéphane Graber
On Mon, Feb 02, 2015 at 06:14:44PM -0500, CDR wrote: ​I am trying to create a Centos 7 container on Ubuntu 14.04 fully dist-upgraded, but if I create the container with -t centos it comes down as version 6, and it I use that plus -R 7 or --release 7, the command fails. I don't think the