Page 1 of 1
kvm driver
Posted: Wed Aug 15, 2012 12:17 pm
by jcaleb
hello admin/uncle,
which network and disk driver are best to choose for each case of linux or freebsd?
thanks
Re: kvm driver
Posted: Wed Aug 15, 2012 12:37 pm
by Admin
I suspect KVM since bsd doesnt really run on others.
In case of KVM VirtIO is a must, unless you have tons of cpu, because using ide and even scsi will put a large strain on the cpu.
Freebsd will probably have virtio support, linux has already.
If you dont have big transfer on network, any will do, but also virtio is recommended.
This is the XEN-PV approach, they modified kernel of guest to push io to the host kernel, Rehat is doing something similar, tho not so high in the kernel space.
I must admit Redhat did a better design here, however, Xen-PV is still faster and will always be.
M
Re: kvm driver
Posted: Wed Aug 15, 2012 1:29 pm
by jcaleb
Thanks admin.
Sorry I forgot to mention I was only referring to KVM. So regardless if I use linux or BSD, I should always use virt driver for both network and disk drivers right? Thanks!
Re: kvm driver
Posted: Wed Aug 15, 2012 2:28 pm
by Admin
I imagined you mean KVM since bsd doesnt run on something else (except xen HVM).
You can do without, but performance will suffer.
The more iops and network traffic you will have, the more cpu will you lose.
KVM can only compete in speed somewhat with other techniques due to the VirtIO drivers.
Admin
Re: kvm driver
Posted: Wed Aug 15, 2012 5:54 pm
by jcaleb
Thanks. Admin, you are M? I thought you were John
Re: kvm driver
Posted: Wed Aug 22, 2012 8:18 pm
by jcaleb
Hello,
One of my KVM is using Intel Pro /1000 Network card. Do I need to set it to virtio and reinstall? Or would this just run fine?
Thanks
Re: kvm driver
Posted: Thu Aug 23, 2012 2:59 pm
by Admin
In general, VirtIO is preferred. If you have big traffic of small packets, your CPU will breathe easier, if you are OK with CPU performance and reinstalling will be a big hassle, it is not really necessary, just a recommendation.
One question though, why do you need to reinstall ? Just changing the emulation should make the OS autodetect it and work like that in most recent linux cases.
Which OS are you using ?
Admin
Re: kvm driver
Posted: Fri Aug 24, 2012 6:47 am
by jcaleb
Thanks for the explanation. I am using Debian 6. I didn't know it would work without reinstalling.
Re: kvm driver
Posted: Fri Aug 24, 2012 11:43 am
by Admin
You can switch back if it doesn't work. But I doubt, it shoud
Admin