Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - monty11ez

#1
The port for aquantia-atlantic-kmod should be available to install with pkg if you can pass in another NIC to your VM.
#2
Based on this document from pcengines the frequency is not reported correctly in sysctl. So you have to set these commands in loader.conf to get proper readings.
hint.p4tcc.0.disabled=1
hint.acpi_throttle.0.disabled=1
hint.acpi_perf.0.disabled=1


I don't quite understand if this affects the actual speed of the device though. If someone could confirm that would be amazing.

https://github.com/pcengines/apu2-documentation/blob/master/docs/apu_CPU_boost.md
#3
Quote from: pjdouillard on January 21, 2020, 03:05:17 AM
I ran the commands you wrote on the console and here is what I've got from an APU4B4:

root@OPNsense02:~ # sysctl dev.cpu.0.freq_levels
dev.cpu.0.freq_levels: 1000/1008 800/831 600/628


Idle:
root@OPNsense02:~ # sysctl dev.cpu.0.freq
dev.cpu.0.freq: 1000


Under load:
root@OPNsense02:~ # sysctl dev.cpu.0.freq
dev.cpu.0.freq: 1000


So the frequency didn't really change.  Now with powerd running, here is the output where you will see the max frequency still being 1000Mhz:
root@OPNsense02:~ # sudo powerd -v
powerd: unable to determine AC line status
load   4%, current freq 1000 MHz ( 0), wanted freq  968 MHz
load   7%, current freq 1000 MHz ( 0), wanted freq  937 MHz
load   0%, current freq 1000 MHz ( 0), wanted freq  907 MHz
load   0%, current freq 1000 MHz ( 0), wanted freq  878 MHz
.
.
.

I will post back with the APU4D4 and see the difference.

Thank you for posting that info. So from what I understand OPNsense is not getting the turbo clock speed info from the BIOS. I'm not exactly sure why that is the case though.
#4
I plan on getting an APU2D4 soon since it has superseded the C4. I was wondering if anyone could check to see what sysctl dev.cpu.0.freq_levels outputs and then post what sysctl dev.cpu.0.freq outputs under load?

I know this is an AMD based CPU, but from what I understand the CPU will not turbo unless you are running the powerd deamon. For a console based output you can run powerd with sudo powerd -v assuming sudo is installed on OPNsense.

I hope this helps.