Re: Virtio block module slower than IDE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, 27 Oct 2009 11:34:57 +0200, Avi Kivity <avi@xxxxxxxxxx> wrote:
> On 10/27/2009 02:13 AM, Floris Bos wrote:
>> I am running Proxmox 1.4 (which uses the 2.6.30.1 kvm modules) and am
>> experiencing performance problems with Linux guests using the virtio_blk
>> module.
>> Especially with random IO it is a lot slower than IDE.
>>
> 
> Try switching the host I/O scheduler to deadline.  You can do that at 
> runtime in /sys/block/.../queue.

Thanks for the tip.
Seems to improve random IO performance by 11 times!

==
Version 1.03c       ------Sequential Output------ --Sequential Input-
--Random-
                    -Per Chr- --Block-- -Rewrite- -Per Chr- --Block--
--Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec
%CP
ubuntu910       16G 38776  97 61414   5 32451   7 34711  73 95325   9  7174
 23
                    ------Sequential Create------ --------Random
Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read---
-Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec
%CP
                 16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++
+++
ubuntu910,16G,38776,97,61414,5,32451,7,34711,73,95325,9,7174.2,23,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
==


Yours sincerely,

Floris Bos
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux