PC Engines apu2 experiences
-
@fireodo said in PC Engines apu2 experiences:
@kevindd992002 said in PC Engines apu2 experiences:
@fireodo where can I see the proper flashing procedure/order?
Here:
Apu-FlashingAnd like I said, the only reason I'm considering downgrading is because 4.11.x.x is the recommended firmware as mentioned in their website.
OK, understood.
Regards,
fireodoAhh, I thought you were pertaining to an "order" of flashing when downgrading. So it's just the usual flashing procedure then? I'm using flashrom inside of pfsense. So I can directly go from 14.13.0.1 to 14.11.0.6?
-
@kevindd992002 said in PC Engines apu2 experiences:
@fireodo said in PC Engines apu2 experiences:
@kevindd992002 said in PC Engines apu2 experiences:
@fireodo where can I see the proper flashing procedure/order?
Here:
Apu-FlashingAnd like I said, the only reason I'm considering downgrading is because 4.11.x.x is the recommended firmware as mentioned in their website.
OK, understood.
Regards,
fireodoAhh, I thought you were pertaining to an "order" of flashing when downgrading. So it's just the usual flashing procedure then? I'm using flashrom inside of pfsense. So I can directly go from 14.13.0.1 to 14.11.0.6?
You mean v4.13.0.1 to v4.11.0.6? If so yes, no problem, dont forget to interrupt power supply after flashing. (important to ensure a BIOS CMOS-Reset)
Regards,
fireodo -
@fireodo Sorry, yes, that's what I meant. And yes, I always make sure to interrupt power supply after flashing, for about 10 seconds.
Do you think it's still wise to downgrade though?
-
@kevindd992002 said in PC Engines apu2 experiences:
@fireodo Sorry, yes, that's what I meant. And yes, I always make sure to interrupt power supply after flashing, for about 10 seconds.
Do you think it's still wise to downgrade though?
If everything work as expected you dont have to downgrade. The v4.13.0.2 has cleanup all problems that raised in the latest time - so if there is no trouble you dont need to down/upgrade.
Regards,
fireodo -
@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.
-
@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.
-
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
-
@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.
-
@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
-
@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
Not sure what you mean. The recommendation is 4.11.0.6.
-
@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
-
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?
-
@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.
-
@qinn oh, don’t worry, I already do.
-
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 -
@fireodo No I don't use it and you mean the RC, as to the best of my knowledge it isn't released, yet.
-
@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.
-
@fireodo Maybe report it by starting a new thread in an appropriate category and explain the problem in as much detail as possible.
-
@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.
-
@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 -
Hi
Since today 2.5.0 is released. Has already someone tested how the performance is impacted by the new version?
-
@saltandpepper Yes upgraded without any problems
-
Update to pfS 2.5.0 went smooth.
-
@saltandpepper I also had a smooth update.
-
@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.
-
@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 -
@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.
-
@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...
-
@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 6If that's any help...
Regards and fine Weekend,
fireodo -
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.
-
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).
-
@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.
-
@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.
-
@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.
-
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:
If you had some hardware tunables set for your Intel
igb
interfaces, it's probably worth reviewing them. They may need to bet set throughiflib
now, on in some cases may no longer be supported. Hope this helps. -
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=0and what should /boot/loader.conf.local be?
-
@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. -
@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)
-
@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)
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.
-
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
andoverride_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/