OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Hardware and Performance »
  • opnsense & proxmox (kvm)
« previous next »
  • Print
Pages: [1]

Author Topic: opnsense & proxmox (kvm)  (Read 7393 times)

its

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
opnsense & proxmox (kvm)
« on: March 25, 2017, 07:57:17 pm »
Hi all,

I have been comparing FreeBSD and opnsense network performance inside proxmox with virtio nics. Using iperf, I can push 4-5 Gbits from/to FreeBSD (vanilla install) to a Linux host. Doing the same with opnsense, and for that matter pfsense, gets me at best 300-500 Mbits. Routing performance is consistent with the latter number.

While iperf is running the intr{irqxxx, virtio} thread is taking  ~50% and the kernel{virtio} thread another ~30 of a single core. I believe I disabled pf and it didn't seem to make a difference. In contrast, I am only seeing ~40% in the intr{} thread on FreeBSD.

Does anyone have a guess what might be going on?
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: opnsense & proxmox (kvm)
« Reply #1 on: March 25, 2017, 08:55:24 pm »
is offloading enabled?
Logged

its

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: opnsense & proxmox (kvm)
« Reply #2 on: March 26, 2017, 03:59:28 am »
In the guests or in the hosts? Which offloading?
Logged

its

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: opnsense & proxmox (kvm)
« Reply #3 on: March 26, 2017, 10:05:49 am »
Bingo!

Disabling tso/lro fixed iperf performance from/to the opnsense guest. It didn't much for forwarding performance (vm->opnsense->vm) however. But this is a different ballgame.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Hardware and Performance »
  • opnsense & proxmox (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