OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Slow download speed with virtio nics
« previous next »
  • Print
Pages: [1]

Author Topic: Slow download speed with virtio nics  (Read 10986 times)

miceliux

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Slow download speed with virtio nics
« on: February 07, 2016, 11:52:00 am »
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.
Logged

miceliux

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: Slow download speed with virtio nics
« Reply #1 on: February 09, 2016, 10:42:09 pm »
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.
Logged

weust

  • Hero Member
  • *****
  • Posts: 650
  • Karma: 57
    • View Profile
Re: Slow download speed with virtio nics
« Reply #2 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 may identify issues to be solved.
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

miceliux

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: Slow download speed with virtio nics
« Reply #3 on: February 10, 2016, 08:57:29 am »
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.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1616
    • View Profile
Re: Slow download speed with virtio nics
« Reply #4 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.
Logged

miceliux

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: Slow download speed with virtio nics
« Reply #5 on: February 15, 2016, 10:19:19 am »
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
Logged

DonD

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: Slow download speed with virtio nics
« Reply #6 on: February 15, 2016, 07:44:50 pm »
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

Logged

markkrueg

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Slow download speed with virtio nics
« Reply #7 on: February 19, 2016, 05:06:23 am »
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.

Logged

weust

  • Hero Member
  • *****
  • Posts: 650
  • Karma: 57
    • View Profile
Re: Slow download speed with virtio nics
« Reply #8 on: February 19, 2016, 09:57:57 am »
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.
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

jack123456

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: Slow download speed with virtio nics
« Reply #9 on: May 01, 2020, 04:24:45 pm »
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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Slow download speed with virtio nics
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2