Does ioprio work as intended for others? [message #49463] |
Sat, 04 May 2013 02:01 ![Go to next message Go to previous message](/theme/ovz3/images/down.png) |
devonblzx
Messages: 127 Registered: December 2006
|
Senior Member |
|
|
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
![http://static.openvz.org/userbars/openvz-user-2.png](http://static.openvz.org/userbars/openvz-user-2.png)
ByteOnSite President
|
|
|