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

VirtualBox network interfaces max pfsense cpu

Scheduled Pinned Locked Moved Virtualization
3 Posts 3 Posters 2.3k 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.
  • X
    xternal
    last edited by Jun 28, 2012, 5:41 PM

    Hi there,
    I am running pfsense through virtualbox on a ubuntu 11.10 host.
    It is an AMD 64 3500, with 2gb of ram. I have assigned pfsense 512mb of ram, and there are 2 dedicated NICs which are in bridge mode.

    Now when pfsense is up and runnning it idles at %1-5 CPU usage in the pfsense. However when there is load from the ADSL2 Connection, which is only 16mb, the cpu usage goes to 100%.
    On the host machine Virtualbox is only using about %30-45 cpu usage and the machine is only using about %50-60 cpu overall.

    Both the em0 em1 interfaces use about the same cpu usage (%40-45 each) with the rest taken up by php etc.
    I would have thought a AMD athlon 64bit 3500, even in virtualisation, would be more than enough to run on a small home network only dealing with a low mb ADSL connection?
    There is no other load on the interfaces from the host machine.

    1 Reply Last reply Reply Quote 0
    • Y
      yaxattax
      last edited by Jul 3, 2012, 8:46 PM

      Unfortunately, emulated I/O is very slow. When you select bridged networks, the virtual machine creates an emulated NIC for the guest. The only way to speed this up is to provide some form of driver within the guest that allows the device emulation to be removed.

      1 Reply Last reply Reply Quote 0
      • D
        dhatz
        last edited by Jul 3, 2012, 8:53 PM

        I have a very similar setup (pfsense under VBox on a Ubuntu 11.04 host) and have noticed the very same behavior.

        Apparently we'd have to wait for pfsense to move to FreeBSD 9.0 which has decent virtio net driver support.

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