Skip to contentSkip to conversation

kvm tuning guide

DISCUSSION Avi Kivity 4 participants 5 messages Sep 29, 2009 – Sep 30, 2009 KVM

lore
Share & tools
lore

Avi Kivity

author
#0 lore raw

I wrote a short tuning guide for kvm, http://www.linux-kvm.org/page/Tuning_KVM. It should all be well known to the list, but a newbie is born every minute. Please review and expand!

Signature · 1 line
error compiling committee.c: too many arguments to function
#1 lore raw

Avi Kivity escreveu:

Quoted 1 line

but a newbie is born every minute.

Reporting in!
As a newbie in KVM, I really appreciate those efforts. Promise to help on docs when I realize that I know what I am doing. :) Thank you.
--
Leandro Quibem Magnabosco.

#2 lore raw
In reply to Avi Kivity

"The default, IDE, is highly supported by guests but may be slow, especially with disk arrays. If your guest supports it, use the virtio interface:" Avi,
what is the status of data integrity issues Chris Hellwig summarized some time ago?
Is it safe to recommend virtio to newbies already? Shouldn't SCSI
be safer (where applicable)?
nik

Quoted 13 lines · Avi Kivity

I wrote a short tuning guide for kvm,
http://www.linux-kvm.org/page/Tuning_KVM. It should all be well known to the list, but a newbie is born every minute. Please review and expand!

Signature · 6 lines
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Signature · 13 lines
-------------------------------------
Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava

tel.:   +420 596 603 142
fax:    +420 596 621 273
mobil:  +420 777 093 799
www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: [email protected]
-------------------------------------
author
#3 lore raw
Quoted 4 lines · Nikola Ciprich

"The default, IDE, is highly supported by guests but may be slow, especially with disk arrays. If your guest supports it, use the virtio interface:" Avi,
what is the status of data integrity issues Chris Hellwig summarized some time ago?

I don't know. Christoph?

Quoted 1 line

Is it safe to recommend virtio to newbies already?

I think so.

Quoted 3 lines

Shouldn't SCSI
be safer (where applicable)?

SCSI suffers from being untested, and I think doesn't truly offer the parallelism it appears to.

Quoted 20 lines

nik

Quoted 14 lines · Avi Kivity

I wrote a short tuning guide for kvm,
http://www.linux-kvm.org/page/Tuning_KVM. It should all be well known to the list, but a newbie is born every minute. Please review and expand!

Signature · 6 lines
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Signature · 1 line
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
#4 lore raw
Quoted 7 lines · Avi Kivity
Quoted 4 lines · Nikola Ciprich

"The default, IDE, is highly supported by guests but may be slow, especially with disk arrays. If your guest supports it, use the virtio interface:" Avi,
what is the status of data integrity issues Chris Hellwig summarized some time ago?

I don't know. Christoph?

On the qemu side everything is in git HEAD now, but I'm not sure about the qemu-0.11 release as I haven't really followed it.

For the guest kernel the virtio cache flush support is now in mainline (past-2.6.31). For the host kernel side about 2/3 of the fixes are now in mainline (past-2.6.31) with the others hopefully getting in this merge window.

Quoted 3 lines
Quoted 1 line

Is it safe to recommend virtio to newbies already?

I think so.

I wouldn't. At least not for people caring about their data. It will take a while to promote the guest side fixes to all the interesting guests. IDE has the major advantage that cache flush support has been around in the guest driver for a long time so we only need to fix the host side which is a lot easier.