OPNsense Forum

English Forums => Hardware and Performance => Topic started by: mscerri.mt on November 30, 2017, 02:25:22 pm

Title: 2 out of 4 CPU cores
Post by: mscerri.mt 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.
Title: Re: 2 out of 4 CPU cores
Post by: franco on November 30, 2017, 02:57:08 pm
Hi Malcolm,

Which NIC driver are you using?


Cheers,
Franco
Title: Re: 2 out of 4 CPU cores
Post by: mscerri.mt 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.

Title: Re: 2 out of 4 CPU cores
Post by: mscerri.mt 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.
Title: Re: 2 out of 4 CPU cores
Post by: franco on December 02, 2017, 03:37:32 pm
Hi Malcolm,

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


Cheers,
Franco