OpenVZ Forum - RDF feed
type: channel
items: Does ioprio work as intended for others?
items: Re: Does ioprio work as intended for others?

Does ioprio work as intended for others?
type: item
description: I have tried to test --ioprio with various disk benchmarks but have failed to see any real differences in results between ioprio 0 and 7. I have made sure that the scheduler for my drives is CFQ, does anyone else have this issue? How I tested: # vzctl set 1 --ioprio 0 --cpus 0 --cpulimit 0 --save # vzctl set 2 --ioprio 7 --cpus 0 --cpulimit 0 --save # vzctl exec 1 "dd if=/dev/zero of=/tmp/test bs=64k count=64k conv=fdatasync > /tmp/ddtest 2>&1 &"; vzctl exec 2 "dd if=/dev/zero of=/tmp/test bs=64k count=64k conv=fdatasync > /tmp/ddtest 2>&1 &" # vzctl exec 1 cat /tmp/ddtest 65536+0 records in 65536+0 records out 4294967296 bytes (4.3 GB) copied, 14.2459 s, 301 MB/s # vzctl exec 2 cat /tmp/ddtest 65536+0 records in 65536+0 records out 4294967296 bytes (4.3 GB) copied, 14.2804 s, 301 MB/s
creator: devonblzx
date: 2013-05-04T02:01:39-00:00

Re: Does ioprio work as intended for others?
type: item
description: Same here, ioprio doesn't seems to change anything. I can see the /proc/vz/beancounter/CTID/blkio.weight value is being set from the ioprio. Tested with : while [ 1 ]; do dd if=/dev/zero of=1000mbtest.bin bs=1M count=1000; done On 2 containers having each 256MB RAM and 256MB Vswap, but on with ioprio set to 0 and the other to 7. I can see pretty much the same performances on both containers. I'm using the latest 042stab078.22 kernel.
creator: nostalgeek
date: 2013-06-20T18:30:06-00:00