[one-users] setup for virtio disk use
Ruben S. Montero
rsmontero at opennebula.org
Thu Jan 31 03:56:36 PST 2013
Here
http://opennebula.org/documentation:archives:rel3.6:kvmg#virtio
In OpenNebula use DEV_PREFIX to specify the bus (hd = IDS, sd = SCSI, vd =
virtio, etc..)
Cheers
Ruben
On Thu, Jan 31, 2013 at 11:58 AM, Olivier Sallou <olivier.sallou at irisa.fr>wrote:
> Hi,
> I"d like to know how to setup my conf to use virtio for disks.
>
> For the moment, my conf and templates where set to DISK BUS = IDE. But I
> found that my disk accesses are quite slow.
>
> I tried to change my template to:
> DISK
>
>
> BUS virtio
> But I see no difference.
>
> Looking at kmv process I see:
> 111 904 1 26 11:49 ? 00:00:51 /usr/bin/kvm -S -M pc-0.12
> -enable-kvm -m 2048 -smp 1,sockets=1,cores=1,threads=1 -name one-570 -uuid
> b4178b7d-1b4c-7bd0-992e-bcecc5cef875 -nodefaults -chardev
> socket,id=charmonitor,path=/var/lib/libvirt/qemu/one-570.monitor,server,nowait
> -mon chardev=charmonitor,id=monitor,mode=readline -rtc base=utc -boot c
> -drive
> file=/var/lib/one//datastores/0/570/disk.0,if=none,id=drive-ide0-0-0,format=raw
> -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -drive
> file=/var/lib/one//datastores/0/570/disk.1,if=none,media=cdrom,id=drive-ide0-0-1,readonly=on,format=raw
> -device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -device
> rtl8139,vlan=0,id=net0,mac=00:04:c0:a8:02:14,bus=pci.0,addr=0x3 -net
> tap,fd=20,vlan=0,name=hostnet0 -usb -vnc 0.0.0.0:570 -k fr -vga cirrus
> -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4
>
>
> I see that the drive definition is always if=none (-drive
> file=/var/lib/one//datastores/0/570/disk.0,if=none). Should not it be set
> to if=virtio ?
>
> Thanks
>
> Olivier
>
> --
> Olivier Sallou
> IRISA / University of Rennes 1
> Campus de Beaulieu, 35000 RENNES - FRANCE
> Tel: 02.99.84.71.95
>
> gpg key id: 4096R/326D8438 (keyring.debian.org)
> Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
--
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130131/0e97ff32/attachment-0002.htm>
More information about the Users
mailing list