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

    Multicore support on 2.2

    Scheduled Pinned Locked Moved Firewalling
    5 Posts 2 Posters 1.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.
    • C
      cyruspy
      last edited by

      I'm running a synthetic test on a brand new 2.2.5 installation using iperf and I see a maximum throughput of around 2.5Gbps. The VM has 2 x 1 core CPU and only one is being beaten up during the test. I understood that the 2.2 branch should be supporting the use of more than one core, am I missing anything regarding configuration to enable this?.

      last pid: 62582;  load averages:  0.50,  0.26,  0.24                                                                                up 0+00:22:56  20:08:37
      59 processes:  2 running, 56 sleeping, 1 waiting
      CPU 0:  0.0% user,  0.0% nice,  0.4% system,  7.5% interrupt, 92.2% idle
      CPU 1:  0.0% user,  0.0% nice,  0.0% system, 85.9% interrupt, 14.1% idle
      Mem: 68M Active, 40M Inact, 79M Wired, 25M Buf, 1773M Free
      Swap: 4096M Total, 4096M Free

      PID USERNAME  THR PRI NICE  SIZE    RES STATE  C  TIME    WCPU COMMAND
        11 root        2 155 ki31    0K    32K RUN    1  39:24 110.94% idle
        12 root      19 -72    -    0K  304K WAIT    1  6:14  92.97% intr

      The tests consists in running 2 VMs on a subnet, connecting to other 2 VMs on a different subnet. The pfsense VM has VLAN tagging on a single 10GbE interface.

      Regards,

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        The packet filter will, yes, but there are other factors. What hypervisor and what type of NICs in the VM?

        1 Reply Last reply Reply Quote 0
        • C
          cyruspy
          last edited by

          OK, moved the traffic of one client to another NIC and reached 3.5Gbps, still far from perfect. This is running on ESXi 6 and using vmxnet3 NICs. I'm not maxing out the processors yet

          1 Reply Last reply Reply Quote 0
          • C
            cyruspy
            last edited by

            @cmb:

            The packet filter will, yes, but there are other factors. What hypervisor and what type of NICs in the VM?

            Any advice or pointers?

            1 Reply Last reply Reply Quote 0
            • C
              cmb
              last edited by

              Don't expect to achieve really high performance in a VM. If you passthrough the NICs to the VM to remove that layer of abstraction, that'll likely help to some extent.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.