slow speed with virtio driver

a1979

New Member
Apr 25, 2018
7
0
1
44
Hello. I need help.
Have situation:
1. I copy file from proxmox-VM to interten-pc. When i have virtio driver for net-card i have bad speed (screen 1). When i change driver on e1000, then i have good speed (screen 2).
Why?

Screen 1
1569855462832.png

Screen2
1569855473653.png
 

Attachments

  • 1569855070591.png
    1569855070591.png
    92.7 KB · Views: 3
  • 1569855326608.png
    1569855326608.png
    93.1 KB · Views: 2
VirtIO uses CRC offloading, which calculates the checksums on the real NIC.
Not all NICs support this feature, some NICs calculate wrong CRCs due to the different MAC address.

e1000 calculate these CRCs in the software emulation.
e1000 is a full emulation of the vNIC, VirtIO is a paravirtualised vNIC.

Do you have the latest stable VirtIO drivers installed in the guest and what network card is installed in your host?
 
Thank you for answer!
I have test on two servers.
1 server has card
1569936658122.png

2 server has card
1569936712231.png

Also i have openswitch and bond for two netcards.

cat /etc/network/interfaces

allow-vmbr0 bond0
iface bond0 inet manual
ovs_bonds enp1s0f0 enp1s0f1
ovs_type OVSBond
ovs_bridge vmbr0
ovs_options vlan_mode=native-untagged other_config:lacp-time=fast tag=1 lacp=active bond_mode=balance-tcp

auto lo
iface lo inet loopback

auto enp1s0f0
iface enp1s0f0 inet manual

auto enp1s0f1
iface enp1s0f1 inet manual

allow-vmbr0 vlan1
iface vlan1 inet static
address 192.168.1.48
netmask 255.255.255.0
gateway 192.168.1.254
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options tag=1

auto vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports bond0 vlan1
 
> Do you have the latest stable VirtIO drivers installed in the guest and what network card is installed in your host?
No. I have VirtIO drivers from standart OS and had test on Debian 9 and Debian 10.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!