OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 15.7 Legacy Series »
  • High cpu usage in virtual environment
« previous next »
  • Print
Pages: [1]

Author Topic: High cpu usage in virtual environment  (Read 10987 times)

smurfb

  • Newbie
  • *
  • Posts: 2
  • Karma: 1
    • View Profile
High cpu usage in virtual environment
« on: July 27, 2015, 02:31:37 pm »
Hi.

I run OPNSense 15.7 in a virtual machine (qemu/kvm) on an Ubuntu 15.4 installation.

CPU usage in OPSense is around 3%, but the virtual machine uses about 20-30% CPU.

I do not use virtio-network but rather PCI-passthrough on Intelbased HP NICs.

Anyone else seen this behavior?
Logged

opnsenseFAN

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: High cpu usage in virtual environment
« Reply #1 on: April 10, 2016, 05:41:12 pm »
Hy.

I noticed the exact same behavior! See screenshot...
In OPNsense you can find 2 Plugins "os-xen" and "os-vmware".
What about KVM?
Anyone an idea?

Thank you in advance.

Cheers!
Jessica
Logged

weust

  • Hero Member
  • *****
  • Posts: 644
  • Karma: 57
    • View Profile
Re: High cpu usage in virtual environment
« Reply #2 on: April 10, 2016, 05:56:19 pm »
AFAIK KVM is build into the FreeBSD kernel, as is Hyper-V support, hence there are no external packages for them.
I run a VM in Hyper-V 2012 R2 for OPNsense, and it uses 0% when not doing anything.
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

opnsenseFAN

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: High cpu usage in virtual environment
« Reply #3 on: April 10, 2016, 06:02:37 pm »
Quote from: weust on April 10, 2016, 05:56:19 pm
AFAIK KVM is build into the FreeBSD kernel, as is Hyper-V support, hence there are no external packages for them.
I run a VM in Hyper-V 2012 R2 for OPNsense, and it uses 0% when not doing anything.

Ahaaa, that sounds interesting. I am planning to install OPNsense in a Hyper-V enviroment as well. So thanks for that experience!
An why would you say, is KVM showing that much CPU load at this virtual machine?
Logged

weust

  • Hero Member
  • *****
  • Posts: 644
  • Karma: 57
    • View Profile
Re: High cpu usage in virtual environment
« Reply #4 on: April 10, 2016, 06:07:23 pm »
No f*cking clue.

Edit: Just to make sure you don't get me the wrong way, it wasn't an attack or something like that.
I really have no idea why the CPU usage is so high with KVM. Never used it because I don't like the idea of a hobby project running my VM's :-)
« Last Edit: April 11, 2016, 06:37:27 pm by weust »
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 15.7 Legacy Series »
  • High cpu usage in virtual environment
 

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