Navigation

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

    PC Engines apu2 experiences

    Hardware
    69
    605
    91367
    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.
    • Qinn
      Qinn @kevindd992002 last edited by

      @kevindd992002 Why only the receive (rx) and not the transmit (tx) in the loader.conf.local file and why did you not uncheck?

      Hardware TCP Segmentation Offloading
      Hardware Large Receive Offloading

      K 1 Reply Last reply Reply Quote 0
      • K
        kevindd992002 @Qinn last edited by

        @qinn said in PC Engines apu2 experiences:

        @kevindd992002 Why only the receive (rx) and not the transmit (tx) in the loader.conf.local file and why did you not uncheck?

        Hardware TCP Segmentation Offloading
        Hardware Large Receive Offloading

        Answers to your questions:

        https://forum.netgate.com/post/908003

        Qinn 1 Reply Last reply Reply Quote 0
        • Qinn
          Qinn @kevindd992002 last edited by

          @kevindd992002 You are refring to my own reply, but these settings are from a older date and referred to pre pfSense version 2.4.5-p1

          You should now have these and then reboot

          pfSense-2.4.5-p1.png

          https://forum.netgate.com/topic/95148/pc-engines-apu2-experiences/384

          K 1 Reply Last reply Reply Quote 0
          • K
            kevindd992002 @Qinn last edited by

            @qinn said in PC Engines apu2 experiences:

            @kevindd992002 You are refring to my own reply, but these settings are from a older date and referred to pre pfSense version 2.4.5-p1

            You should now have these and then reboot

            pfSense-2.4.5-p1.png

            https://forum.netgate.com/topic/95148/pc-engines-apu2-experiences/384

            I'm still confused. I wasn't referring to your reply. I was referring to @dugeem 's reply when we discussed this.

            Again, read https://forum.netgate.com/post/908003

            Let me quote some parts of his reply:

            "Firstly TSO & LRO should always be disabled on routers. Netgate recommend this (hence pfSense defaults) as do others. BSDRP have even tested this and found routing performance drop negligible from enabling TSO & LRO (see link below)."

            "hw.igb.tx_process_limit already defaults to -1 so no need to change this."

            So those are the answers to your questions. Also, like I mentioned in my reply today:

            "Also, it looks like the guys here updated their article but they are still insisting to enable all three HW offloads as they see that it gives better speeds."

            So, to summarize, dugeem explained very well that TSO and LRO needs to be disabled (so checked) and that the teklager article is wrong. With their updated article, they are still insisting to keep those three offloads enabled.

            Everything clear now?

            1 Reply Last reply Reply Quote 0
            • DaddyGo
              DaddyGo @kevindd992002 last edited by

              @kevindd992002 said in PC Engines apu2 experiences:

              Also, it looks like the guys here updated their article but they are still insisting to enable all three HW offloads as they see that it gives better speeds.

              Hi,

              Because of the behavior of the TSO and LRO, it is important ...
              This is an endpoint question and not a routing and / or a router NIC setup ...

              this will definitely help you understand the behavior (FreeBSD):

              https://calomel.org/freebsd_network_tuning.html
              https://calomel.org/network_performance.html
              https://blog.cloudflare.com/how-to-receive-a-million-packets/

              TSO and LRO are not good, if you are a router, but if you are an endpoint you can use them...

              remember you're talking about an APU (pcEngines) stuff and an i211 thing, you'll do more if you could increase your PCie bus speed and / or RAM

              With such a MOBO, the opportunity is not given... 😉
              (dmesg | grep -i msi)

              which can help a lot, disabling EEE and FC on igb0-3

              Something like:

              bd259da3-26b0-4036-ac8e-4219c6515d8d-image.png

              K 1 Reply Last reply Reply Quote 0
              • K
                kevindd992002 @DaddyGo last edited by

                @daddygo said in PC Engines apu2 experiences:

                @kevindd992002 said in PC Engines apu2 experiences:

                Also, it looks like the guys here updated their article but they are still insisting to enable all three HW offloads as they see that it gives better speeds.

                Hi,

                Because of the behavior of the TSO and LRO, it is important ...
                This is an endpoint question and not a routing and / or a router NIC setup ...

                this will definitely help you understand the behavior (FreeBSD):

                https://calomel.org/freebsd_network_tuning.html
                https://calomel.org/network_performance.html
                https://blog.cloudflare.com/how-to-receive-a-million-packets/

                TSO and LRO are not good, if you are a router, but if you are an endpoint you can use them...

                remember you're talking about an APU (pcEngines) stuff and an i211 thing, you'll do more if you could increase your PCie bus speed and / or RAM

                With such a MOBO, the opportunity is not given... 😉
                (dmesg | grep -i msi)

                which can help a lot, disabling EEE and FC on igb0-3

                Something like:

                bd259da3-26b0-4036-ac8e-4219c6515d8d-image.png

                So are you recommending that TSO and LRO be enabled in this use case?

                Also, I would really want to know what all those system tunables do before I implement them blindly to my system.

                @dugeem any comment on this since you were the one who explained the routing concept for these parameters in the first place?

                DaddyGo 1 Reply Last reply Reply Quote 0
                • DaddyGo
                  DaddyGo @kevindd992002 last edited by DaddyGo

                  @kevindd992002 said in PC Engines apu2 experiences:

                  So are you recommending that TSO and LRO be enabled in this use case?

                  So we have been using APU4d4 stuff at the endpoints of our users and colleagues for years, so I can tell you first hand that their performance is finite....

                  The answer to your question is to never enable TSO and LRO on a router

                  +++edit:
                  this is an old thread, read my posts above 😉

                  BTW:
                  why do you think the TSO and LRO are disabled after a clean pfSense install (by Netgate)

                  K 2 Replies Last reply Reply Quote 0
                  • K
                    kevindd992002 @DaddyGo last edited by

                    @daddygo said in PC Engines apu2 experiences:

                    @kevindd992002 said in PC Engines apu2 experiences:

                    So are you recommending that TSO and LRO be enabled in this use case?

                    So we have been using APU4d4 stuff at the endpoints of our users and colleagues for years, so I can tell you first hand that their performance is finite....

                    The answer to your question is to never enable TSO and LRO on a router

                    Yes, I'm aware that you are well-experienced with this boards. And I believe you. I'm just making sure that I'm running these APU2C4's to their max potential. And as you can see in my post yesterday, I have TSO and LRO disabled since early this year.

                    Also, I transitioned from using OpenVPN to IKEv2 IPsec and I can't believe my own eyes how fast IPsec is. I had to switch because I upgraded the Internet subscription of my remote site to 100/100. In any case, do you have any ideas on my question here?

                    1 Reply Last reply Reply Quote 0
                    • K
                      kevindd992002 @DaddyGo last edited by

                      @daddygo said in PC Engines apu2 experiences:

                      @kevindd992002 said in PC Engines apu2 experiences:

                      So are you recommending that TSO and LRO be enabled in this use case?

                      So we have been using APU4d4 stuff at the endpoints of our users and colleagues for years, so I can tell you first hand that their performance is finite....

                      The answer to your question is to never enable TSO and LRO on a router

                      +++edit:
                      this is an old thread, read my posts above 😉

                      BTW:
                      why do you think the TSO and LRO are disabled after a clean pfSense install (by Netgate)

                      Where did I say that TSO and LRO are disabled after a clean install of pfSense? I never said that.

                      1 Reply Last reply Reply Quote 0
                      • K
                        kevindd992002 last edited by

                        Is it recommended to downgrade from 14.13.0.1 to 14.11.0.6 for the APU2C4 since it says on pcengines' website that the recommended firmware is the "latest 4.11.x.x"? Can you downgrade without any issues?

                        fireodo 1 Reply Last reply Reply Quote 0
                        • fireodo
                          fireodo @kevindd992002 last edited by

                          @kevindd992002 said in PC Engines apu2 experiences:

                          Can you downgrade without any issues?

                          Yes, but you have to respect the correct flashing procedure.
                          Current BIOS is v4.13.0.2 so why downgrade?

                          1 Reply Last reply Reply Quote 0
                          • K
                            kevindd992002 last edited by

                            @fireodo where can I see the proper flashing procedure/order? And like I said, the only reason I'm considering downgrading is because 4.11.x.x is the recommended firmware as mentioned in their website.

                            fireodo 1 Reply Last reply Reply Quote 0
                            • fireodo
                              fireodo @kevindd992002 last edited by fireodo

                              @kevindd992002 said in PC Engines apu2 experiences:

                              @fireodo where can I see the proper flashing procedure/order?

                              Here:
                              Apu-Flashing

                              And like I said, the only reason I'm considering downgrading is because 4.11.x.x is the recommended firmware as mentioned in their website.

                              OK, understood.

                              Regards,
                              fireodo

                              K 1 Reply Last reply Reply Quote 0
                              • K
                                kevindd992002 @fireodo last edited by

                                @fireodo said in PC Engines apu2 experiences:

                                @kevindd992002 said in PC Engines apu2 experiences:

                                @fireodo where can I see the proper flashing procedure/order?

                                Here:
                                Apu-Flashing

                                And like I said, the only reason I'm considering downgrading is because 4.11.x.x is the recommended firmware as mentioned in their website.

                                OK, understood.

                                Regards,
                                fireodo

                                Ahh, I thought you were pertaining to an "order" of flashing when downgrading. So it's just the usual flashing procedure then? I'm using flashrom inside of pfsense. So I can directly go from 14.13.0.1 to 14.11.0.6?

                                fireodo 1 Reply Last reply Reply Quote 0
                                • fireodo
                                  fireodo @kevindd992002 last edited by

                                  @kevindd992002 said in PC Engines apu2 experiences:

                                  @fireodo said in PC Engines apu2 experiences:

                                  @kevindd992002 said in PC Engines apu2 experiences:

                                  @fireodo where can I see the proper flashing procedure/order?

                                  Here:
                                  Apu-Flashing

                                  And like I said, the only reason I'm considering downgrading is because 4.11.x.x is the recommended firmware as mentioned in their website.

                                  OK, understood.

                                  Regards,
                                  fireodo

                                  Ahh, I thought you were pertaining to an "order" of flashing when downgrading. So it's just the usual flashing procedure then? I'm using flashrom inside of pfsense. So I can directly go from 14.13.0.1 to 14.11.0.6?

                                  You mean v4.13.0.1 to v4.11.0.6? If so yes, no problem, dont forget to interrupt power supply after flashing. (important to ensure a BIOS CMOS-Reset)

                                  Regards,
                                  fireodo

                                  K 1 Reply Last reply Reply Quote 0
                                  • K
                                    kevindd992002 @fireodo last edited by

                                    @fireodo Sorry, yes, that's what I meant. And yes, I always make sure to interrupt power supply after flashing, for about 10 seconds.

                                    Do you think it's still wise to downgrade though?

                                    fireodo 1 Reply Last reply Reply Quote 0
                                    • fireodo
                                      fireodo @kevindd992002 last edited by fireodo

                                      @kevindd992002 said in PC Engines apu2 experiences:

                                      @fireodo Sorry, yes, that's what I meant. And yes, I always make sure to interrupt power supply after flashing, for about 10 seconds.

                                      Do you think it's still wise to downgrade though?

                                      If everything work as expected you dont have to downgrade. The v4.13.0.2 has cleanup all problems that raised in the latest time - so if there is no trouble you dont need to down/upgrade.

                                      Regards,
                                      fireodo

                                      1 Reply Last reply Reply Quote 1
                                      • Qinn
                                        Qinn last edited by Qinn

                                        @kevindd992002 I am for 3 days on bios mainline version 13.0.2 (don't use the legacy anymore) and no issues, IMO there is no reason to revert back to an older bios version and as @fireodo mentioned, whenever you upgraded to a new bios version you should power down the system. This is best done by going to the Diagnostics -> Halt System, wait for the system to power down, check if the power led is off, then remove the power plug, wait for 30 sec and then re-insert the power plug.

                                        K 1 Reply Last reply Reply Quote 0
                                        • K
                                          kevindd992002 @Qinn last edited by

                                          @qinn said in PC Engines apu2 experiences:

                                          @kevindd992002 I am for 3 days on bios mainline version 13.0.2 (don't use the legacy anymore) and no issues, IMO there is no reason to revert back to an older bios version and as @fireodo mentioned, whenever you upgraded to a new bios version you should power down the system. This is best done by going to the Diagnostics -> Halt System, wait for the system to power down, check if the power led is off, then remove the power plug, wait for 30 sec and then re-insert the power plug.

                                          Ok, I'll just upgrade to 4.13.0.2 instead. And yes, I always do those same steps when upgrading the APU2 firwamre. I always gracefully shutdown/reset the APU2.

                                          Qinn DaddyGo 2 Replies Last reply Reply Quote 0
                                          • Qinn
                                            Qinn @kevindd992002 last edited by Qinn

                                            Another advise when you got the time. When you are still using UFS it is best to move over to the filesystem ZFS, this system can withstand power-loss better than UFS, as the APU2C4 has ECC memory which gives almost a 100% safeguard against bit errors.

                                            Also recommend by Netgate https://docs.netgate.com/pfsense/en/latest/install/install-walkthrough.html

                                            K V 2 Replies Last reply Reply Quote 0
                                            • K
                                              kevindd992002 @Qinn last edited by

                                              @qinn said in PC Engines apu2 experiences:

                                              Another advise when you got the time. When you are still using UFS it is best to move over to the filesystem to ZFS, this system can withstand power-loss better that the default filesystem as the APU2C4 has ECC memory with gives almost a 100% safeguard against bit errors.

                                              Also recommend by Netgate https://docs.netgate.com/pfsense/en/latest/install/install-walkthrough.html

                                              Way ahead of you on that, I already am on ZFS. I swtiched from UFS to ZFS a few years ago :) Thanks for the suggestion though.

                                              1 Reply Last reply Reply Quote 1
                                              • DaddyGo
                                                DaddyGo @kevindd992002 last edited by

                                                @kevindd992002 said in PC Engines apu2 experiences:

                                                Ok, I'll just upgrade to 4.13.0.2 instead.

                                                ✋

                                                Always follow the manufacturer's and BIOS developer's instructions, these are not stupid guys and are moving forward rather than backward 😉

                                                af82dfa0-266a-45fe-81c5-b7fc009995eb-image.png

                                                K 1 Reply Last reply Reply Quote 0
                                                • K
                                                  kevindd992002 @DaddyGo last edited by

                                                  @daddygo said in PC Engines apu2 experiences:

                                                  @kevindd992002 said in PC Engines apu2 experiences:

                                                  Ok, I'll just upgrade to 4.13.0.2 instead.

                                                  ✋

                                                  Always follow the manufacturer's and BIOS developer's instructions, these are not stupid guys and are moving forward rather than backward 😉

                                                  af82dfa0-266a-45fe-81c5-b7fc009995eb-image.png

                                                  Not sure what you mean. The recommendation is 4.11.0.6.

                                                  35c7c4b2-d3d7-4f01-86fa-4e00689c9d5a-image.png

                                                  DaddyGo 1 Reply Last reply Reply Quote 0
                                                  • DaddyGo
                                                    DaddyGo @kevindd992002 last edited by

                                                    @kevindd992002 said in PC Engines apu2 experiences:

                                                    Not sure what you mean. The recommendation is 4.11.0.6.

                                                    Hmmmmm..

                                                    Yeah I know... (I see you are not an "old biker" with the APU MOBOs)
                                                    My friend this is an old web wording on the site (everyone runs into this) and the guys is messy and the site not updated...

                                                    pls. subscribe to the newsletter and there are the latest infos, they told us a thousand times why it is not recommended the legacy / old BIOS

                                                    but you can also monitor the BIOS developments and ask the questions on GitHub..

                                                    the polish guys (3mdeb), super informatives, by contrast with pcEngines, they only answer the sales questions, hahaha 😉

                                                    1 Reply Last reply Reply Quote 2
                                                    • V
                                                      Vollans last edited by

                                                      Hi all, I had my apu4d4 delivered last week, and it’s working pretty well. It’s easily coping with my NBN connection.

                                                      One thing I’ve not managed to find a definitive answer to is if the hardware watchdog in it is compatible with pfSense and if it is how to enable/configure it. Anyone?

                                                      Qinn 1 Reply Last reply Reply Quote 0
                                                      • Qinn
                                                        Qinn @Vollans last edited by

                                                        @vollans I can’t comment, I only use the service_watchdog from the package manager and that works rather nice. If you are worried for power surges, be sure to use the ZFS filesystem.

                                                        V 1 Reply Last reply Reply Quote 0
                                                        • V
                                                          Vollans @Qinn last edited by

                                                          @qinn oh, don’t worry, I already do.

                                                          1 Reply Last reply Reply Quote 0
                                                          • fireodo
                                                            fireodo last edited by

                                                            Hi,

                                                            is there somebody who's running pfsense 2.5.0 on his APU and is he/she getting the Front-LEDs working?

                                                            Thanks,
                                                            fireodo

                                                            Qinn 1 Reply Last reply Reply Quote 0
                                                            • Qinn
                                                              Qinn @fireodo last edited by Qinn

                                                              @fireodo No I don't use it and you mean the RC, as to the best of my knowledge it isn't released, yet.

                                                              fireodo 1 Reply Last reply Reply Quote 0
                                                              • fireodo
                                                                fireodo @Qinn last edited by fireodo

                                                                @qinn said in PC Engines apu2 experiences:

                                                                @fireodo No I don't use and you mean the RC, as to the best of my knowledge it isn't released, yet.

                                                                The 2.5.0 RC is available since today and i installed it on a APU2C0 (spare-test) but the old apuled.ko driver (compiled for freebsd 11.) is not working anymore and a new compiled driver for freebsd 12 (2.5.0 RC is based on) is not working. I also have seen that the /dev/led/ is missing in the tree.

                                                                Qinn V 2 Replies Last reply Reply Quote 1
                                                                • Qinn
                                                                  Qinn @fireodo last edited by

                                                                  @fireodo Maybe report it by starting a new thread in an appropriate category and explain the problem in as much detail as possible.

                                                                  fireodo 1 Reply Last reply Reply Quote 1
                                                                  • V
                                                                    Vollans @fireodo last edited by

                                                                    @fireodo Thanks for that, saves me the hassle of upgrading and working it out for myself! I’ve just finished modifying the script to my taste to show me if my primary nbn or secondary 4G connections are having problems.

                                                                    1 Reply Last reply Reply Quote 0
                                                                    • fireodo
                                                                      fireodo @Qinn last edited by fireodo

                                                                      @vollans
                                                                      @qinn said in PC Engines apu2 experiences:

                                                                      @fireodo Maybe report it by starting a new thread in an appropriate category and explain the problem in as much detail as possible.

                                                                      I made a few tests this day. Going back to the APU2 Bios version 4.9.0.6 the driver I compiled with freebsd 12.1 is working as expected. I dont know why with bioses above 4.10.0 the patch in boot.conf.local (debug.acpi.avoid="_SB_.PCI0.GPIO") have no effect in freebsd 12.2 (pfsense 2.5.0 RC)

                                                                      So until here - good news! 😊
                                                                      fireodo
                                                                      PS. If someone likes to test too, here is the driver.apuled12.ko

                                                                      V K 2 Replies Last reply Reply Quote 2
                                                                      • S
                                                                        saltandpepper last edited by

                                                                        Hi

                                                                        Since today 2.5.0 is released. Has already someone tested how the performance is impacted by the new version?

                                                                        K L P 3 Replies Last reply Reply Quote 0
                                                                        • K
                                                                          keen @saltandpepper last edited by

                                                                          @saltandpepper Yes upgraded without any problems

                                                                          1 Reply Last reply Reply Quote 0
                                                                          • Qinn
                                                                            Qinn last edited by

                                                                            Update to pfS 2.5.0 went smooth.

                                                                            1 Reply Last reply Reply Quote 0
                                                                            • L
                                                                              logan5247 @saltandpepper last edited by

                                                                              @saltandpepper I also had a smooth update.

                                                                              1 Reply Last reply Reply Quote 1
                                                                              • V
                                                                                Vollans @fireodo last edited by

                                                                                @fireodo said in PC Engines apu2 experiences:

                                                                                I made a few tests this day. Going back to the APU2 Bios version 4.9.0.6 the driver I compiled with freebsd 12.1 is working as expected. I dont know why with bioses above 4.10.0 the patch in boot.conf.local (debug.acpi.avoid="_SB_.PCI0.GPIO") have no effect in freebsd 12.2 (pfsense 2.5.0 RC)

                                                                                I can confirm that 4.9.0.7 works with the final release version as well with your module. 4.10.x onwards doesn’t.

                                                                                fireodo 1 Reply Last reply Reply Quote 1
                                                                                • fireodo
                                                                                  fireodo @Vollans last edited by

                                                                                  @vollans said in PC Engines apu2 experiences:

                                                                                  @fireodo said in PC Engines apu2 experiences:

                                                                                  I made a few tests this day. Going back to the APU2 Bios version 4.9.0.6 the driver I compiled with freebsd 12.1 is working as expected. I dont know why with bioses above 4.10.0 the patch in boot.conf.local (debug.acpi.avoid="_SB_.PCI0.GPIO") have no effect in freebsd 12.2 (pfsense 2.5.0 RC)

                                                                                  I can confirm that 4.9.0.7 works with the final release version as well with your module. 4.10.x onwards doesn’t.

                                                                                  Thanks for the feedback!

                                                                                  Fine Weekend,
                                                                                  fireodo

                                                                                  V 1 Reply Last reply Reply Quote 1
                                                                                  • V
                                                                                    Vollans @fireodo last edited by

                                                                                    @fireodo I’ve just looked at the output of dmesg after it loaded:

                                                                                    apuled0: <APU4> at iomem 0xfed81610-0xfed8161b,0xfed81664-0xfed81667 on isa0

                                                                                    It looks like it’s on the ISA connection not the PCI.

                                                                                    1 Reply Last reply Reply Quote 0
                                                                                    • First post
                                                                                      Last post

                                                                                    Products

                                                                                    • Platform Overview
                                                                                    • TNSR
                                                                                    • pfSense
                                                                                    • Appliances

                                                                                    Services

                                                                                    • Training
                                                                                    • Professional Services

                                                                                    Support

                                                                                    • Subscription Plans
                                                                                    • Contact Support
                                                                                    • Product Lifecycle
                                                                                    • Documentation

                                                                                    News

                                                                                    • Media Coverage
                                                                                    • Press
                                                                                    • Events

                                                                                    Resources

                                                                                    • Blog
                                                                                    • FAQ
                                                                                    • Find a Partner
                                                                                    • Resource Library
                                                                                    • Security Information

                                                                                    Company

                                                                                    • About Us
                                                                                    • Careers
                                                                                    • Partners
                                                                                    • Contact Us
                                                                                    • Legal
                                                                                    Our Mission

                                                                                    We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                                                                                    Subscribe to our Newsletter

                                                                                    Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                                                                                    © 2021 Rubicon Communications, LLC | Privacy Policy