|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Xen disk write slowness in kernel 3.8.x
Resending this - hopefully for comment... On 04/04/13 01:30, Felipe Franciosi wrote: I think you should use i/oflag=direct on your "dd"s to bypass the buffer cache in the guest. Might provide more consistent results. Ah - you are correct. I usually don't forget that. This has however discovered something interesting... Entirely from the DomU:# dd if=/dev/zero of=/mnt/fileshare/output.zero bs=1M count=4096 oflag=direct 4096+0 records in 4096+0 records out 4294967296 bytes (4.3 GB) copied, 45.2753 s, 94.9 MB/s # rm /mnt/fileshare/output.zero # dd if=/dev/zero of=/mnt/fileshare/output.zero bs=1M count=4096 4096+0 records in 4096+0 records out 4294967296 bytes (4.3 GB) copied, 80.5808 s, 53.3 MB/s I did this 3-4 times with the same trend...# dd if=/dev/zero of=/mnt/fileshare/output.zero bs=1M count=4096 oflag=direct 4096+0 records in 4096+0 records out 4294967296 bytes (4.3 GB) copied, 40.693 s, 106 MB/s # rm /mnt/fileshare/output.zero # sync # dd if=/dev/zero of=/mnt/fileshare/output.zero bs=1M count=4096 4096+0 records in 4096+0 records out 4294967296 bytes (4.3 GB) copied, 82.1511 s, 52.3 MB/sSo, when the DomU is using write buffers, write speed is halved. This I don't understand. I haven't tweaked the array at all yet (as I've just been experimenting with this problem) - so with a bit of time, I can probably even increase its write speed some more - but without this speed decrease solved, it isn't really worth it yet... The result of oprofile is intriguing. Did you have a chance to try Roger's persistent grant implementation? He mentions it on his 08/03 e-mail. It's here: git://xenbits.xen.org/people/royger/linux.git xen-block-indirect I can't say I have - Although I package Xen for EL6, we're getting to the edge of my knowledge here. Felipe -----Original Message----- From: Steven Haigh [mailto:netwiz@xxxxxxxxx] Sent: 03 April 2013 14:27 To: xen-devel@xxxxxxxxxxxxx Cc: Felipe Franciosi Subject: Re: Xen disk write slowness in kernel 3.8.x On 03/04/13 23:29, Felipe Franciosi wrote:Do you know the size of your requests? You used "iostat -m". Perhaps "iostat -xm" could be more meaningful as it will tell you the average request size in sectors. -- Steven Haigh Email: netwiz@xxxxxxxxx Web: https://www.crc.id.au Phone: (03) 9001 6090 - 0412 935 897 Fax: (03) 8338 0299 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |