OpenVZ Forum


Home » General » Support » RHEL6 - IO priority not working ? (Testing two VE on same block device with 0 & 7 IO priorites)
RHEL6 - IO priority not working ? [message #43579] Wed, 28 September 2011 12:57 Go to next message
VE4FUN is currently offline  VE4FUN
Messages: 8
Registered: August 2011
Junior Member
Hello,

I did some tests with 2.6.32-042stab037.1 kernel and it looks that IO priority has no impact on disk write operations.

2 identical VE on same disk (block device), one with IO priority 0 and other with IO priority 7. Results are pretty the same for both VE.

root@vps6:/# for i in 1 2 3 4 5; do dd if=/dev/zero of=test bs=64k count=32k conv=fdatasync; done
32768+0 records in
32768+0 records out
2147483648 bytes (2.1 GB) copied, 91.7144 s, 23.4 MB/s
32768+0 records in
32768+0 records out
2147483648 bytes (2.1 GB) copied, 70.1665 s, 30.6 MB/s
32768+0 records in
32768+0 records out
2147483648 bytes (2.1 GB) copied, 123.251 s, 17.4 MB/s
32768+0 records in
32768+0 records out
2147483648 bytes (2.1 GB) copied, 93.4022 s, 23.0 MB/s
32768+0 records in
32768+0 records out
2147483648 bytes (2.1 GB) copied, 126.531 s, 17.0 MB/s


root@vps7:/# for i in 1 2 3 4 5; do dd if=/dev/zero of=test bs=64k count=32k conv=fdatasync; done
32768+0 records in
32768+0 records out
2147483648 bytes (2.1 GB) copied, 98.4753 s, 21.8 MB/s
32768+0 records in
32768+0 records out
2147483648 bytes (2.1 GB) copied, 125.971 s, 17.0 MB/s
32768+0 records in
32768+0 records out
2147483648 bytes (2.1 GB) copied, 115.74 s, 18.6 MB/s
32768+0 records in
32768+0 records out
2147483648 bytes (2.1 GB) copied, 110.097 s, 19.5 MB/s
32768+0 records in
32768+0 records out
2147483648 bytes (2.1 GB) copied, 95.8683 s, 22.4 MB/s


am I doing something wrong ?

Re: RHEL6 - IO priority not working ? [message #43587 is a reply to message #43579] Thu, 29 September 2011 07:26 Go to previous messageGo to next message
txqzr4 is currently offline  txqzr4
Messages: 6
Registered: March 2011
Junior Member
The cgroups blkio controller is not working either, perhaps this is related?
Re: RHEL6 - IO priority not working ? [message #43592 is a reply to message #43579] Thu, 29 September 2011 11:23 Go to previous messageGo to next message
raver119 is currently offline  raver119
Messages: 18
Registered: September 2011
Location: Ukraine
Junior Member

Have you tried to switch scheduler to deadline or noop?
Re: RHEL6 - IO priority not working ? [message #43593 is a reply to message #43592] Thu, 29 September 2011 11:37 Go to previous message
VE4FUN is currently offline  VE4FUN
Messages: 8
Registered: August 2011
Junior Member
From OpenVZ wiki page about IO priorities.

"This feature is based on CFQ I/O scheduler, so this scheduler should be used for block device in question"

I guess it can not work without CFQ scheduler.

Previous Topic: Guide about choose RHEL
Next Topic: High latency on first connection to VE
Goto Forum:
  


Current Time: Sun Sep 01 10:15:56 GMT 2024

Total time taken to generate the page: 0.05956 seconds