OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Hardware and Performance »
  • Throughput on Linux KVM
« previous next »
  • Print
Pages: [1]

Author Topic: Throughput on Linux KVM  (Read 3204 times)

freeline

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Throughput on Linux KVM
« on: November 25, 2018, 12:13:51 am »
Hello,

im trying to set up a OPNsense VM with KVM as Hypervisor. I provided to virtio network adapters that correspond to a bridge on the host. For testing I ran two LXD-Containers and measuered the throughput with iperf3:

container -> container (same bridge): 7 GBit/s
container -> Windows VM (same bridge): 7 GBit/s
container -> OPNsense VM (same bridge): 1.7 GBit/s
Windows VM -> OPNSense VM: 1.5 GBit/s
container -> container (routing through OPNsense): 1.3 GBit/s

OPNsense ist in default configuration (no rules configured).
Any Ideas how to improve this?

Thanks,
Volker
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Throughput on Linux KVM
« Reply #1 on: November 25, 2018, 06:11:15 am »
VirtIO has really bad performance on FreeBSD in general, try E1000 instead.
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

freeline

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Throughput on Linux KVM
« Reply #2 on: November 25, 2018, 02:15:38 pm »
Hi,

I tried that but speed goes down to 500 MBit/s, isn't the e1000 limited to 1GBit/s anyway?

Thanks,
Volker
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Hardware and Performance »
  • Throughput on Linux KVM
 

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