Pfsense 2.3 - HVM re and em nics - PV vs HVM - Answers and Results - XenServer
-
I was going to post about how slow the HVM interfaces are with Xen and ask about how to fix them, and if there was a way.
I get about 100mbits a second as soon as I disable PV nic's via hw.xen.disable_pv_nics=1
I have tried with both em and re Xen drivers.
I even tested this with FreeBSD 10.3 and get similar results.
I guess the HVM drivers are just slow, REALLY slow. I could get about 30 Megabytes a second from a domU hard drive with PV enabled in FreeBSD 10.3 but it would max out at around 12-13 megabytes when I enabled the HVM nics.
Everything I am reading says 100mbit speeds are really about right. I was just suspicious because it would hover around the same speeds so I thought it was an artificial limit.
The only reason I need HVM drivers is because I need ALTQ support. I am going to look into it a bit longer but I am about to move the router over to proxmox to test. I have another system that does not support PCI pass through and requires pfSense and a hypervisor, this first system is just a test and I am using Xen because I prefer it.
Am I correct to remember that KVM does not have any of these problems? ALTQ works fine with it in any mode?
-
Here are some Xen HVM results:
iperf client sends traffic server disgards
iperf test one:
iperf -c 10.100.10.245
iperf -s -i 1router to client (i3 laptop):
[ 4] 0.0-10.0 sec 317 MBytes 266 Mbits/seciperf test two:
iperf -c 10.100.10.1
iperf -s -i 1client to router (i3 laptop):
[ 4] 0.0-10.0 sec 182 MBytes 152 Mbits/sec