Slow download speed with virtio nics

Started by miceliux, February 07, 2016, 11:52:00 AM

Previous topic - Next topic
Hi,

I've a virtualized (KVM) OPNSense router connected to a 300/300 Mbps wan line. The virtio nics are connected to the Linux bridge of the hypervisor.

While I can easily reach the 300Mbps of upload speed, I can't get over 3 Mbps downloading.

I've disabled the hardware checksum offload and tried other things, but I can't get more download speed.

Any advice?
Thank you.

I've installed a pfSense VM with the same setup (all hardware acceleration disabled) and I can reach the maximum bandwidth. So something is not working properly in OPNsense on KVM+virtio drivers.

Which version of OPNsense did you try? 16.1.x or 15.7.x?
The first has a higher kernel version. Might be worth giving it a try with a 15.7.x build.

It may identify issues to be solved.
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

Quote from: weust on February 10, 2016, 12:23:13 AM
Which version of OPNsense did you try? 16.1.x or 15.7.x?
The first has a higher kernel version. Might be worth giving it a try with a 15.7.x build.

It was 16.1.x fully updated.

Which pfSense version did you use? pfSense 2.2 is on FreeBSD 10.1, and we've seen a lot of VM regressions with FreeBSD 10.2 that we switched to with OPNsense 16.1.

Quote from: franco on February 15, 2016, 08:10:50 AM
Which pfSense version did you use? pfSense 2.2 is on FreeBSD 10.1, and we've seen a lot of VM regressions with FreeBSD 10.2 that we switched to with OPNsense 16.1.

The latest stable: 2.2.6-RELEASE (amd64) - FreeBSD 10.1-RELEASE-p25

Just adding another data point....

I am having the same experience (throttled download speed (1-2mb), but normal upload speeds (8-10mb.). Normal download speed should be about 50mb on a good day - it's Comcast.

I am using the OPNsense-16.1-OpenSSL-cdrom-amd64.iso.bz2 image.

This is running on Citrix XenServer, 6.5, SP1, (patched through OCT'15, but nothing since looked to be NIC driver related) used a generic template (they don't have an OpenBSD template) to build the VM (4 cores, 1G RAM, 3 NIC's)

I tried OPNsense 16.1 and 15.7.18 with exact same results.

A pretty much stock install so far, had not yet started turning on any of the options/tools.

Disabled the 3 hardware offloads, no effect.

Installed the os-xen plugin, which was recognized by XenServer host as the 6.2.0 guest tools. Could not locate a 6.5.0 version of the guest tools that would install. Noticed that even without the os-xen plugin installed, had same results.

I am currently using a Linux (Fedora 20) iptables based firewall running on same Citrix XenServer host, and have been for some time without issue.

Thank you
Don


I am having a similar problem. My tested speed with a hardware router is 150mbit download with 20mbit upload. When running a workstation through OPNsense, I can only get 3 to 4mbit download speed. But I get the full 20mbit upload.

I am running Oracle VM Server (which is Xen). My VM was installed with OPNsense-16.1-OpenSSL-cdrom-amd64.iso. I have applied the updates as they are released; but no changes. I'm not seeing any high loads or errors.

I would love to figure this one out; as OPNsense looks amazing.


Just for reference: Running Hyper-V 2012 R2 Free has no issues with speed.
I can still reach my full 200+Mbps through the OPNsense VM to a Linux VM or physical Windows machine.
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

I have a similar problem. My test speed with the hardware router is 150mbit downloads with 20mbit uploads.
รีวิวคาสิโน
When using a workstation via OPNsense, I get download speeds of only 3 to 4mbit, but I get the full upload at 20mbit.
รีวิวคาสิโนออนไลน์
I use Oracle VM Server to install my VM with OPNsense-16.1-OpenSSL-cdrom-amd64.iso.
รีวิวเว็บคาสิโนออนไลน์ UFA800
I used the update when it was released. But without any changes. I don't see any loads or high errors. I like to figure it out; Since OPNsense looks amazing