Hi All,
I've been digging through the forums and posts...
I have an issue with slow network performance from VM1 to host2 which doesn't host the VM.
Context:
I have 2 separate 1GB switches (One for corosync) which use VLANs.
I have Intel NUCs & Chromeboxes and am using an USB 1GB adapter for corosync. (It's been rock solid..)
I am using virtio network adapter in VM.
I am using pfsense as my FW and don't think I have any traffic shaping or limiting!
What I've tried
Ensure I am using VirtIO Network adapter on my VMs. (I've tried switching between that and others and back again, no change)
Tried setting multi queue on my VMs, but AFAIK pfsense doesn't support it. I didn't see a significant difference anyhow.
I've Disable hardware checksum offload on my pfsense. No impact.
I've tried increasing the VM CPU and memory and it didn't make a difference. However given that I can get 1GB/s speed from VM to VM and the opposite path that has an issue from host2 to VM1. It doesn't seem like a VM CPU or memory setting. [I've tried changing those, doesn't make a difference]
I've tried changing the CPU type (Doesn't make a difference).
I've tried enabling NUMA. (Doesn't make a difference)
Any guidance would be greatly appreciated. I will happily attach any needed files.
IPerf data below.
VM1 -> Host2 (Not hosting VM1)
------------------------------------------------------------
Client connecting to nuc9034, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[ 1] local 172.17.50.205 port 48552 connected with 172.17.10.58 port 5001
[ ID] Interval Transfer Bandwidth
[ 1] 0.0000-20.4164 sec 547 KBytes 220 Kbits/sec
VM1 on host1 -> VM2 on host2
------------------------------------------------------------
Client connecting to k3s-node1, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[ 1] local 172.17.50.205 port 50604 connected with 172.17.50.101 port 5001
[ ID] Interval Transfer Bandwidth
[ 1] 0.0000-10.0463 sec 1.10 GBytes 937 Mbits/sec
Host2(Not hosting VM1) -> VM1
------------------------------------------------------------
Client connecting to networktest, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[ 3] local 172.17.50.58 port 52086 connected with 172.17.50.205 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0000-10.0019 sec 1.08 GBytes 928 Mbits/sec
I've been digging through the forums and posts...
I have an issue with slow network performance from VM1 to host2 which doesn't host the VM.
Context:
I have 2 separate 1GB switches (One for corosync) which use VLANs.
I have Intel NUCs & Chromeboxes and am using an USB 1GB adapter for corosync. (It's been rock solid..)
I am using virtio network adapter in VM.
I am using pfsense as my FW and don't think I have any traffic shaping or limiting!
What I've tried
Ensure I am using VirtIO Network adapter on my VMs. (I've tried switching between that and others and back again, no change)
Tried setting multi queue on my VMs, but AFAIK pfsense doesn't support it. I didn't see a significant difference anyhow.
I've Disable hardware checksum offload on my pfsense. No impact.
I've tried increasing the VM CPU and memory and it didn't make a difference. However given that I can get 1GB/s speed from VM to VM and the opposite path that has an issue from host2 to VM1. It doesn't seem like a VM CPU or memory setting. [I've tried changing those, doesn't make a difference]
I've tried changing the CPU type (Doesn't make a difference).
I've tried enabling NUMA. (Doesn't make a difference)
Any guidance would be greatly appreciated. I will happily attach any needed files.
IPerf data below.
VM1 -> Host2 (Not hosting VM1)
------------------------------------------------------------
Client connecting to nuc9034, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[ 1] local 172.17.50.205 port 48552 connected with 172.17.10.58 port 5001
[ ID] Interval Transfer Bandwidth
[ 1] 0.0000-20.4164 sec 547 KBytes 220 Kbits/sec
VM1 on host1 -> VM2 on host2
------------------------------------------------------------
Client connecting to k3s-node1, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[ 1] local 172.17.50.205 port 50604 connected with 172.17.50.101 port 5001
[ ID] Interval Transfer Bandwidth
[ 1] 0.0000-10.0463 sec 1.10 GBytes 937 Mbits/sec
Host2(Not hosting VM1) -> VM1
------------------------------------------------------------
Client connecting to networktest, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[ 3] local 172.17.50.58 port 52086 connected with 172.17.50.205 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0000-10.0019 sec 1.08 GBytes 928 Mbits/sec
Last edited: