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

    [solved] pfSense (2.6.0 & 22.01 ) is very slow on Hyper-V

    Scheduled Pinned Locked Moved Virtualization
    187 Posts 36 Posters 106.5k 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
      inmarket
      last edited by

      Just as a quick note for those who think the solutions above don't work...

      After updating RSC at the virtual switch (and on every host machine if you are using a cluster), you will need to restart each virtual machine. You may also have to restart Hyper-V (or rather Server 2019) for it to show its affect.

      There may be other configuration problems that also result in slow performance but that is not what this is post is about. This post is specifically about the performance issues caused by RSC in Hyper-V Server 2019 in pfSense 2.6 that weren't there in pfSense 2.5

      1 Reply Last reply Reply Quote 0
      • M
        murdof @inmarket
        last edited by

        @inmarket I’m running windows server 2022.
        The problem is there and tried all the recommended “solutions”.
        Only downgrading to 2.5 or upgrading to 2.7 fixed the performance issue.

        1 Reply Last reply Reply Quote 0
        • werterW werter referenced this topic on
        • werterW werter referenced this topic on
        • werterW werter referenced this topic on
        • werterW werter referenced this topic on
        • stephenw10S stephenw10 referenced this topic on
        • stephenw10S stephenw10 referenced this topic on
        • werterW werter referenced this topic on
        • werterW werter referenced this topic on
        • werterW werter referenced this topic on
        • werterW werter referenced this topic on
        • Bob.DigB Bob.Dig referenced this topic on
        • Bob.DigB Bob.Dig referenced this topic on
        • Bob.DigB Bob.Dig referenced this topic on
        • werterW werter referenced this topic on
        • werterW werter referenced this topic on
        • werterW werter referenced this topic on
        • werterW werter referenced this topic on
        • werterW werter referenced this topic on
        • werterW werter referenced this topic on
        • werterW werter referenced this topic on
        • Bob.DigB Bob.Dig referenced this topic on
        • werterW werter referenced this topic on
        • werterW werter referenced this topic on
        • werterW werter referenced this topic on
        • werterW werter referenced this topic on
        • S SteveITS referenced this topic on
        • Bob.DigB Bob.Dig referenced this topic on
        • Bob.DigB Bob.Dig referenced this topic on
        • werterW werter referenced this topic on
        • werterW werter referenced this topic on
        • S SteveITS referenced this topic on
        • S SteveITS referenced this topic on
        • stephenw10S stephenw10 referenced this topic on
        • stephenw10S stephenw10 referenced this topic on
        • werterW werter referenced this topic on
        • werterW werter referenced this topic on
        • werterW werter referenced this topic on
        • werterW werter referenced this topic on
        • E
          emigu @werter
          last edited by

          @werter said in pfSense (2.6.0 & 22.01 ) is very slow on Hyper-V:

          Decision: do not use hyper-v as virtualization platform ))
          Better try Proxmox VE (open source)

          Netgate creating a buggy version is not the virtualization plattforms fault.

          Bob.DigB 1 Reply Last reply Reply Quote 0
          • Bob.DigB
            Bob.Dig LAYER 8 @emigu
            last edited by

            @emigu It was a change in FreeBSD and with that an incompatibility of pfSense with Hyper-V. Netgate is not selling any device with Hyper-V on it, so it is nobody's fault to begin with.

            johnpozJ E 2 Replies Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator @Bob.Dig
              last edited by

              @bob-dig said in pfSense (2.6.0 & 22.01 ) is very slow on Hyper-V:

              It was a change in FreeBSD and with that an incompatibility of pfSense with Hyper-V.

              Its not just freebsd - if you do a google for hyper-v and RSC you will find lots of issues where it can cause slow network, etc.

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              Bob.DigB 1 Reply Last reply Reply Quote 0
              • E
                emigu @Bob.Dig
                last edited by

                @bob-dig Something that works in 2.5.2 splendid, while boasting in the official documentation that it supports Hyper-V:
                https://docs.netgate.com/pfsense/en/latest/virtualization/index.html - https://docs.netgate.com/pfsense/en/latest/recipes/virtualize-hyper-v.html

                Which then stops working in 2.6.0 is most certainly Netgate's fault, more specifically the QA department.

                Clearly there were 0.0% tests done with Hyper-V (One of the largest hypervisors in the world).

                If you think it's acceptable not testing and verifying (A very simple test that can be automated) a new major version on a hypervisor listed in the documentation that happens to be the 2nd or 3rd most used hypervisor in the world, AND the one that's powering one of the biggest public clouds in the world - I don't really know how to counter that other than let's agree to disagree.

                I certainly hope this lack of quality doesn't extend to netgates paid versions.

                Bob.DigB johnpozJ 2 Replies Last reply Reply Quote 0
                • Bob.DigB
                  Bob.Dig LAYER 8 @johnpoz
                  last edited by

                  @johnpoz But the change in FreeBSD was that you can not disable it, so FreeBSD had to be changed again and now "patched" pfSense versions disable it by default because they can. 😀

                  1 Reply Last reply Reply Quote 0
                  • Bob.DigB
                    Bob.Dig LAYER 8 @emigu
                    last edited by Bob.Dig

                    @emigu said in pfSense (2.6.0 & 22.01 ) is very slow on Hyper-V:

                    Clearly there were 0.0% tests done with Hyper-V (One of the largest hypervisors in the world).

                    I am with you on that but Netgate doesn't make money with hyper-V. And Azure has no similarities with anything MS is selling for bare metal installations. So in the end you can be happy if it is running on your own "hardware" anyways, they don't have to support it.
                    And I think that hyper-V probably will be let down even from MS like everything else that is not running in their cloud. Let's see.

                    E 1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator @emigu
                      last edited by

                      @emigu so with your logic - what about vmware, one of the top virtual hosting platforms on the planet.. They did not do full testing? Because they have the same issue with RSC that had to be fixed with an update.

                      https://kb.vmware.com/s/article/2129176

                      You could also put blame on MS with not fully testing hyper-v and all their possible guests and having issues with a new RSC stuff they were doing, etc.

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      E 1 Reply Last reply Reply Quote 0
                      • E
                        emigu @johnpoz
                        last edited by

                        @johnpoz said in pfSense (2.6.0 & 22.01 ) is very slow on Hyper-V:

                        @emigu so with your logic - what about vmware, one of the top virtual hosting platforms on the planet.. They did not do full testing? Because they have the same issue with RSC that had to be fixed with an update.

                        https://kb.vmware.com/s/article/2129176

                        You could also put blame on MS with not fully testing hyper-v and all their possible guests and having issues with a new RSC stuff they were doing, etc.

                        Last time I checked VMWare isn't developing the product we're talking about that claims to support VMWare and Hyper-V.

                        Last time I checked Netgate develops pfSense and is responsible for the QA process of it's new releases.

                        Do you think otherwise?

                        johnpozJ Bob.DigB 2 Replies Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator @emigu
                          last edited by

                          @emigu you blame whoever you want to blame.. If it makes you feel better..

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 24.11

                          1 Reply Last reply Reply Quote 0
                          • Bob.DigB
                            Bob.Dig LAYER 8 @emigu
                            last edited by

                            @emigu Next time check the beta and file a bug report if you depend upon running it on hyper-v I guess. 😉
                            But I am not sure if that would stop them to release a new final, I really have no clue.

                            E 1 Reply Last reply Reply Quote 0
                            • E
                              emigu @Bob.Dig
                              last edited by

                              @bob-dig said in pfSense (2.6.0 & 22.01 ) is very slow on Hyper-V:

                              @emigu said in pfSense (2.6.0 & 22.01 ) is very slow on Hyper-V:

                              Clearly there were 0.0% tests done with Hyper-V (One of the largest hypervisors in the world).

                              I am with you on that but Netgate doesn't make money with hyper-V. And Azure has no similarities with anything MS is selling for bare metal installations. So in the end you can be happy if it is running on your own "hardware" anyways, they don't have to support it.
                              And I think that hyper-V probably will be let down even from MS like everything else that is not running in their cloud. Let's see.

                              What are you on about?

                              Azure runs on Hyper-V.

                              They've ran a modified version of Hyper-V (Obviously, same as AWS runs on an inhouse modified version of KVW, and previous XEN) - GCP has their complete own Hypervisor, Borg I believe it's called.

                              These days MS has released said modified Hyper-V: Azure Stack HCI.

                              They're obviously going to stop developing Hyper-V in the future, and leave it as is right now as a very lightweight hypervisor - which is why they're making HCI trial free for customers whom want to run their own HW with the same hypervisor Azure does for Azure integration.

                              Bob.DigB 1 Reply Last reply Reply Quote 0
                              • Bob.DigB
                                Bob.Dig LAYER 8 @emigu
                                last edited by

                                @emigu Azure was tested if I remember correctly and didn't had that problem they said.

                                1 Reply Last reply Reply Quote 0
                                • E
                                  emigu @Bob.Dig
                                  last edited by

                                  @bob-dig said in pfSense (2.6.0 & 22.01 ) is very slow on Hyper-V:

                                  @emigu Next time check the beta and file a bug report if you depend upon running it on hyper-v I guess. 😉
                                  But I am not sure if that would stop them to release a new final, I really have no clue.

                                  No, I won't. My intention was to pay for pfSense and thus expect compability and testing to be done by the developers (Which is a big reason why you pay for software) but if such a basic test as automating a pfsense setup on each hypervisor, creating a random VM and running speedtest-cli isn't done - I wouldn't trust that product in production even when it's free.

                                  My time is valuable and I do not intend on spending it doing basic testing for a company too lazy or incompetent (In the case def. the former) to QA their software. I prefer paying for that service and keeping my time to business values.

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

                                    Azure was unaffected because it doesn't support the RSC vswitches that caused the problem as I understand it. Hence none of the testing we did there revealed this issue.

                                    Steve

                                    1 Reply Last reply Reply Quote 2
                                    • werterW werter referenced this topic on
                                    • werterW werter referenced this topic on
                                    • werterW werter referenced this topic on
                                    • werterW werter referenced this topic on
                                    • werterW werter referenced this topic on
                                    • werterW werter referenced this topic on
                                    • werterW werter referenced this topic on
                                    • werterW werter referenced this topic on
                                    • werterW werter referenced this topic on
                                    • werterW werter referenced this topic on
                                    • werterW werter referenced this topic on
                                    • werterW werter referenced this topic on
                                    • werterW werter referenced this topic on
                                    • werterW werter referenced this topic on
                                    • werterW werter referenced this topic on
                                    • werterW werter referenced this topic on
                                    • werterW werter referenced this topic on
                                    • werterW werter referenced this topic on
                                    • werterW werter referenced this topic on
                                    • werterW werter referenced this topic on
                                    • werterW werter referenced this topic on
                                    • werterW werter referenced this topic on
                                    • werterW werter referenced this topic on
                                    • ChrisLynchC
                                      ChrisLynch @stephenw10
                                      last edited by

                                      @stephenw10 I can confirm just like @hendryjl that this happens VM to VM in the same host or across Hyper-V hosts. Disabling RSC in the vSwitch fixed the issue I was having with pfSense 2.6.0. I didn't want to update to 2.7_devel branch, and didn't want to go back to 2.5.2. Will wait for 2.7 CE to be officially released and test again.

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