Navigation

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

    PC Engines apu2 experiences

    Hardware
    69
    605
    91366
    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 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
                                                  • K
                                                    kimble @fireodo last edited by

                                                    @fireodo said in PC Engines apu2 experiences:

                                                    PS. If someone likes to test too, here is the driver.apuled12.ko

                                                    On v4.11.0.2:

                                                    apuled0: <APU4> at iomem 0xfed81610-0xfed8161b,0xfed81664-0xfed81667 on isa0
                                                    apuled0: Unable to allocate memory region 0
                                                    device_attach: apuled0 attach returned 6
                                                    

                                                    If that's any help...

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

                                                      @kimble said in PC Engines apu2 experiences:

                                                      On v4.11.0.2:

                                                      As I wrote in my post before - it don't work on APUs with Bios 4.10 and above!

                                                      apuled0: <APU4> at iomem 0xfed81610-0xfed8161b,0xfed81664-0xfed81667 on isa0
                                                      apuled0: Unable to allocate memory region 0
                                                      device_attach: apuled0 attach returned 6

                                                      
                                                      If that's any help...
                                                      

                                                      Regards and fine Weekend,
                                                      fireodo

                                                      1 Reply Last reply Reply Quote 0
                                                      • T
                                                        tele_01 last edited by

                                                        I've updated an APU2C4 from 2.4.5p1 to 2.5. After adjusting some setup to new OpenVPN Client options it was working fine with my uploaded backup data from 2.4.5p1. Also Squid and pfBlockerNG Devil are working well. A real impact is the VPN speed - even if I've used the same settings as my VPN provider taught for version 2.5. I'm using OpenVPN with NordVPN and after updating the d/l speed is the half. Under 2.4.5p1 I've had about 96Mbit/s now at about 50Mbit/s. I've tried different options also under "Allow Compression" in the VPN Client settings but no change achieved so far, also with a different server. If this will is not getting better I'll go back to 2.4.5p1.

                                                        By the way, the processor load was not above 90% via SSH with 2.5. On 2.4.5p1 I experienced sometimes more than 100Mbit/s in d/l (provider hosts max 120mbit) the processor load was at about 94%. I use Coreboot 4.0.7 because a lot of other rom's were not stable. I'll give 4.9.0.2 another try.

                                                        T 1 Reply Last reply Reply Quote 0
                                                        • S
                                                          saltandpepper last edited by

                                                          2.5 seems to have an impact on the performace. I didnt measure VPN traffic yet but on the WAN-LAN troughput i noticed a decrease around 200mbit (or 1/3).

                                                          B 1 Reply Last reply Reply Quote 1
                                                          • T
                                                            tele_01 @tele_01 last edited by

                                                            @tele_01 To my initial post here - I've updated APU2C4 BIOS to the 4.9.0.2 rom and its stable for now. I've could achieve about 57 Mbit/s at 92% processor load via VPN which is a loss against 2.4.5p1. This is a huge difference in throughput per load under OpenVPN....going back to previous version 2.4.5p1.

                                                            1 Reply Last reply Reply Quote 0
                                                            • B
                                                              bofh_1337 @saltandpepper last edited by

                                                              @saltandpepper I experienced the same. Got a 400/50 but cannot archive more than 330-340 Mbit. 2.4.5 did not have any impact.

                                                              B 1 Reply Last reply Reply Quote 0
                                                              • B
                                                                bigsy @bofh_1337 last edited by

                                                                @bofh_1337 TekLager also report a reduction in routing from 750 Mbit/s (pfS 2.4.5) to 590 Mbit/s (pfS 2.5.0) on a single connection.

                                                                1 Reply Last reply Reply Quote 0
                                                                • T
                                                                  tman222 last edited by tman222

                                                                  There have been some changes on how FreeBSD 12 (on which pfSense 2.5.0 is based) handles the NIC driver interfacing with the OS kernel, which may be contributing to these performance changes. I wrote a little bit more about this here:

                                                                  https://forum.netgate.com/topic/160932/pfsense-community-edition-ce-2-5-0-and-pfsense-plus-21-02-now-available/27

                                                                  If you had some hardware tunables set for your Intel igb interfaces, it's probably worth reviewing them. They may need to bet set through iflib now, on in some cases may no longer be supported. Hope this helps.

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

                                                                    I read that they advice to not tweak anything for pfS 2.5.0, what they failed to (or I missed it) mention, is what the settings should be now?

                                                                    Can anyone paste the settings for :

                                                                    Web panel -> System -> Advanced -> Networking

                                                                    Web panel -> System -> Advanced -> SystemTunables

                                                                    net.inet6.ip6.redirect=0
                                                                    net.inet.ip.redirect=0

                                                                    and what should /boot/loader.conf.local be?

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

                                                                      @qinn Same here.
                                                                      https://teklager.se/en/knowledge-base/apu2-1-gigabit-throughput-pfsense/
                                                                      Here also all tweaks are mentioned but not clue what the new default should be.

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

                                                                        @gertjant It did a install on VM and found these, please remember this is not the same Hardware as the APU2. It would be nice if some can confirm this (btw I can remember that /boot/loader.conf.local had to be created and was not there in default pfSense, seems my VM install confirms this)

                                                                        local.conf.local.png

                                                                        System-Advanced-System Tunables.png

                                                                        System-Advanced--Networking.png

                                                                        K T 2 Replies Last reply Reply Quote 1
                                                                        • K
                                                                          kevindd992002 @Qinn last edited by

                                                                          @qinn said in PC Engines apu2 experiences:

                                                                          @gertjant It did a install on VM and found these, please remember this is not the same Hardware as the APU2. It would be nice if some can confirm this (btw I can remember that /boot/loader.conf.local had to be created and was not there in default pfSense, seems my VM install confirms this)

                                                                          local.conf.local.png

                                                                          System-Advanced-System Tunables.png

                                                                          System-Advanced--Networking.png

                                                                          Thank you for doing this. I was planning on reverting the changes to their defaults as well but I forgot what the defaults were. After reading your post, I deleted /boot/loader.conf.local and reverted the ICMP redirects to 1.

                                                                          The ICMP redirects issue is fixed as confirmed by @jimp here a few hours ago. So need for those tweaks.

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

                                                                            I don't have a an APU2 to test, but I might try setting / modifying the following tunables in 2.5.0 to start see if performance improves:

                                                                            hw.em.rx_process_limit="-1"
                                                                            dev.igb.X.iflib.override_nrxds="2048"
                                                                            dev.igb.X.iflib.override_ntxds="2048"
                                                                            

                                                                            where X is the interface number, i.e. 0, 1, 2....N. If 2048 is too low, one could also try 4096 for override_nrxds and override_ntxds to see if performance improves.

                                                                            Hope this helps.

                                                                            References:
                                                                            https://www.freebsd.org/cgi/man.cgi?query=em&apropos=0&sektion=4&manpath=FreeBSD+12.2-RELEASE+and+Ports&arch=default&format=html
                                                                            https://www.freebsd.org/cgi/man.cgi?query=iflib&apropos=0&sektion=4&manpath=FreeBSD+12.2-RELEASE+and+Ports&arch=default&format=html
                                                                            https://forums.freebsd.org/threads/freebsd-12-sysctl-system-parameters.78806/

                                                                            T 1 Reply Last reply Reply Quote 1
                                                                            • T
                                                                              tele_01 @tman222 last edited by tele_01

                                                                              @tman222

                                                                              Thank you tman222. When I put these changes into the executable prompt of the pfS or via SSH, is a reboot required?

                                                                              T 1 Reply Last reply Reply Quote 0
                                                                              • T
                                                                                tman222 @tele_01 last edited by tman222

                                                                                @tele_01 said in PC Engines apu2 experiences:

                                                                                @tman222

                                                                                Thank you tman222. I've seen your username also in a German FreeBSD forum. When I put these changes into the executable prompt of the pfS or via SSH, is a reboot required?

                                                                                I would put them in your loader.conf.local file and then reboot. Once system has rebooted, login via ssh and confirm via the sysctl command that the tunables are properly set and then test.

                                                                                T 1 Reply Last reply Reply Quote 1
                                                                                • T
                                                                                  tele_01 @tman222 last edited by

                                                                                  @tman222 said in PC Engines apu2 experiences:

                                                                                  sysctl

                                                                                  I did what you have recommended and could achieve the confirmation about tuneables via sysctl -f loader.conf.local file after reboot. I've tried both values whereas 2048 had a slightly better value with 58Mbit/s. Resuming by keeping also an eye on processor load, with pfS 2.4.5p1 the throughput was more than 40% higher (96Mbit/s) at the same processor load with approx 94%. I'm expecting the processing power of the AMD GX-412TC within the APU2C4 design is at its end supporting FreeBSD12.2 or higher, the NIC's and their integration are fine for me.

                                                                                  T 1 Reply Last reply Reply Quote 0
                                                                                  • T
                                                                                    tman222 @tele_01 last edited by

                                                                                    @tele_01 said in PC Engines apu2 experiences:

                                                                                    @tman222 said in PC Engines apu2 experiences:

                                                                                    sysctl

                                                                                    I did what you have recommended and could achieve the confirmation about tuneables via sysctl -f loader.conf.local file after reboot. I've tried both values whereas 2048 had a slightly better value with 58Mbit/s. Resuming by keeping also an eye on processor load, with pfS 2.4.5p1 the throughput was more than 40% higher (96Mbit/s) at the same processor load with approx 94%. I'm expecting the processing power of the AMD GX-412TC within the APU2C4 design is at its end supporting FreeBSD12.2 or higher, the NIC's and their integration are fine for me.

                                                                                    @tele_01 - thanks for following up. Since the hw.igb.rx_process_limit and hw.igb.tx_process_limit tunables were removed in FreeBSD 12+, I was hoping that the hw.em.rx_process_limit tunable might be a replacement for both em and igb based cards (since those drivers were combined). But perhaps not. Interestingly enough, in my case I'm actually seeing somewhat of a throughput increase from 2.4.5p1 to 2.5.0, albeit with a more powerful system (Intel Xeon D-1518 based).

                                                                                    T 1 Reply Last reply Reply Quote 1
                                                                                    • 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