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

PC Engines apu2 experiences

Scheduled Pinned Locked Moved Hardware
711 Posts 73 Posters 808.2k 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.
  • F
    fireodo @Vollans
    last edited by Feb 19, 2021, 9:00 PM

    @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

    Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
    SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
    pfsense 2.8.0 CE
    Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

    V 1 Reply Last reply Feb 19, 2021, 9:07 PM Reply Quote 1
    • V
      Vollans @fireodo
      last edited by Feb 19, 2021, 9:07 PM

      @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 Feb 19, 2021, 9:15 PM

        @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...

        F 1 Reply Last reply Feb 20, 2021, 7:56 AM Reply Quote 0
        • F
          fireodo @kimble
          last edited by Feb 20, 2021, 7:56 AM

          @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

          Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
          SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
          pfsense 2.8.0 CE
          Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

          1 Reply Last reply Reply Quote 0
          • T
            tele_01
            last edited by Feb 22, 2021, 3:54 PM

            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 Feb 22, 2021, 6:39 PM Reply Quote 0
            • S
              saltandpepper
              last edited by Feb 22, 2021, 6:31 PM

              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 Feb 23, 2021, 10:25 AM Reply Quote 1
              • T
                tele_01 @tele_01
                last edited by Feb 22, 2021, 6:39 PM

                @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 Feb 23, 2021, 10:25 AM

                  @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 Feb 23, 2021, 11:15 AM Reply Quote 0
                  • B
                    bigsy @bofh_1337
                    last edited by Feb 23, 2021, 11:15 AM

                    @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 Feb 23, 2021, 12:32 PM Feb 23, 2021, 12:27 PM

                      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
                      • Q
                        Qinn
                        last edited by Qinn Feb 23, 2021, 2:32 PM Feb 23, 2021, 1:20 PM

                        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?

                        Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                        Firmware: Latest-stable-pfSense CE (amd64)
                        Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                        G 1 Reply Last reply Feb 23, 2021, 2:28 PM Reply Quote 0
                        • G
                          GertJanT @Qinn
                          last edited by Feb 23, 2021, 2:28 PM

                          @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.

                          Q 1 Reply Last reply Feb 23, 2021, 3:29 PM Reply Quote 0
                          • Q
                            Qinn @GertJanT
                            last edited by Qinn Feb 23, 2021, 3:50 PM Feb 23, 2021, 3:29 PM

                            @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

                            Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                            Firmware: Latest-stable-pfSense CE (amd64)
                            Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                            K T 2 Replies Last reply Feb 23, 2021, 4:14 PM Reply Quote 1
                            • K
                              kevindd992002 @Qinn
                              last edited by Feb 23, 2021, 4:14 PM

                              @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 Feb 23, 2021, 4:14 PM

                                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 Feb 23, 2021, 4:51 PM Reply Quote 1
                                • T
                                  tele_01 @tman222
                                  last edited by tele_01 Feb 23, 2021, 4:53 PM Feb 23, 2021, 4:51 PM

                                  @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 Feb 23, 2021, 4:53 PM Reply Quote 0
                                  • T
                                    tman222 @tele_01
                                    last edited by tman222 Feb 23, 2021, 4:54 PM Feb 23, 2021, 4:53 PM

                                    @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 Feb 23, 2021, 6:30 PM Reply Quote 1
                                    • T
                                      tele_01 @tman222
                                      last edited by Feb 23, 2021, 6:30 PM

                                      @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 Feb 23, 2021, 7:53 PM Reply Quote 0
                                      • T
                                        tman222 @tele_01
                                        last edited by Feb 23, 2021, 7:53 PM

                                        @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 Feb 24, 2021, 9:56 AM Reply Quote 1
                                        • T
                                          tele_01 @tman222
                                          last edited by Feb 24, 2021, 9:56 AM

                                          @tman222 You are welcome - I was also interested. I went back to pfS 2.4.5p1 and I'm on 101Mbit/s throughput again with OpenVPN.

                                          1 Reply Last reply Reply Quote 0
                                          562 out of 711
                                          • First post
                                            562/711
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received