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

    PC Engines apu2 experiences

    Scheduled Pinned Locked Moved Hardware
    711 Posts 73 Posters 776.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.
    • D
      dugeem
      last edited by

      With aesni kernel module loaded:

      
      openssl speed -elapsed -evp aes-128-cbc
      type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
      aes-128-cbc       1527.90k     5867.93k    21607.17k    65414.14k   162611.20k
      
      openssl speed -elapsed -evp aes-256-cbc
      type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
      aes-256-cbc       1512.18k     5761.15k    20833.28k    58732.20k   127229.95k
      
      

      With aesni kernel module unloaded (i.e. use openssl internal AES-NI support):

      
      openssl speed -elapsed -evp aes-128-cbc
      type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
      aes-128-cbc     125586.59k   174393.26k   213315.07k   226097.49k   230883.33k
      
      openssl speed -elapsed -evp aes-256-cbc
      type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
      aes-256-cbc     100216.39k   136148.85k   157464.49k   162677.42k   165601.28k
      
      
      1 Reply Last reply Reply Quote 0
      • D
        dugeem
        last edited by

        Enabled PowerD in System: Advanced: Miscellaneous

        Later that day noticed that system log was full of message

        hwpstate0: set freq failed, err 6
        

        Based on comments by yodawg (see thread https://forum.pfsense.org/index.php?topic=106261.msg592098 ) added the lines

        hint.p4tcc.0.disabled=1
        hint.acpi_throttle.0.disabled=1

        to /boot/loader.conf.local (you could modify /boot/loader.conf - but it may be overwritten with upgrades)

        Some good background info at https://wiki.freebsd.org/TuningPowerConsumption

        However in pfSense 2.2.6 (based on FreeBSD 10.1) the problem reoccurred - so I have disabled PowerD for now.
        NB Thread above by yodawg is for pfSense 2.3 Beta - so later FreeBSD 10.3 PRERELEASE possibly fixes the issue

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User
          last edited by

          Weird, when I set those on mine i haven't had the messages since. Maybe it has to have something to do with hi adaptive/adapative settings.

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

            Have recently updated my APU2 from 2.2.6 to 2.3-RC - which was fairly straightforward.

            Prior to upgrading, I updated the APU2 BIOS from 160120 to 160307. This BIOS version fixes both the reboot issue mentioned by yodawg (refer https://forum.pfsense.org/index.php?topic=106261.msg592098) and also adds SD boot support (which I have not tested). There is an even later BIOS version 160311 which adds iPXE support. Refer to PC Engines - http://pcengines.ch/howto.htm#bios

            NB With the reboot issue fixed, the custom tunables hw.acpi.disable_on_reboot & hw.acpi.handle_reboot can be deleted from System / Advanced / System Tunables.

            I have reenabled PowerD albeit with system tuneables:

            hint.p4tcc.0.disabled=1
            hint.acpi_throttle.0.disabled=1

            added to /boot/loader.conf.local

            Dmesg output:

            Copyright (c) 1992-2016 The FreeBSD Project.
            Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
            	The Regents of the University of California. All rights reserved.
            FreeBSD is a registered trademark of The FreeBSD Foundation.
            FreeBSD 10.3-RELEASE #13 eac8329(RELENG_2_3): Wed Apr  6 06:20:01 CDT 2016
                root@ce23-amd64-builder:/builder/pfsense/tmp/obj/builder/pfsense/tmp/FreeBSD-src/sys/pfSense amd64
            FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
            CPU: AMD GX-412TC SOC                                (998.17-MHz K8-class CPU)
              Origin="AuthenticAMD"  Id=0x730f01  Family=0x16  Model=0x30  Stepping=1
              Features=0x178bfbff <fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,mmx,fxsr,sse,sse2,htt>Features2=0x3ed8220b <sse3,pclmulqdq,mon,ssse3,cx16,sse4.1,sse4.2,movbe,popcnt,aesni,xsave,osxsave,avx,f16c>AMD Features=0x2e500800 <syscall,nx,mmx+,ffxsr,page1gb,rdtscp,lm>AMD Features2=0x1d4037ff <lahf,cmp,svm,extapic,cr8,abm,sse4a,mas,prefetch,osvw,ibs,skinit,wdt,topology,pnxc,dbe,ptsc,pl2i>Structured Extended Features=0x8 <bmi1>XSAVE Features=0x1 <xsaveopt>SVM: NP,NRIP,AFlush,DAssist,NAsids=8
              TSC: P-state invariant, performance statistics
            real memory  = 4815060992 (4592 MB)
            avail memory = 4095913984 (3906 MB)
            Event timer "LAPIC" quality 400
            ACPI APIC Table: <core  coreboot="">FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
            FreeBSD/SMP: 1 package(s) x 4 core(s)
             cpu0 (BSP): APIC ID:  0
             cpu1 (AP): APIC ID:  1
             cpu2 (AP): APIC ID:  2
             cpu3 (AP): APIC ID:  3
            random: <software, yarrow="">initialized
            ioapic1: Changing APIC ID to 5
            ioapic0 <version 2.1="">irqs 0-23 on motherboard
            ioapic1 <version 2.1="">irqs 24-55 on motherboard
            wlan: mac acl policy registered
            netmap: loaded module
            kbd0 at kbdmux0
            module_register_init: MOD_LOAD (vesa, 0xffffffff810166d0, 0) error 19
            cryptosoft0: <software crypto="">on motherboard
            padlock0: No ACE support.
            acpi0: <core coreboot="">on motherboard
            acpi0: Power Button (fixed)
            cpu0: <acpi cpu="">on acpi0
            cpu1: <acpi cpu="">on acpi0
            cpu2: <acpi cpu="">on acpi0
            cpu3: <acpi cpu="">on acpi0
            atrtc0: <at realtime="" clock="">port 0x70-0x71 irq 8 on acpi0
            Event timer "RTC" frequency 32768 Hz quality 0
            attimer0: <at timer="">port 0x40-0x43 irq 0 on acpi0
            Timecounter "i8254" frequency 1193182 Hz quality 0
            Event timer "i8254" frequency 1193182 Hz quality 100
            Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
            acpi_timer0: <32-bit timer at 3.579545MHz> port 0x818-0x81b on acpi0
            hpet0: <high precision="" event="" timer="">iomem 0xfed00000-0xfed003ff on acpi0
            Timecounter "HPET" frequency 14318180 Hz quality 950
            acpi_button0: <power button="">on acpi0
            pcib0: <acpi host-pci="" bridge="">port 0xcf8-0xcff on acpi0
            pci0: <acpi pci="" bus="">on pcib0
            pcib1: <acpi pci-pci="" bridge="">at device 2.2 on pci0
            pcib1: failed to allocate initial I/O port window: 0x1000-0x1fff
            pci1: <acpi pci="" bus="">on pcib1
            igb0: <intel(r) 1000="" pro="" network="" connection,="" version="" -="" 2.5.3-k="">mem 0xfe600000-0xfe61ffff,0xfe620000-0xfe623fff at device 0.0 on pci1
            igb0: Using MSIX interrupts with 5 vectors
            igb0: Ethernet address: 00:0d:b9:xx:yy:zz
            igb0: Bound queue 0 to cpu 0
            igb0: Bound queue 1 to cpu 1
            igb0: Bound queue 2 to cpu 2
            igb0: Bound queue 3 to cpu 3
            igb0: netmap queues/slots: TX 4/1024, RX 4/1024
            pcib2: <acpi pci-pci="" bridge="">at device 2.3 on pci0
            pci2: <acpi pci="" bus="">on pcib2
            igb1: <intel(r) 1000="" pro="" network="" connection,="" version="" -="" 2.5.3-k="">port 0x2000-0x201f mem 0xfe700000-0xfe71ffff,0xfe720000-0xfe723fff at device 0.0 on pci2
            igb1: Using MSIX interrupts with 5 vectors
            igb1: Ethernet address: 00:0d:b9:xx:yy:zz
            igb1: Bound queue 0 to cpu 0
            igb1: Bound queue 1 to cpu 1
            igb1: Bound queue 2 to cpu 2
            igb1: Bound queue 3 to cpu 3
            igb1: netmap queues/slots: TX 4/1024, RX 4/1024
            pcib3: <acpi pci-pci="" bridge="">at device 2.4 on pci0
            pci3: <acpi pci="" bus="">on pcib3
            igb2: <intel(r) 1000="" pro="" network="" connection,="" version="" -="" 2.5.3-k="">port 0x3000-0x301f mem 0xfe800000-0xfe81ffff,0xfe820000-0xfe823fff at device 0.0 on pci3
            igb2: Using MSIX interrupts with 5 vectors
            igb2: Ethernet address: 00:0d:b9:xx:yy:zz
            igb2: Bound queue 0 to cpu 0
            igb2: Bound queue 1 to cpu 1
            igb2: Bound queue 2 to cpu 2
            igb2: Bound queue 3 to cpu 3
            igb2: netmap queues/slots: TX 4/1024, RX 4/1024
            pci0: <encrypt decrypt="">at device 8.0 (no driver attached)
            xhci0: <xhci (generic)="" usb="" 3.0="" controller="">mem 0xfeb22000-0xfeb23fff at device 16.0 on pci0
            xhci0: 32 bytes context size, 64-bit DMA
            usbus0 on xhci0
            ahci0: <amd hudson-2="" ahci="" sata="" controller="">port 0x4010-0x4017,0x4020-0x4023,0x4018-0x401f,0x4024-0x4027,0x4000-0x400f mem 0xfeb25000-0xfeb253ff at device 17.0 on pci0
            ahci0: AHCI v1.30 with 2 6Gbps ports, Port Multiplier supported with FBS
            ahcich0: <ahci channel="">at channel 0 on ahci0
            ahcich1: <ahci channel="">at channel 1 on ahci0
            ehci0: <ehci (generic)="" usb="" 2.0="" controller="">mem 0xfeb25400-0xfeb254ff at device 19.0 on pci0
            usbus1: EHCI version 1.0
            usbus1 on ehci0
            isab0: <pci-isa bridge="">at device 20.3 on pci0
            isa0: <isa bus="">on isab0
            sdhci_pci0: <generic sd="" hci="">mem 0xfeb25500-0xfeb255ff at device 20.7 on pci0
            sdhci_pci0: 1 slot(s) allocated
            uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
            uart0: console (115200,n,8,1)
            orm0: <isa option="" roms="">at iomem 0xc0000-0xc0fff,0xef000-0xeffff on isa0
            ppc0: cannot reserve I/O port range
            uart1: <16550 or compatible> at port 0x2f8-0x2ff irq 3 on isa0
            hwpstate0: <cool`n'quiet 2.0="">on cpu0
            Timecounters tick every 1.000 msec
            IPsec: Initialized Security Association Processing.
            random: unblocking device.
            usbus0: 5.0Gbps Super Speed USB v3.0
            usbus1: 480Mbps High Speed USB v2.0
            ugen0.1: <0x1022> at usbus0
            uhub0: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
            ugen1.1: <amd>at usbus1
            uhub1: <amd 1="" 9="" ehci="" root="" hub,="" class="" 0,="" rev="" 2.00="" 1.00,="" addr="">on usbus1
            uhub0: 4 ports with 4 removable, self powered
            uhub1: 2 ports with 2 removable, self powered
            ugen1.2: <vendor 0x0438="">at usbus1
            uhub2: <vendor 2="" 9="" 0x0438="" product="" 0x7900,="" class="" 0,="" rev="" 2.00="" 0.18,="" addr="">on usbus1
            uhub2: 4 ports with 4 removable, self powered
            ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
            ada0: <toshiba thnsnj128gmcu="" jut10101="">ACS-2 ATA SATA 3.x device
            ada0: Serial Number 64BAXXXXXXXX
            ada0: 600.000MB/s transfers (SATA 3.x, UDMA5, PIO 8192bytes)
            ada0: Command Queueing enabled
            ada0: 122104MB (250069680 512 byte sectors)
            ada0: Previously was known as ad4
            SMP: AP CPU #3 Launched!
            SMP: AP CPU #2 Launched!
            SMP: AP CPU #1 Launched!
            Timecounter "TSC" frequency 998166595 Hz quality 1000
            Trying to mount root from ufs:/dev/ufsid/56ab799e3048e296 [rw]...
            padlock0: No ACE support.
            aesni0: <aes-cbc,aes-xts,aes-gcm,aes-icm>on motherboard
            igb1: link state changed to UP
            ng0: changing name to 'pppoe1'
            pflog0: promiscuous mode enabled
            igb2: link state changed to UP
            igb0: link state changed to UP
            tun1: changing name to 'ovpns1'
            ovpns1: link state changed to UP</aes-cbc,aes-xts,aes-gcm,aes-icm></toshiba></vendor></vendor></amd></amd></cool`n'quiet></isa></generic></isa></pci-isa></ehci></ahci></ahci></amd></xhci></encrypt></intel(r)></acpi></acpi></intel(r)></acpi></acpi></intel(r)></acpi></acpi></acpi></acpi></power></high></at></at></acpi></acpi></acpi></acpi></core></software></version></version></software,></core ></xsaveopt></bmi1></lahf,cmp,svm,extapic,cr8,abm,sse4a,mas,prefetch,osvw,ibs,skinit,wdt,topology,pnxc,dbe,ptsc,pl2i></syscall,nx,mmx+,ffxsr,page1gb,rdtscp,lm></sse3,pclmulqdq,mon,ssse3,cx16,sse4.1,sse4.2,movbe,popcnt,aesni,xsave,osxsave,avx,f16c></fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,mmx,fxsr,sse,sse2,htt> 
            
            1 Reply Last reply Reply Quote 0
            • D
              dugeem
              last edited by

              pfSense 2.3-RC - FreeBSD 10.3 - OpenSSL 1.0.1s

              With aesni kernel module loaded:

              openssl speed -elapsed -evp aes-128-cbc
              type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
              aes-128-cbc       1415.24k     5719.32k    20972.71k    64425.98k   165052.42k
              
              openssl speed -elapsed -evp aes-256-cbc
              type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
              aes-256-cbc       1422.00k     5596.20k    19954.86k    58028.03k   128863.18k
              

              With aesni kernel module unloaded (i.e. use openssl internal AES-NI support):

              openssl speed -elapsed -evp aes-128-cbc
              type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
              aes-128-cbc     118951.32k   174348.44k   215569.58k   226972.33k   229908.48k
              
              openssl speed -elapsed -evp aes-256-cbc
              type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
              aes-256-cbc     100858.39k   136414.06k   157968.73k   164130.47k   166958.42k
              
              1 Reply Last reply Reply Quote 0
              • ?
                Guest
                last edited by

                Nice and interesting thread about the new APU2 board.

                For the APU I can say we were getting something around ~500+ MBit/s at the WAN Port and with enabled
                PowerD (hi adaptive) we got ~650 MBit/s as throughput. Perhaps this will be different from the APU2 with
                a quad core CPU. But otherwise I would recommend to enable PowerD (hi adaptive).

                My apu2b4 is running pfSense 2.2.6 with BIOS 160120 and a Toshiba mSata SSD. Previously was running an alix 2d13.

                Would you share the full name of the mSATA please? Another user is searching for one that is 100% compatible
                with pfSense and able to support TRIM too. Thread about that

                Upstream my apu2 has 2 WANs - a 34Mb/s HFC/DOCSIS service (IPv4 only) and a 10Mb/s DSL line (IPv4 & IPv6). The Alix could manage this bandwidth okay but throw in incoming requests to a NTP pool server (~2k - 20k states) and the memory was getting tight.

                What I was not really getting out of your thread here is the following;
                What kind of APU2xx you are running now exactly? With 2 GB or 4 GB of RAM?
                And why the older Alix board  was not running out of RAM? It has less then the APU as I know it, or?
                As I know it it must be something like this
                APU2B2 (2 GB)
                APU2B4 (4 GB)
                APU2C2 (2 GB)
                APU2C4 (4 GB)

                The name of this boards is likes the following;
                APU2A4 = Alpha series (not for the public)
                APU2B4 = Beta series (production ready but any hardware and BIOS can be changed)
                APU2C4 = Consumer series (production ready but some hardware only and/or BIOS can be changed)
                APU2D4 = Distributed series (production ready and only the BIOS code will be perhaps changed)

                If someone is bricking his BIOS there is also even a BIOS recovery solution for nearly all PC Engines Boards.
                (Perhaps interesting, perhaps not) and I would imagine that there will be also if the APU2 board is fully ready
                one for the APU2 too. 
                Alix Boards
                APU1 Board

                Also a single or dual case for some PC Engines boards are able to get from here.
                19" DualRack System for PC Engines ALIX, APU Board

                Some questions from me about the APU will be;

                • Is the WebGui running smooth and liquid?
                • Is it faster then the APU1 or significant faster then the older Alix boards?
                • Can anyone do perhaps an IPSec speed test with the AES-NI module loaded?
                1 Reply Last reply Reply Quote 0
                • D
                  dugeem
                  last edited by

                  @BlueKobold:

                  But otherwise I would recommend to enable PowerD (hi adaptive).

                  Thanks - that is what I have configured.
                  NB Enabling this in pfSense 2.2 resulting in some log spamming (as above) but haven't seen this issue in 2.3.

                  Would you share the full name of the mSATA please? Another user is searching for one that is 100% compatible
                  with pfSense and able to support TRIM too. Thread about that

                  Sure - it is a Toshiba HG6 128GB mSata (THNSNJ128GMCU). Works well (including Trim) although I don't think it is the fastest SSD around … but for my pfSense installation it is fine.

                  What kind of APU2xx you are running now exactly? With 2 GB or 4 GB of RAM?

                  You've already quoted me where I mentioned that I'm running a apu2b4 ;) … so 4GB RAM available

                  And why the older Alix board  was not running out of RAM?

                  The 256MB of RAM in my old Alix 2D13 was insufficient. Occasionally it would run out of memory when booting (although this happened less with pfSense 2.2 release series). Also it would struggle with a large number of FW states - although I tuned the PF parameters to timeout UDP states after 30 seconds.

                  If someone is bricking his BIOS there is also even a BIOS recovery solution for nearly all PC Engines Boards.

                  Good to know - although I have had no problems flashing the APU2 BIOS - I simply followed the instructions  ;D

                  Some questions from me about the APU will be;

                  • Is the WebGui running smooth and liquid?
                  • Is it faster then the APU1 or significant faster then the older Alix boards?
                  • Can anyone do perhaps an IPSec speed test with the AES-NI module loaded?

                  The pfSense 2.3-RC WebGUI is very good and loads quickly on the APU2. When I get time I will run up 2.3 on the old Alix and do some comparison - certainly the pfSense 2.2 GUI was a bit sluggish on the Alix.
                  Speed wise the APU2 really is much faster than the ALIX - not surprising given the change from a 500MHz single core AMD Geode to a 1GHz quad core AMD GX-412TC. In fact for me it is probably overkill … but I'm likely to get 100Mb/s broadband next year so it will better handle that. The APU2 has Intel GigE chipsets and AESNI hardware - which also helps increase performance.
                  Unfortunately I don't use IPSEC so can't really give you any objective performance data but you can probably get a rough idea of AESNI performance with the OpenSSL benchmark results above.

                  Cheers

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

                    I recently got 250/100Mbit connection and wounder whats the preformance?
                    If the board can make OpenVPN/IPsec 100Mbit/s?

                    I have seen the APU1D4 can make around ~40 mbit/s.

                    The difference is that the APU2 have the double CPU power than APU1, AES-NI support and Intel NICs.

                    1 Reply Last reply Reply Quote 0
                    • ?
                      Guest
                      last edited by

                      If the board can make OpenVPN/IPsec 100Mbit/s?

                      IPSec by using AES-GCM is going to show results around of 400% of the normal throughput or plain
                      a 4 time higher throughput and OpenVPN will not showing that. In OpenVPN 2.4 also AES-GCM will
                      be inside and will then giving you perhaps also that throughput too.

                      I have seen the APU1D4 can make around ~40 mbit/s.

                      IPSec or OpenVPN?

                      The difference is that the APU2 have the double CPU power than APU1, AES-NI support and Intel NICs.

                      Not really, it comes with 2 more CPU cores but also on 1,0GHz cpu frequency as the APU1 seris.
                      AES-NI and Intel ports is right and also very nice to have as I see it right.

                      1 Reply Last reply Reply Quote 0
                      • M
                        movax
                        last edited by

                        BTW> I reported my experienced with APU2C4 here https://forum.pfsense.org/index.php?topic=108231.msg612643#msg612643 , some other benchmarks and power usage included.

                        The aes performance is the same as reported here.

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

                          Did anyone actually manage to boot PFsense 2.3 on APU2? I ran into an issue as reported here https://forum.pfsense.org/index.php?topic=110366.0

                          1 Reply Last reply Reply Quote 0
                          • ?
                            Guest
                            last edited by

                            @ktk:

                            Did anyone actually manage to boot PFsense 2.3 on APU2? I ran into an issue as reported here https://forum.pfsense.org/index.php?topic=110366.0

                            What is the BIOS version you are using? The latest one will be from the 3/11/2016.

                            • update to the latest BIOS
                            • prepare a USB pen drive to install from with the right and matching 2.3-amd64-memstick-console-image
                            • insert a mSATA or HDD/SSD drive
                            • connect via console via Putty (please set Putty to 115200 8/N/1 and the BIOS settings
                              too pfSense is coming by default with that settings)
                            • change the boot order to USB and do a reboot please
                            • install form the USB pen drive and change after that the boot order back to mSATA, HDD/SSD and reboot again
                            1 Reply Last reply Reply Quote 0
                            • K
                              ktk
                              last edited by

                              Hi Frank,

                              @BlueKobold:

                              @ktk:

                              Did anyone actually manage to boot PFsense 2.3 on APU2? I ran into an issue as reported here https://forum.pfsense.org/index.php?topic=110366.0

                              What is the BIOS version you are using? The latest one will be from the 3/11/2016.

                              • update to the latest BIOS
                              • prepare a USB pen drive to install from with the right and matching 2.3-amd64-memstick-console-image
                              • insert a mSATA or HDD/SSD drive
                              • connect via console via Putty (please set Putty to 115200 8/N/1 and the BIOS settings
                                too pfSense is coming by default with that settings)
                              • change the boot order to USB and do a reboot please
                              • install form the USB pen drive and change after that the boot order back to mSATA, HDD/SSD and reboot again

                              I am on latest bios already. I tried booting on SD card and from USB stick, neither did work. The SD card cannot mount ufs:/dev/ufs/pfsense0 and with USB stick I had so many errors reported on my console that I couldn't see which one actually triggered it.

                              1 Reply Last reply Reply Quote 0
                              • M
                                mattlach
                                last edited by

                                @ktk:

                                Hi Frank,

                                @BlueKobold:

                                @ktk:

                                Did anyone actually manage to boot PFsense 2.3 on APU2? I ran into an issue as reported here https://forum.pfsense.org/index.php?topic=110366.0

                                What is the BIOS version you are using? The latest one will be from the 3/11/2016.

                                • update to the latest BIOS
                                • prepare a USB pen drive to install from with the right and matching 2.3-amd64-memstick-console-image
                                • insert a mSATA or HDD/SSD drive
                                • connect via console via Putty (please set Putty to 115200 8/N/1 and the BIOS settings
                                  too pfSense is coming by default with that settings)
                                • change the boot order to USB and do a reboot please
                                • install form the USB pen drive and change after that the boot order back to mSATA, HDD/SSD and reboot again

                                I am on latest bios already. I tried booting on SD card and from USB stick, neither did work. The SD card cannot mount ufs:/dev/ufs/pfsense0 and with USB stick I had so many errors reported on my console that I couldn't see which one actually triggered it.

                                I had issues installing using the 2.3.1 serial console images.  The memstick version had problems writing to partitions in the dmesg, and the CD ISO couldn't mount the root partition of the installer at all, all resulting in an error console, and thus no pfSense installer.

                                On a whim, I downloaded the previous memstick installer from the mirror (2.3, instead of 2.3.1) and this installed just fine.  I was then able to use the web interface to upgrade to 2.3.1_1 without any issues.

                                1 Reply Last reply Reply Quote 0
                                • M
                                  mattlach
                                  last edited by

                                  @BlueKobold:

                                  Nice and interesting thread about the new APU2 board.

                                  For the APU I can say we were getting something around ~500+ MBit/s at the WAN Port and with enabled
                                  PowerD (hi adaptive) we got ~650 MBit/s as throughput. Perhaps this will be different from the APU2 with
                                  a quad core CPU. But otherwise I would recommend to enable PowerD (hi adaptive).

                                  In 2.3.1_1 I wind up getting ~595Mbit/s throughput (as tested with iperf) without enabling PowerD.  Enabling PowerD in the web interface does not seem to affect throughput speed, whether set to hidaptive or not, but it also seems to have no impact on idle power consumption, which hovers between 5.8W-6.5W regardless of whether PowerD is on or off.  It makes me wonder if it is working at all.  Either way, if it is not making a difference on power consumption, I might just leave it off.

                                  I also don't get any CPU temp output like I do with my Intel based box.  I was a little concerned about CPU temp due to the passive cooling setup just using the case to cool it, but it is a very low wattage part, so maybe that is silly of me.  Feeling the case, it doesn't feel too hot.  (In fact it barely gets warm)

                                  1 Reply Last reply Reply Quote 0
                                  • H
                                    hda
                                    last edited by

                                    @mattlach:

                                    I also don't get any CPU temp output like I do with my Intel based box.  I was a little concerned about CPU temp due to the passive cooling setup just using the case to cool it, but it is a very low wattage part, so maybe that is silly of me.  Feeling the case, it doesn't feel too hot.  (In fact it barely gets warm)

                                    Firmware has testmode and it reports T as about 55 Celsius if with correct coolpad, else may fry (90 C) after 8 minutes…

                                    No GUI temps is due to missing FreeBSD code.

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

                                      To fix cpu temps follow the guide here https://forum.pfsense.org/index.php?topic=108262.0

                                      My temps stay around 55-60 degrees c

                                      1 Reply Last reply Reply Quote 0
                                      • E
                                        edwardwong
                                        last edited by

                                        Your CPU has 4 cores, can you test with "-multi 4" option to run 4 threads together? Then we can see the actual speed for this CPU.

                                        @dugeem:

                                        With aesni kernel module loaded:

                                        
                                        openssl speed -elapsed -evp aes-128-cbc
                                        type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
                                        aes-128-cbc       1527.90k     5867.93k    21607.17k    65414.14k   162611.20k
                                        
                                        openssl speed -elapsed -evp aes-256-cbc
                                        type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
                                        aes-256-cbc       1512.18k     5761.15k    20833.28k    58732.20k   127229.95k
                                        
                                        

                                        With aesni kernel module unloaded (i.e. use openssl internal AES-NI support):

                                        
                                        openssl speed -elapsed -evp aes-128-cbc
                                        type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
                                        aes-128-cbc     125586.59k   174393.26k   213315.07k   226097.49k   230883.33k
                                        
                                        openssl speed -elapsed -evp aes-256-cbc
                                        type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
                                        aes-256-cbc     100216.39k   136148.85k   157464.49k   162677.42k   165601.28k
                                        
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • Z
                                          Zebibyte
                                          last edited by

                                          Here is what I got trying the same command with -multi 4

                                          openssl speed -elapsed -evp aes-128-cbc -multi 4
                                          evp              5582.70k    22238.25k    81301.33k  244524.47k  593181.72k

                                          openssl speed -elapsed -evp aes-256-cbc -multi 4
                                          evp              5615.02k    21855.49k    77674.24k  220074.67k  465368.41k

                                          Then after setting "Cryptographic Hardware" in the GUI back to none (not sure if this does the right thing)

                                          openssl speed -elapsed -evp aes-128-cbc -multi 4
                                          evp              5645.37k    19885.66k    70725.03k  217378.47k  524483.65k

                                          openssl speed -elapsed -evp aes-256-cbc -multi 4
                                          evp              5586.90k    21842.43k    77226.75k  219488.40k  455090.18k

                                          @edwardwong:

                                          Your CPU has 4 cores, can you test with "-multi 4" option to run 4 threads together? Then we can see the actual speed for this CPU.

                                          @dugeem:

                                          With aesni kernel module loaded:

                                          
                                          openssl speed -elapsed -evp aes-128-cbc
                                          type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
                                          aes-128-cbc       1527.90k     5867.93k    21607.17k    65414.14k   162611.20k
                                          
                                          openssl speed -elapsed -evp aes-256-cbc
                                          type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
                                          aes-256-cbc       1512.18k     5761.15k    20833.28k    58732.20k   127229.95k
                                          
                                          

                                          With aesni kernel module unloaded (i.e. use openssl internal AES-NI support):

                                          
                                          openssl speed -elapsed -evp aes-128-cbc
                                          type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
                                          aes-128-cbc     125586.59k   174393.26k   213315.07k   226097.49k   230883.33k
                                          
                                          openssl speed -elapsed -evp aes-256-cbc
                                          type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
                                          aes-256-cbc     100216.39k   136148.85k   157464.49k   162677.42k   165601.28k
                                          
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • A
                                            AndrewZ
                                            last edited by

                                            Just started to configure APU2C4 as a replacement for my old Alix 2D13.
                                            I'm wandering if it is possible to see the current CPU frequency in a dashboard?

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