seems not possible to run a freebsd kvm guest on CentOS 6
all i get in the log using dmesg are something about mmio emulation failed
I think I managed to get FreeBSD 9 installed using the “freebsd 8.x”
virsh/virt-manager profile. After this I installed the virtio drivers. Wat have you tried?
I warn you FreeBSD on KVM+CentOS is terrible, really bad performance, even with virtio drivers. CPU stays at 20% even when doing nothing and network performance is abysmal. I believe there are going to be big improvements in v10, though.
Ah ok The problem is i cant even boot it The machine boot only 1 sec and stops
Which FreeBSD iso are you using and which virsh profile?
Not a iso A img file
Are you using virtio or generic devices for your VM?
Anyway, I recommend you start from an official ISO.
I have about ten installations of pfSense 2 in CentOS/KVM as FreeBSD 8.x profile and experience no problems except significant CPU load at 50-100
Mbps stream shaping/routing/filtering (about 50-60% of one Penitum G630
core at 75 MBps), but this is because of e1000 nics emulation (freebsd
8.x in pfsense 2 has no virtio drivers included as I can remember).
29.04.2013 21:44, Nux! пишет:
Litle hard to install it myself I’m visualy impired Sorry spelling
I create my machine so Virt-install –import –prompt
Från: CentOS-virt-bounces@CentOS.org [mailto:CentOS-virt-bounces@CentOS.org] För Ilya Ponetayev Skickat: den 29 april 2013 19:55
Ämne: Re: [CentOS-virt] freebsd as kvm guest
I have about ten installations of pfSense 2 in CentOS/KVM as FreeBSD 8.x profile and experience no problems except significant CPU load at 50-100 Mbps stream shaping/routing/filtering (about 50-60% of one Penitum G630 core at 75 MBps), but this is because of e1000 nics emulation (freebsd 8.x in pfsense 2 has no virtio drivers included as I can remember).
Sincerely yours, Ilya Ponetayev
I too wanted to use PFSense on KVM/EL6 but network performance was disappointing. My network engineers reverted to using VMware ESXi for the time being. My hope is with Fbsd 10 which includes virtio drivers by default (and also has a SMP friendly PF :> ).
BTW, here’s a QCOW2 of it, import image as RHEL6 profile (has all the virtio stuff):
The root passwd is “password” so change it ASAP!
Even with this image I could not saturate 1 Gbps link (just rudimentary test with “fetch -o /dev/null”), but it’s still an improvement.
thanks for the image Now lets’s see
hi, at my workplace we have several freebsd 8.2 and 9.0 kvm vm’s in production (ldap, dns and webmail server).
we use virtio drivers and network performance is very good. there was one problem for us with kvm & virtio as i already wrote at freebsd mailing list. suddenly /var/log/message at kvm hosts start to growing at very high rate with warnings about some vlan problems.
solution was to use -tso option with ifconfig_vtnetX in rc.conf.
anyway, that’s only problem for us with kvm and freebsd.
anyway, linux is still better option if you need performance (block and io) then freebsd in both cases, vmware and kvm.
we also tried openbsd in vmware and kvm. and that’s bad. unfortunately.
ps. yesterday i tried to do freebsd-update -r 9.1-RELEASE upgrade at one of my production kvm vm. everything went ok but immediately after reboot i’ve got kernel panic. something about unsupported cpu. i didn’t have time to investigate where’s the problem.
i just run very simple test. 1GB network, 500 MB test file on web server and wget from CentOS 6 and freebsd 8.3 vm’s, both with virtio.
wget -nd –no-proxy http://server/test -O /dev/null
result is the same:
Length: 524288000 (500M) [application/octet-stream]
Saving to: `/dev/null’
100%[====================>] 524,288,000 112M/s in 4.5s
then i try freebsd with fetch
freebsd8:~% fetch -o /dev/null -d http://server/test
/dev/null 100% of 500 MB 41 MBps 00m00s
fetch is 2.5x slower. that’s interesting. i don’t know what’s the difference between fetch and wget but i’ll try to found out.