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
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
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
在 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:
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
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
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,
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
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