PC Engines apu2 experiences
-
@DaddyGo
unfortunately, none of the guys you mentioned posted a speed test. Also the question is not answered, how the boy from https://teklager.se/ could reach these values. -
-
yes, I know but you were mentioned in this post and I passed it on
I didn't want to complicate the thread further with the question of author......... (ERROR on my part)
but you are right, the laurel is his: @dugeemedit: you see how many misconceptions there are about APU
-
@kinch
pls. don't get me wrong, I want to helpdo you want to get first hand results, why is speed the most important thing?
(what kind of speed ISP connection do you have at home, how big is the internal network?)
is it a business or SOHO system you operate?I'm happy to help you, because I know the limits of APU stuff as well (we've been using them for 4 -5 years for "homeworker" colleagues' endpoints)
-
Hi again !
I did every trick you gave me...
Flashed back to Bios V4.10.0.1 - Halt System - Disconnect Power for 30sec.Made changes is loader.conf.local
π Log in to viewMade a few tunables (like DaddyGo)
π Log in to viewDisabled the offloads
π Log in to viewReboot
Speedtest
π Log in to viewShit
-
Never give up
itβs time to review your entire configuration
can we get a drawing of your system and more information(F.E. ISP, WAN interface type, installed packages, LAN enviroment)
believe me the APU knows a lot in the SOHO categorythe place of the joke:
"the error is in your device"
does not matter anyway, this is a European slangedit: it was missed
-
watch this, this is an APU 4d4 performance (I apologize for the Hungarian language)
yes, I live in lisbon now becauseand
what is the lesson
is that it is not impossiblea small dictionary:
letΓΆltΓ©s = download
feltΓΆltΓ©s = upload
kΓ©sleltetΓ©s = latency
Γ‘tlag = average
remegΓ©s = jitter -
Personally, I got better performance by enabling hardware offload (clear the check boxes).
iPerf on local LAN from pfSense (client) to my NAS (server):
iperf3 -c SERVER_IP_HERE -P 4
With Hardware Offload: ~950Mbit/s
Without Hardware Offload: ~450Mbit/s
-
@Veldkornet congratulations, you posted an irrelevant performance number for people trying to configure a router or firewall!
offload can potentially help a client because the client can send a large chunk of data to the NIC at once and then allow the NIC to chop the data into packets and send. offload is useless on a firewall, which must inspect and process packets rather than large chunks of data.
-
@FLOK 92.8Mbps looks suspiciously like you have something negotiating a 100Mbps link. even the original APU could push data faster than that, let alone the APU2, and with no faffing about with configuration settings. you are wasting your time by trying to fine tune your way out of this; put everything back to the default and then find the actual problem.
-
is it:
hw.igb.rx_process_limit="-1"
hw.igb.tx_process_limit="-1"or
hw.igb.rx_process_limit=-1
hw.igb.tx_process_limit=-1is "" needed?
Sorry
-
If you do the same setting as mentioned above, you get 1gbit
The setting from this speedtest was behind my current router (double nat), and the 3 tweaks applied which were mentioned in the post from @dugeem
π Log in to viewSometimes my speedtests seems to lock to around 700mbit or 500mbit, but i start to belive that this is an issue of my unit.
I also encountert a new behaviour. If I restart my APU2E4, im not able to access anything until i pull the cable from my wan port. Once the webinterface loaded, I can reconnect the wan and it works.
The same happens when i change the settings for TSO or LRO. Once i hit save, the system doesnt react to anything. Once i pull the plug out of wan, the webinterface loads in one or two seconds.
I start to belive that my hardware has an issue, I dont find any other explonation. -
I've examined it and found the following:
iperf3 LAB
No matter if APU2/3/4 I get a throughput with single connection of 750-850Mbit/s (LAN 2 OPT)With 2 or more connections I get about 945Mbit/s.
A Speedtest.net gives the value 934Mbit/s UP/DOWN
I have tested the following BIOS versions:
V4.9.0.2
V4.11.0.2
V4.12.0.1All the same.
But what I noticed, tested on APU2 and APU3, that pfsense version 2.4.5 does not reach the same throughput as 2.4.4-p3.
With Single Connection pfsense 2.4.5 reaches "only" about 400-500Mbit/s. With pfsense 2.4.5 I can only reach 940Mbps with 8 connections. -
@VAMike
Your message encouraged me to do research...
And you were so damn right.
My computer's stuck on the switch of an IP phone.
It throttles traffic to 100Mbits.I am so sorry to have wasted your time :-(
-
@kinch said in PC Engines apu2 experiences:
I've examined it and found the following:
iperf3 LAB
No matter if APU2/3/4 I get a throughput with single connection of 750-850Mbit/s (LAN 2 OPT)With 2 or more connections I get about 945Mbit/s.
A Speedtest.net gives the value 934Mbit/s UP/DOWN
I have tested the following BIOS versions:
V4.9.0.2
V4.11.0.2
V4.12.0.1All the same.
But what I noticed, tested on APU2 and APU3, that pfsense version 2.4.5 does not reach the same throughput as 2.4.4-p3.
With Single Connection pfsense 2.4.5 reaches "only" about 400-500Mbit/s. With pfsense 2.4.5 I can only reach 940Mbps with 8 connections.I also noted something weird with 2.4.5.
My iPerf speeds were also much lower than normal. What I did to fix it was:
- disabling hardware offload (check the check boxes)
- save, no reboot (iPerf results the same)
- re-enabling hardware offload (clear the check boxes)
- save, no reboot (iPerf results back up to the expected levels)
The only thing I did between having good iPerf results and slow ones was reboot the device. It's as if after a reboot, it forgot that hardware offload was enabled, and I just needed to set it again.
-
- pity this to argue further.... (LRO / TSO / etc.)
the forum is full of why you need to disable "offloading"
if you use pfSense for routing, (*****not recommended!!! *****), but just think of IPS netmap
******https://docs.netgate.com/pfsense/en/latest/config/advanced-setup.html#Networkingand @jimp https://forum.netgate.com/topic/42669/tso-and-lro-on-alix-boards
netmap it will not start properly unless they are disabled
all forum threads that belong here, it starts with this - disabling this features first -
- pity this to argue further.... (LRO / TSO / etc.)
-
let's wait for this 2.4.5-p1
but indeed we also experienced some difference, but not significantjust a suggestion instead of speedtest_net, I prefer to use this nperf.com
it uses a much more serious algorithm to saturate, ergo the measurement more accurate -
"The only thing I did between having good iPerf results and slow ones was reboot the device. It's as if after a reboot, it forgot that hardware offload was enabled, and I just needed to set it again."
so,
enabling / disabling these functions will in any case require a restart!
without it it makes no sense, thus, the test is not relevant eitherif the function is still active after a restart, this must be disabled with this way
/boot/loader.conf.local
hw.bce.tso_enable=0 or 1
hw.bce.lro_enable=0 or 1 ......... etc.edit: bce / igb / etc.
test method after reboot:
ifconfig igbX | grep CSUM
X= 1 ,2, 3, 4, or........
-
@FLOK said in PC Engines apu2 experiences:
My computer's stuck on the switch of an IP phone.
It throttles traffic to 100Mbits.Ha, I have done exactly that before.
-
@stephenw10
the joke is, that the pc still shows gigabit, although the performance is not reached -
Ooo ouch. Yeah I didn't have that excuse.
-
Anyone running 2.4.5-p1 yet? Already on 2.4.5, so I don't think there would be much of a chance for something to go wrong...
https://www.netgate.com/blog/pfsense-2-4-5-release-p1-now-available.html -
@logan5247 said in PC Engines apu2 experiences:
Anyone running 2.4.5-p1 yet? Already on 2.4.5, so I don't think there would be much of a chance for something to go wrong...
https://www.netgate.com/blog/pfsense-2-4-5-release-p1-now-available.htmlHere running on 2.4.5_p1 - since yesterday and I cannot see any issue ...
-
Do you run ntopng on apu2c4 without problems on 200-300mbit lines (20mbit ish upload)? (I run pfBlocker, openVPN client and an openVPN server... mo snort etc)
Is this too heavy on the CPU?
-
@daemonix I run Ntopng, no worries works good.
-
@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).
-
@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.
-
@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.
-
@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...
-
@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 ...
-
@fireodo Just a guess as default Ntopng keeps settings, maybe, uncheck this and then remove the package, then reinstall, maybe vanilla works fine
-
@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) -
I got some core dumps here again... I think its quite heavy for 24/7 use.
-
@daemonix It's running 24/7 since 6 months never had a problem with it.
-
@Qinn Ill give it another go. all updated but got a core dump.
-
@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 -
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 parameterhint.ahci.0.msi="0"
but it is applicable only for bios version older than 4.6.7igb1: 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!
-
@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.7igb1: 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
-
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
-