CloudStack/KVM using em instead of vtnet with pfSense 2.4… and it is slow
-
Hello evrybody,
I have installed 2.4.0 on CloudStack/KVM and I have poor performances (about 300Mbps on a 1Gbps link) while using 2.3.2 on the same setup I can reach almost wirespeed (990+Mbps). I guess is it because HyperVirtualization.
2.3.2 detects network cards as vtnet (10Gbps) while 2.4.0 (and 2.3.3 IIRC) detects them as em (1Gbps).
I banged my head a lot to understand how to make 2.4.x detect cards as vtnet instead of em, but with no success.Unluckily I don't have control on the HyperVisor (it is a Private Cloud from a bug hosting company).
Any one has ideas how to enforce VirtIO usage, please?
Thanks in advance
-
UPDATE
I upgraded from 2.3.2 to 2.3.4 and I still have vtnet interfaces (and full speed).
Now I am trying to go up to 2.4.1 and check if it still works.I will keep you posted (if someone will ever read this post ;) )
EDIT:
Upgrading to 2.4.1 kept the virtnet driver.
So it seems the issue is present only when starting from 2.4 ISO… meh.EDIT2:
Found the culprit: when I create a VM on cloudstack I can choose the "OS Type" and I choose a generic "FreeBSD (64 bit)". The 2.3.2 instead was created with OS Type = FreeBSD 10 (64 bit). It seems that does the difference... two days lost, lesson learnt :)