Raptor Computing Systems Hardware > Talos II
Trying to overclock, what is raptor-aggressive
vmlinuz:
I am trying to get my dual quad-core CPU's up to 4.2 GHz. Thus far I have run the woferclock script to update the module VPD, but how do I load the tables into the PNOR? There is very little or no documentation on how to get the appropriate files into the firmware or how to generate them. The wiki says something about raptor-aggressive but I can't find it in the firmware source. In addition, how can I restore the old module VPD from backup just in case?
ejfluhr:
Are you updating the VPD voltage/frequency table, or the WOF boost table, or both? I'm not sure how it works on Linux, but the general architecture is that the VPD sets the maximum tested voltage/frequency and the WOF boost table defines how to set frequency based on (1) active workload power vs. TDP and (2) # of active cores. The official boost table is designed to raise freq not beyond the module's AC power spec, and also prevent exceeding the RDP spec for the system VDD VRM (well, a transient spec on top of the RDP "DC" spec).
ejfluhr:
Aha, looking farther it seems that they are programming poundv for a voltage uplift of 1.142x over the existing ultraturbo value.
https://git.raptorcs.com/git/vpdtools/plain/woferclock/woferclock_cpu
# Reasonable defaults
# Partly validated on initial silicon
# NOT GUARANTEED, starting point ONLY!
if [[ "$CORE_COUNT" == "4" ]]; then
NEW_ULTRATURBO_MHZ=4200
VOLTAGE_MULTIPLIER=1.142
fi
if [[ "$CORE_COUNT" == "8" ]]; then
NEW_ULTRATURBO_MHZ=4400
VOLTAGE_MULTIPLIER=1.142
If you can read out your original poundv values, then you know how much "headroom" your parts have to the maximum allowed:
https://git.raptorcs.com/git/vpdtools/plain/woferclock/update_poundv_buckets
># Rated limit plus safety margin
>#max_voltage = 1098
>
># Absolute maximum process limit
># Hardware damage WILL occur above this value!
>max_voltage = 1150
BTW, do you want or need WOF to manage the frequency/thermals, or just playing around and can manage it yourself? With just the VPD update, perhaps you can disable WOF and manually override frequency via OS controls up to the newly-programmed ultraturbo maximum. I don't know specifically how to do that, just believe it possible based on what little I know of Linux freq control.
ejfluhr:
Ok, now I see that raptor-aggressive mods the CSV version of the WOF boost table to crank up the max frequency to 4.2G or 4.4G.
>#!/bin/bash
>
>cd ../wofdata
>php ../raptor-util/woferclock.php 5 3536 WOF_V7_3_3_SFORZA_4_90_3200_TM.csv.original WOF_V7_3_3_SFORZA_4_90_3200_TM.csv 1.187 4200
>php ../raptor-util/woferclock.php 5 4052 WOF_V7_3_3_SFORZA_8_160_3500_TM.csv.original WOF_V7_3_3_SFORZA_8_160_3500_TM.csv 1.05 4400
>php ../raptor-util/woferclock.php 5 3094 WOF_V7_3_3_SFORZA_18_190_2800_TM.csv.original WOF_V7_3_3_SFORZA_18_190_2800_TM.csv 1.10 4200
>php ../raptor-util/woferclock.php 5 3039 WOF_V7_3_3_SFORZA_22_190_2750_TM.csv.original WOF_V7_3_3_SFORZA_22_190_2750_TM.csv 1.10 4200
I can't find those boost tables in the Raptor git tree; maybe it is somewhere else? Perhaps on your system already and you can just replace the old with the hacked version?
Maybe some PNOR updater here? https://git.raptorcs.com/git/pnor/tree/update_image.pl
>if(-e $wof_binary_filename)
> {
> $sections{WOFDATA}{in} = "$wof_binary_filename";
> }
ejfluhr:
So it looks like the WOF boost tables are posted here?
https://github.com/open-power/WOF-Tables
Lots of interesting info in this. Seems like the 4-core target frequency is 3200 and the ultraturbo frequency is 3800. Last column looks to be the "WOF frequency" according to the header.
Here is the header followed by a single line (of thousands) which seems to represent something about how it decides the target frequency: (I'm not sure how to fix the column formatting, so readers will have to deconvolve that...)
MOPT YIELD PACKAGE VERSION SOCKET_POWER RDP_CAPACITY CORE_COUNT PDV_SORT_POWER_TARGET_FREQ PDV_SORT_POWER_ULTRA_TURBO_FREQ NEST_FREQ VRATIO_START VRATIO_STEP FRATIO_START FRATIO_STEP CORE_CEFF CORE_CEFF_INDEX NEST_CEFF NEST_CEFF_INDEX ACTIVE_QUADS VRATIO VRATIO_INDEX FRATIO FRATIO_INDEX WOF_FREQ
OpenPOWER Raptor 95 Sforza v7.3.3 90 108 4 3200 3800 1867 0.0409 0.0417 1 0.1 0 0 0.25 0 6 0.0409 0 0.6 4 3800
Still cannot find how they get consumed by the boot process, though.
Navigation
[0] Message Index
[#] Next page
Go to full version