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

    Is OpenVPN on PFSense 2.6.0 and 2.7.0 single threaded

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 631 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.
    • N8LBVN
      N8LBV
      last edited by

      Simple question but.
      I'm seeing a lot o posts where "people know" OpenVPN is single threaded.
      Did this change at some point with a newer version of OpenVPN?
      I'm guessing from my testing That OpenVPN on 2.7.0 is not single threaded
      As I am not seeing a single core max out when bandwidth/load testing on various devices a 1Gbps.

      I feel more like I do now.

      Dobby_D 1 Reply Last reply Reply Quote 0
      • Dobby_D
        Dobby_ @N8LBV
        last edited by

        @n8lbv

        You are main focusing one point from several available.

        • Entire pfSense is multi or single core
          Underlying system FreeBSD
        • WAN part ist single or multicore pending on the
          usage of PPPoE or not. (PPPoE = single queue not
          PPPoE = multi queues) One queue per each CPU
          core is able to use
        • OPNvpn package is taking advantage of multi CPU
          cores usage or not.

        It all plays together and not something alone.
        You may be able to tune some things here in the game
        according to your hardware and use case, like;

        • mbuf amount
        • mbuf size
        • queues amount
        • queues length
        • queues size

        #~. @Dobby

        Turris Omnia - 4 Ports - 2 GB RAM / TurrisOS 7 Release (Btrfs)
        PC Engines APU4D4 - 4 Ports - 4 GB RAM / pfSense CE 2.7.2 Release (ZFS)
        PC Engines APU6B4 - 4 Ports - 4 GB RAM / pfSense+ (Plus) 24.03_1 Release (ZFS)

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