• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

High CPU usage with virtualbox

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
5 Posts 2 Posters 1.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I
    iFEAR
    last edited by May 29, 2017, 7:04 PM

    Hi, I want to use pfsense on my home network, but I don't have a spare pc to use. So I trying pfsense in virtualbox on my dell r410 with 2 QLogic BCM5716C Gigabit NICs. The problem is when I run iperf max speed is capped at ~200Mb and CPU is 100%
    Can you help me ?

    1 Reply Last reply Reply Quote 0
    • U
      uknownme123
      last edited by May 30, 2017, 5:00 PM

      Tell us what system you have as host and what you have allocated to the nested pfSense. Such things like host CPU, CPU allocated, memory allocated? If you have two core atom or older duo core and you allocate 1 core to pfSense, you gonna get that high cpu usage for 200Mb traffic. Also amount of memory will affect, if you don't have enough RAM, it will start using swap.

      If you have higher end CPU and lots of memory, play around with CPU allocation and memory allocation.

      Keep in mind the NIC is virtual and will definitely use CPU cycle for the virtual switch. Unlike some real NIC that have their own CPU do the off/on load of traffic.

      1 Reply Last reply Reply Quote 0
      • I
        iFEAR
        last edited by May 30, 2017, 9:02 PM

        I have 2 Xenon L5520 with 12gb ram, in virtualbox I started with 2gb of ram and 2 cores, then 8 cores and I think at some point I used all 16 cores. Still the same, max speed I got was ~300 Mb/s.

        Also I installed pfsense on an usb and boot it up. It works flawlessly, I connected my ont to one of the nics, and the other nic to my pc, got ~950Mb/s, with almost no cpu usage.

        1 Reply Last reply Reply Quote 0
        • U
          uknownme123
          last edited by May 30, 2017, 11:41 PM

          Yah, this is out of my league. I don't do virtualbox. Sounds like your issue is within virtualbox.  Sounds like issue with Host OS virtual switch or bridge for the virtual OS to connect to.

          1 Reply Last reply Reply Quote 0
          • I
            iFEAR
            last edited by Jun 1, 2017, 8:56 AM

            Any more suggestions ?

            1 Reply Last reply Reply Quote 0
            4 out of 5
            • First post
              4/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received