PINE64
How to push up to maximum frequency. - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98)
+--- Forum: Linux on RockPro64 (https://forum.pine64.org/forumdisplay.php?fid=101)
+--- Thread: How to push up to maximum frequency. (/showthread.php?tid=6469)



How to push up to maximum frequency. - jzhang18 - 08-27-2018

Hostname: rockpro64
CPU Frequency:
Core0: 1416Mhz
Core1: 1416Mhz
Core2: 1416Mhz
Core3: 1416Mhz
Core4: 1800Mhz
Core5: 1800Mhz
CPU Governor: performance
Temperature: 40  C

I am wondering how I can push 4 LITTLE cores to 1.5Ghz and 2 big cores to 2.0Ghz.

For Banana PI M3, there is a file called sys_config.fex, has content like:
B_LV3_freq = 1608000000
B_LV3_volt = 920

B_LV4_freq = 1200000000
B_LV4_volt = 840

B_LV5_freq = 0
B_LV5_volt = 840

B_LV6_freq = 0
B_LV6_volt = 840

B_LV7_freq = 0
B_LV7_volt = 840

B_LV8_freq = 0
B_LV8_volt = 840

[vf_table1]

I am thinking if there is similar file in rockpro64, so I can tune it by myself to unlock 2.0Ghz/1.5Ghz

BTW - I have a good power supply 12V/6A, full height heat sink, and a good cooling fan running on top of the sink. want to unlock the potential of RK3399 CPU


RE: How to push up to maximum frequency. - dukla2000 - 08-27-2018

(08-27-2018, 01:43 PM)jzhang18 Wrote: I am wondering how I can push 4 LITTLE cores to 1.5Ghz and 2 big cores to 2.0Ghz
No doubt will come at some stage but you could have quite a wait
  • Ayufan stated 1st goal was stability for his stuff
  • He has published recipe here for Rock64 - you need to understand the device tree it seems
  • Reading the RK3399 spec, Rockchip only claim 1.8 & 1.4 (linked on wiki, page 63) (If playing with DT then spec max VDD for A72 is 1.25V, 1.20V for A53)



RE: How to push up to maximum frequency. - jzhang18 - 08-27-2018

That sounds good.
thanks.


RE: How to push up to maximum frequency. - dukla2000 - 09-14-2018

OK - think I have a fairly stable kernel running 2.0/1.5GHz.

My original sbc-bench results on 4.4.138 Ayufan kernel.

My latest sbc-bench results on 4.18-rc8 kernel I have hacked.

Which are pretty similar to those for a NanoPi M4. (Also RK3399, they have DDR3 mem AFAIK which seems a bit faster)

And for completeness (on the 4.18 kernel), my SM961:

Code:
iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
[sudo] password for chris:
    Iozone: Performance Test of File I/O
            Version $Revision: 3.429 $
        Compiled for 64 bit mode.
        Build: linux
....
    Run began: Fri Sep 14 20:04:25 2018

...
    Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
...
                                                              random    random     bkwd    record    stride                                    
              kB  reclen    write  rewrite    read    reread    read     write     read   rewrite      read   fwrite frewrite    fread  freread
          102400       4    66040   113883   120757   122602    47917   112507                                                          
          102400      16   218566   333375   344785   354516   121497   330740                                                          
          102400     512   625190   598033   783060   952460   613227   624786                                                          
          102400    1024   632915   585959   874944   979528   751608   624748                                                          
          102400   16384   471660   624576  1313697  1468580  1451902   635818