Multicore support on 2.2
-
I'm running a synthetic test on a brand new 2.2.5 installation using iperf and I see a maximum throughput of around 2.5Gbps. The VM has 2 x 1 core CPU and only one is being beaten up during the test. I understood that the 2.2 branch should be supporting the use of more than one core, am I missing anything regarding configuration to enable this?.
last pid: 62582; load averages: 0.50, 0.26, 0.24 up 0+00:22:56 20:08:37
59 processes: 2 running, 56 sleeping, 1 waiting
CPU 0: 0.0% user, 0.0% nice, 0.4% system, 7.5% interrupt, 92.2% idle
CPU 1: 0.0% user, 0.0% nice, 0.0% system, 85.9% interrupt, 14.1% idle
Mem: 68M Active, 40M Inact, 79M Wired, 25M Buf, 1773M Free
Swap: 4096M Total, 4096M FreePID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
11 root 2 155 ki31 0K 32K RUN 1 39:24 110.94% idle
12 root 19 -72 - 0K 304K WAIT 1 6:14 92.97% intrThe tests consists in running 2 VMs on a subnet, connecting to other 2 VMs on a different subnet. The pfsense VM has VLAN tagging on a single 10GbE interface.
Regards,
-
The packet filter will, yes, but there are other factors. What hypervisor and what type of NICs in the VM?
-
OK, moved the traffic of one client to another NIC and reached 3.5Gbps, still far from perfect. This is running on ESXi 6 and using vmxnet3 NICs. I'm not maxing out the processors yet
-
@cmb:
The packet filter will, yes, but there are other factors. What hypervisor and what type of NICs in the VM?
Any advice or pointers?
-
Don't expect to achieve really high performance in a VM. If you passthrough the NICs to the VM to remove that layer of abstraction, that'll likely help to some extent.