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

    can load balancer use more than 1 cpu?

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 2 Posters 1.1k 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.
    • M
      mercy_angel
      last edited by

      can it be assigned more than one cpu core to virutal pfsense on vmware? Or it can just use single cpu power?

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        The whole pfSense VM? Yes.

        HAProxy? Yes

        Relayd? You should be using HAProxy 😉

        Steve

        M 1 Reply Last reply Reply Quote 0
        • M
          mercy_angel @stephenw10
          last edited by

          @stephenw10 said in can load balancer use more than 1 cpu?:

          The whole pfSense VM? Yes.

          Yea, The whole pfSense VM? Yes.
          How can i do that? i cant find a way, i did add more cpu, but is it any addition setup in pfsense itself to use all cores? Or just add core to vm and thats it? Load balancer then use all?

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Yes, pfSense will use CPU cores available to it when it can.
            It can't use any number of cores equally though so adding more cores will not double performance.
            Going from 1 to 2 cores will see significant improvements though.

            Steve

            M 1 Reply Last reply Reply Quote 0
            • M
              mercy_angel @stephenw10
              last edited by

              @stephenw10 but, in general, load balancer in pfsense dont use JUST one core?

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                No, it will use multiple cores.

                Not sure which load-balanver you are using here though.

                Steve

                M 1 Reply Last reply Reply Quote 0
                • M
                  mercy_angel @stephenw10
                  last edited by

                  @stephenw10 realyd, it was created a years ago.

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    OK, you should move to HAProxy. Relayd is deprecated in 2.5, you will not be able to upgrade if you still require it.
                    Relayd uses pf to do the forwarding and since that is multi-threaded in pfSense I would expect the load-balancer to be also.

                    Steve

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