Does ioprio work as intended for others?
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
Re: Does ioprio work as intended for others?
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.