Did I just overclocked my apu2c4 (AMD GX-412TC SOC)?



  • Hi Folks,

    while trying to fix "hwpstate0: set freq failed, err 6" caused by powerd in hiAdaptive mode I endup overclocking the CPU to 1400MHz.

    hint.p4tcc.0.disabled=1
    hint.acpi_throttle.0.disabled=1
    
    # sysctl dev.cpu.0
    dev.cpu.0.temperature: 65.7C
    dev.cpu.0.cx_method: C1/hlt C2/io
    dev.cpu.0.cx_usage_counters: 4424 0
    dev.cpu.0.cx_usage: 100.00% 0.00% last 4116us
    dev.cpu.0.cx_lowest: C1
    dev.cpu.0.cx_supported: C1/1/0 C2/2/400
    dev.cpu.0.freq_levels: 1000/924 800/760 600/571
    dev.cpu.0.freq: 1000
    dev.cpu.0.%parent: acpi0
    dev.cpu.0.%pnpinfo: _HID=none _UID=0
    dev.cpu.0.%location: handle=\_PR_.P000
    dev.cpu.0.%driver: cpu
    dev.cpu.0.%desc: ACPI CPU
    

    Then to the above tweaks I added:

    hint.acpi_perf.0.disabled=1
    

    and this is the result

    dev.cpu.0.temperature: 65.6C
    dev.cpu.0.cx_method: C1/hlt C2/io
    dev.cpu.0.cx_usage_counters: 6037 0
    dev.cpu.0.cx_usage: 100.00% 0.00% last 125us
    dev.cpu.0.cx_lowest: C1
    dev.cpu.0.cx_supported: C1/1/0 C2/2/400
    dev.cpu.0.freq_levels: 1400/-1 1200/-1 1000/-1
    dev.cpu.0.freq: 1400
    dev.cpu.0.%parent: acpi0
    dev.cpu.0.%pnpinfo: _HID=none _UID=0
    dev.cpu.0.%location: handle=\_PR_.P000
    dev.cpu.0.%driver: cpu
    dev.cpu.0.%desc: ACPI CPU
    

    Temperature is the same and I hope I get hwpstate fixed!

    Cheers



  • can you specify which version you are on?

    2.4.3-RELEASE-p1 (amd64) i add
    hint.p4tcc.0.disabled=1
    hint.acpi_throttle.0.disabled=1
    hint.acpi_perf.0.disabled=1

    sysctl dev.cpu.0
    dev.cpu.0.temperature: 77.0C
    dev.cpu.0.cx_method: C1/hlt C2/io
    dev.cpu.0.cx_usage_counters: 35229 0
    dev.cpu.0.cx_usage: 100.00% 0.00% last 320us
    dev.cpu.0.cx_lowest: C1
    dev.cpu.0.cx_supported: C1/1/0 C2/2/400
    dev.cpu.0.freq_levels: 1000/924 800/760 600/571
    dev.cpu.0.freq: 1000
    dev.cpu.0.%parent: acpi0
    dev.cpu.0.%pnpinfo: _HID=none UID=0
    dev.cpu.0.%location: handle=_PR
    .P000
    dev.cpu.0.%driver: cpu
    dev.cpu.0.%desc: ACPI CPU



  • I doubt that when you overclock a CPU by 40% it

    • stays at the same temperature (maybe in idle state?)
    • it works long-term stable

    If it would be that simple and without complications AMD would have sold the CPU with higher specs at a higher price, right?



  • @amassi if you have rebooted and the frequency didn't raised is probably because I'm on coreboot v4.8.0.2 but I do not suggest you to upgrade yet as "sometimes" I have issues with reboots.

    @jahonix CPU specs says 1000/1200/1400 and it was sold underclocked to max 1000, that makes this thread's title obsolete because I didn't overcloked, but simply unlocked. I'll stress benchmark the CPU and get back to you, but consider ambient temperature, at midnight, is about 25 C°.



  • ab -c 4 -n 5000 https
    time taken 250 seconds
    complete request 5000, failed 0
    load up to 6.23
    temperature start at 65°C
    temperature max 66.7°C



  • ab -c 4 -n 50000
    time taken 2472.722 seconds
    load up to 11 (system in use, backups over ssh and a couple of stunnel connections) when the system was quieter the load was ~5.5

    temperature

    • ambient 21 °C
    • start 65.1 °C
    • max 68 °C

    up to 20000 requests temperature was ~66.7 with picks of 67.5 °C
    after that temperature was ~67.5 °C with picks of 68 °C

    Box is squeezed inside a rack on a shelf with no fans around, temporary with no sides and back door.



  • forget too tell that i have before change :

    sysctl dev.cpu.0
    dev.cpu.0.temperature: 77.6C
    dev.cpu.0.cx_method: C1/hlt C2/io
    dev.cpu.0.cx_usage_counters: 46054936 0
    dev.cpu.0.cx_usage: 100.00% 0.00% last 422us
    dev.cpu.0.cx_lowest: C1
    dev.cpu.0.cx_supported: C1/1/0 C2/2/400
    dev.cpu.0.freq_levels: 1000/924 800/760 600/571
    dev.cpu.0.freq: 600
    dev.cpu.0.%parent: acpi0
    dev.cpu.0.%pnpinfo: _HID=none UID=0
    dev.cpu.0.%location: handle=_PR
    .P000
    dev.cpu.0.%driver: cpu
    dev.cpu.0.%desc: ACPI CPU



  • @amassi then it must be the different coreboot version, cheers.


 

© Copyright 2002 - 2018 Rubicon Communications, LLC | Privacy Policy