[Lxc-users] blkio.weight doesn't work

2011-12-14 Thread 陈竞
Hi, i'm using lxc in my project, i want to control disk io speed, so i use blkio.weight. I test it, but the result is confusing. I create two container A and B: A: blkio.weight = 100B : blkio.weight=1000 the running process in A and B are the same, which is bash script : dd

Re: [Lxc-users] seeing a network pause when starting and stopping LXCs - how do I stop this ?

2011-12-14 Thread Jäkel , Guido
Dear Michael, I always hate replying to my own posts but I have stumbled onto some interesting clarification as I've continued to play with this... Below in-line. [...] Again a well-done investigation. For everyone who don't have the time to carefully read this threads, i want to sum the

Re: [Lxc-users] blkio.weight doesn't work

2011-12-14 Thread Zhu Yanhai
And neither slice_idle nor group_idle is zero? Did you change any default parameters for CFQ? -zyh 在 2011年12月14日 下午4:55,陈竞 cj.mag...@gmail.com 写道: my io scheduler is CFQ So the result is weird 在 2011年12月14日 下午4:12,陈竞 cj.mag...@gmail.com写道: Hi, i'm using lxc in my project, i want to

Re: [Lxc-users] blkio.weight doesn't work

2011-12-14 Thread Zhu Yanhai
在 2011年12月14日 下午5:30,陈竞 cj.mag...@gmail.com 写道: i got the problem, my script is wrong, it should drop the cache, or it will read data from cache,  the script is : sync echo 3 /proc/sys/vm/drop_caches dd if=/tmp/file1 of=/dev/null size of file1 is 400M, and i get new test result: A:

Re: [Lxc-users] blkio.weight doesn't work

2011-12-14 Thread Zhu Yanhai
2011/12/14 Zhu Yanhai zhu.yan...@gmail.com: 在 2011年12月14日 下午5:30,陈竞 cj.mag...@gmail.com 写道: i got the problem, my script is wrong, it should drop the cache, or it will read data from cache,  the script is : sync echo 3 /proc/sys/vm/drop_caches dd if=/tmp/file1 of=/dev/null size of file1

Re: [Lxc-users] blkio.weight doesn't work

2011-12-14 Thread 陈竞
thank you very much. I really get it 2011/12/14 Zhu Yanhai zhu.yan...@gmail.com 在 2011年12月14日 下午5:30,陈竞 cj.mag...@gmail.com 写道: i got the problem, my script is wrong, it should drop the cache, or it will read data from cache, the script is : sync echo 3 /proc/sys/vm/drop_caches

Re: [Lxc-users] lxc and guest /proc/kcore access restriction

2011-12-14 Thread Fiedler Roman
Hi Serge, -Ursprüngliche Nachricht- Von: Serge Hallyn [mailto:serge.hal...@canonical.com] An: Fiedler Roman Cc: lxc-users@lists.sourceforge.net Betreff: Re: [Lxc-users] lxc and guest /proc/kcore access restriction Quoting Fiedler Roman (roman.fied...@ait.ac.at): Hello List,

Re: [Lxc-users] lxc and guest /proc/kcore access restriction

2011-12-14 Thread Serge Hallyn
Quoting Fiedler Roman (roman.fied...@ait.ac.at): Hi Serge, -Ursprüngliche Nachricht- Von: Serge Hallyn [mailto:serge.hal...@canonical.com] An: Fiedler Roman Cc: lxc-users@lists.sourceforge.net Betreff: Re: [Lxc-users] lxc and guest /proc/kcore access restriction Quoting

[Lxc-users] Broken pipe when ssh from host to container

2011-12-14 Thread Verdi March
Hi, I setup a container on Ubuntu 10.04, using kernel 3.0 (backported from oneiric) and lxc 0.7.5. If I ssh from the host to the container, my session will be terminated in about 5 seconds with a error message Write failed: broken pipe. Ssh keep alive doesn't seem to be the issue, as I've