OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Hardware and Performance »
  • 2 out of 4 CPU cores
« previous next »
  • Print
Pages: [1]

Author Topic: 2 out of 4 CPU cores  (Read 4710 times)

mscerri.mt

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
2 out of 4 CPU cores
« on: November 30, 2017, 02:25:22 pm »
Hi all,

I have installed  OPNsense version 16.7 on a KVM virtual environment.

When performing tests using iperf3, I noticed that the application is only using 2 vcpu cores out of 4 - which is the total number of cores allocated to the VM.

On the web-interface I can see that the CPU load peaks at 50% - even if I increase the load.

Could you please guide me to resolve this issue please?

--Screenshot attached.

CPU 0 0% idle
CPU 1 0% idle
CPU 2 99.6% idle
CPU 3 100% idle


Thank you in advance,

regards,

Malcolm.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17705
  • Karma: 1618
    • View Profile
Re: 2 out of 4 CPU cores
« Reply #1 on: November 30, 2017, 02:57:08 pm »
Hi Malcolm,

Which NIC driver are you using?


Cheers,
Franco
Logged

mscerri.mt

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: 2 out of 4 CPU cores
« Reply #2 on: November 30, 2017, 03:48:48 pm »
Hi Franco,

Thanks for your reply.

Since I'm using a virtual environment, I am not really sure what is being used. I am also new to FreeBSD - yet I've been using CentOS for quite some time now.

Is there an better NIC driver which I can use?

Thank you.

Malcolm.

Logged

mscerri.mt

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: 2 out of 4 CPU cores
« Reply #3 on: November 30, 2017, 06:14:11 pm »
Hi,

I have checked further and found out that the cloud environment is using KVM with Virtio NIC driver.

Any ideas please?

Thank you,

Malcolm.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17705
  • Karma: 1618
    • View Profile
Re: 2 out of 4 CPU cores
« Reply #4 on: December 02, 2017, 03:37:32 pm »
Hi Malcolm,

Can you somehow switch to Intel e1000 emulation? That should help.


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Hardware and Performance »
  • 2 out of 4 CPU cores
 

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