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

    PC Engines apu2 experiences

    Scheduled Pinned Locked Moved Hardware
    711 Posts 73 Posters 757.7k 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.
    • QinnQ
      Qinn @daemonix
      last edited by Qinn

      @daemonix I run Ntopng, no worries works good.

      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

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

        @Qinn said in PC Engines apu2 experiences:

        @daemonix I run Ntopng, no worries work good.

        Hmm, strange here - i uninstalled ntopng because every time I saved the settings I got a core dump (but ntopng has continued to work).

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

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

          @fireodo In the past, Ntopng was slow, not to say very slow and I walked away from it, in the beginning of this year I tried it again and I was amazed how it progressed.

          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

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

            @Qinn said in PC Engines apu2 experiences:

            @fireodo In the past, Ntopng was slow, not to say very slow and I walked away from it, in the beginning of this year I tried it again and I was amazed how it progressed.

            I am speaking from the newest version (0.8.13_5) and its the "core dump" what make me uninstall it - not the speed.

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

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

              @fireodo I am running ntopng v0.8.13_5 runs like a charm, maybe it's the ram, although your 2Gb should be enough as when I stop the service, memory usage goes down a 10% here...

              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

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

                @Qinn said in PC Engines apu2 experiences:

                @fireodo I am running ntopng v0.8.13_5 runs like a charm, maybe it's the ram, although your 2Gb should be enough as when I stop the service, memory usage goes down a 10% here...

                Lucky you - it was running fine here too, (excluding the core dump on saving settings) - maybe there is something in my configuration that is conflicting with it when I'm saving the settings ...

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

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

                  @fireodo Just a guess as default Ntopng keeps settings, maybe, uncheck this and then remove the package, then reinstall, maybe vanilla works fine ๐Ÿ˜‰

                  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

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

                    @Qinn said in PC Engines apu2 experiences:

                    @fireodo Just a guess as default Ntopng keeps settings, maybe, uncheck this and then remove the package, then reinstall, maybe vanilla works fine ๐Ÿ˜‰

                    It was a vanilla install when that core dump issue occure - i gave it up ... โ˜น
                    (And btw: its really overkill for my network)

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

                    1 Reply Last reply Reply Quote 0
                    • D
                      daemonix
                      last edited by

                      I got some core dumps here again... I think its quite heavy for 24/7 use.

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

                        @daemonix It's running 24/7 since 6 months never had a problem with it.

                        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

                        D fireodoF 2 Replies Last reply Reply Quote 0
                        • D
                          daemonix @Qinn
                          last edited by

                          @Qinn Ill give it another go. all updated but got a core dump.

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

                            @Qinn said in PC Engines apu2 experiences:

                            @daemonix It's running 24/7 since 6 months never had a problem with it.

                            A little question: Have you CPU Boost activated?
                            https://github.com/pcengines/apu2-documentation/blob/master/docs/apu_CPU_boost.md

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

                            1 Reply Last reply Reply Quote 0
                            • A
                              apu2
                              last edited by

                              I recently bought a new APU2 board and installed pfsense 2.4.5 release. BIOS is coreboot version v4.11.0.6.
                              I had mSATA 64G drive. Installation was easy and straightforward.
                              This setup was runinig fine for about 1 month after which I started to get the following issues.

                              Disk started to show some timeouts and disconnects.
                              I can login to the system but cannot do anything that require disk read.

                              I am trying to understand if this is a hardware of software issue. Is there anything I can do to troubleshoot the issue further?
                              PC engines mention bootloader parameter hint.ahci.0.msi="0" but it is applicable only for bios version older than 4.6.7

                              igb1: link state changed to UP
                              ahcich0: Timeout on slot 1 port 0
                              ahcich0: is 00000000 cs 00000002 ss 00000000 rs 00000002 tfd d0 serr 00000000 cmd 0040e117
                              ahcich0: Timeout on slot 18 port 0
                              ahcich0: is 00000000 cs 00040000 ss 00000000 rs 00040000 tfd c0 serr 00000000 cmd 0040f217
                              ahcich0: AHCI reset: device not ready after 31000ms (tfd = 00000080)
                              ahcich0: Timeout on slot 19 port 0
                              ahcich0: is 00000000 cs 00080000 ss 00000000 rs 00080000 tfd 80 serr 00000000 cmd 0040f317
                              (aprobe0:ahcich0:0:0:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 00 00
                              (aprobe0:ahcich0:0:0:0): CAM status: Command timeout
                              (aprobe0:ahcich0:0:0:0): Retrying command
                              ahcich0: Timeout on slot 20 port 0
                              ahcich0: is 00000000 cs 00100000 ss 00000000 rs 00100000 tfd 1d0 serr 00000000 cmd 0040f417
                              (aprobe0:ahcich0:0:0:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 00 00
                              (aprobe0:ahcich0:0:0:0): CAM status: Command timeout
                              (aprobe0:ahcich0:0:0:0): Error 5, Retries exhausted
                              ahcich0: AHCI reset: device not ready after 31000ms (tfd = 00000180)
                              ahcich0: Timeout on slot 21 port 0
                              ahcich0: is 00000000 cs 00200000 ss 00000000 rs 00200000 tfd 180 serr 00000000 cmd 0040f517
                              (aprobe0:ahcich0:0:0:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 00 00
                              (aprobe0:ahcich0:0:0:0): CAM status: Command timeout
                              (aprobe0:ahcich0:0:0:0): Error 5, Retry was blocked
                              ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
                              ada0: <MT-64 H180516> s/n 978081794579 detached
                              g_vfs_done():ufsid/58bf2d4f649f8ad1[READ(offset=30607212544, length=65536)]error = 6
                              vnode_pager_generic_getpages_done: I/O read error 5
                              vnode_pager_generic_getpages_done: I/O read error 5
                              ahcich0: AHCI reset: device not ready after 31000ms (tfd = 00000180)
                              ahcich0: Timeout on slot 22 port 0
                              ahcich0: is 00000000 cs 00400000 ss 00000000 rs 00400000 tfd 180 serr 00000000 cmd 0040f617
                              (aprobe0:ahcich0:0:0:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 00 00
                              (aprobe0:ahcich0:0:0:0): CAM status: Command timeout
                              (aprobe0:ahcich0:0:0:0): Retrying command
                              ahcich0: Timeout on slot 23 port 0
                              ahcich0: is 00000000 cs 00800000 ss 00000000 rs 00800000 tfd 1d0 serr 00000000 cmd 0040f717
                              

                              thanks!

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

                                @apu2 said in PC Engines apu2 experiences:

                                I recently bought a new APU2 board and installed pfsense 2.4.5 release. BIOS is coreboot version v4.11.0.6.
                                I had mSATA 64G drive. Installation was easy and straightforward.
                                This setup was runinig fine for about 1 month after which I started to get the following issues.

                                Disk started to show some timeouts and disconnects.
                                I can login to the system but cannot do anything that require disk read.

                                I am trying to understand if this is a hardware of software issue. Is there anything I can do to troubleshoot the issue further?

                                You can try to boot in single mode and do a "/sbin/fsck -y / " (repeat until no error show)

                                PC engines mention bootloader parameter hint.ahci.0.msi="0" but it is applicable only for bios version older than 4.6.7

                                igb1: link state changed to UP
                                ahcich0: Timeout on slot 1 port 0
                                

                                On the other hand it is possible that your SSD is dying ... make a backup of your config for the case that you have to change the drive.

                                thanks!

                                You're welcome,

                                fireodo

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

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

                                  I would check the advice from @fireodo; "A little question: Have you CPU Boost activated?" as this makes a lot off difference.

                                  Then I may add, always install pfSense using the ZFS filesystem not the UFS (default). For a few reasons;

                                  TRIM is default enabled (I am using mSATA), but this can also be enabled manually on a UFS filesystem, but the most important reason I advice to use ZFS is that it can 100% safegard you against bit errors, because the APU2 has ECC memory ๐Ÿ˜‰

                                  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

                                  S 1 Reply Last reply Reply Quote 1
                                  • A
                                    apu2
                                    last edited by

                                    @fireodo @Qinn Thanks both!
                                    Good advise for my next ssd :)

                                    Drive actually died and no longer detected by the system. Tried reseating it a few times but no lock.
                                    I am surprised SMART didn't detected anything.
                                    Is there any meaning to run smartd for SSDs?

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

                                      Yes. It will show the drive wear level as spare blocks are used for example. It can't show if the controller is about to die.

                                      Steve

                                      1 Reply Last reply Reply Quote 1
                                      • S
                                        sikita
                                        last edited by

                                        Hi guys, are you running pfSense with /var & /tmp in RAM DISKS enabled on APU2?

                                        fireodoF QinnQ 2 Replies Last reply Reply Quote 0
                                        • fireodoF
                                          fireodo @sikita
                                          last edited by fireodo

                                          @sikita said in PC Engines apu2 experiences:

                                          Hi guys, are you running pfSense with /var & /tmp in RAM DISKS enabled on APU2?

                                          Hi, no RamDisk here - as stated in my signature its all on a 16GB SSD.
                                          /var/run 4% von 3.4MiB - ufs im RAM

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

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

                                            @sikita The whole filesystem zfs is running on 16GB mSATA SSD with ZFS only /var/run
                                            4% of 3.4MiB - ufs in RAM

                                            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

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