Hello all. I have CHR (6.45.9 lts) installed on qemu/KVM. I have 100/100 mbits connection, but real upload is about only 5-7 mbits. I have two nics - one connected to isp:
and second nic connected to openvswitch bridge. I have tested it with bandwith test. Local interface is ok - 150/150mbps. External - only 100/7mbps. With direct connected notebook to isp all is ok - 100/100mbps.
When i do system/reboot - and test bandwidth - couple of minutes all is ok (100/100), but after it upload drops to 7mbits. CPU load on CHR and hypervisor is ok during all tests.
Also i tried different NIC types (virtio, rtl8139) - no luck.
Any ideas an suggestions how to fix this problem? Thank you in advance.
Have you disabled HyperThreading in the Bios and then set for max performance?
if you are using hyperthreading - set the hypervisor - (if you can) to use delayed_ack
Have you done a UDP Test to 127.0.0.1? (i know that sounds odd) but doing this you should be able to produce a good amount of traffic
Drive wise - is this using local or Network Storage?
does the hypervisor have additional vm’s running - might suggest keeping at least 1 cpu and some ram available for the hypervisor itself (dont know your settings so just a suggestion)
Depending upon the hypervisor - set CPU Affinity (basically you set which core gets reserved to which physical cpu) this can do wonders
We can explore more - but these are the basics I start with
CPU usage on host machine during test max 20%. CPU usage on CHR - 1st core about 50%, second core 20%
2 cores (Intel(R) Xeon(R) CPU E3-1230 v6 @ 3.50GHz)
Fast Track not supported on CHR
Hyperthreading enabled.
not tried yet
local storage - ssd
all other VMs shut down during tests
8 Did not do that - but tested CHR with 4 assigned to vm cores and right after reboot i see 5-6mbps. With 2 cores upload was normal at least 5 mins. Strange results for me.