[Lxc-users] [newbie] Does lxc always needs init
Does lxc always needs init in the rootfs ? if I want to avoid init process and start my own daemon what should i do as part of my daemon initialization ? Thx. -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] lxc.blkio.weight question
You have to run the tests on both containers at the same time, then you will see the difference. If no container need IO, your first container will get the same speed as your second. Regards, Andreas Am 17.10.2013 10:54, schrieb autumn_sky_is: Hi, i'm using lxc in my project, i want to control disk io speed, so i use blkio.weight, but the result is confusing. I create 2 containers lxc1 and lxc2 lxc1: lxc.blkio.weight=100; lxc2:lxc.blkio.weight=1000 the running scripts are same in lxc1 and lxc2: sync echo 3 > /proc/sys/vm/drop_caches dd if=/var/a.img of=/dev/null bs=1M count=2000 I have read [1], and I check the io scheduler: noop anticipatory deadline [cfq] I suppose that lxc1 is slower than lxc2, but the test turn out that they are in same speed. Can you help me figure it out? Thank you. PS: my kernel is 2.6.32, lxc version is 0.9.0 [1] http://osdir.com/ml/lxc-chroot-linux-containers/2011-12/msg00083.html -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
[Lxc-users] lxc.blkio.weight question
Hi, i'm using lxc in my project, i want to control disk io speed, so i use blkio.weight, but the result is confusing. I create 2 containers lxc1 and lxc2 lxc1: lxc.blkio.weight=100; lxc2:lxc.blkio.weight=1000 the running scripts are same in lxc1 and lxc2: sync echo 3 > /proc/sys/vm/drop_caches dd if=/var/a.img of=/dev/null bs=1M count=2000 I have read [1], and I check the io scheduler: noop anticipatory deadline [cfq] I suppose that lxc1 is slower than lxc2, but the test turn out that they are in same speed. Can you help me figure it out? Thank you. PS: my kernel is 2.6.32, lxc version is 0.9.0 [1] http://osdir.com/ml/lxc-chroot-linux-containers/2011-12/msg00083.html-- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] why does lxc-checkconfig complain about CONFIG_UTS_NS=y ?
On Thu, Oct 17, 2013 at 02:36:42PM +0200, Harald Dunkel wrote: > Hi folks, > > My kernel config file says "CONFIG_UTS_NS=y", and yet > lxc-checkconfig complains > > User namespace: missing > > How comes? UTS != User namespace You need CONFIG_USER_NS=y Regards, Daniel -- |: http://berrange.com -o-http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
[Lxc-users] why does lxc-checkconfig complain about CONFIG_UTS_NS=y ?
Hi folks, My kernel config file says "CONFIG_UTS_NS=y", and yet lxc-checkconfig complains User namespace: missing How comes? Version is 1.0.0 alpha1. Every helpful comment would be highly appreciated. Regards Harri -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] [Newbie] lxc container to container.
Hi. I think the best is the traditionally way between two machines: Connect via ssh and do what you want to. Its not a good idea in my eyes to break through the security isolation of containers because that could affect all of them. (something bad like getting root of lxc host and kill process) But maybe there is a way I didn't see. Regards, Andreas Am 17.10.2013 03:48, schrieb Vijay Viswanathan: Hi What is the best approach to communicate between containers? Basically, I need to be able to kill a process running in one container [ container-1 ] from another container [container-2]. Currently, Iam able to kill a process inside a container from the host but how can container-2 see stuff inside container-1 ? I understand container is for isolation but unfortunately, I have this scenario where container-2 need to be like a master container of container-1. Thx. Vijay. -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users