Page 1 of 2

how to speed up your PI 2+3

Posted: Sun May 01, 2016 5:50 pm
by sprengerle
Hey guys, here s how to overclock your pi safely and make it very fast:

DO ONLY DO THIS WITH RASPBERRY PI 2+3!!!!! :!:

Just open a Terminal and type: sudo nano /boot/config.txt and copy the following( for your specific pi) lines and paste them into config.txt (at the end or somewhere else) but you can also search for the specific values in the config.txt and change them.

RaspberryPi 2:

gpu_mem_1024=128
arm_freq=1100
core_freq=500
sdram_freq=450
over_voltage=6
cma_lwm=16
cma_hwm=32
force_turbo=1
gpu_freq=300


RaspberryPi 3:

gpu_mem_1024=128
arm_freq=1260
core_freq=500
sdram_freq=500
over_voltage=6
cma_lwm=16
cma_hwm=32
force_turbo=1
gpu_freq=350


Then, when pasted press Cltr+O ; ENTER ; Cltr+X then type in Terminal sudo reboot

Thats it, enjoy the power ;)

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Sun May 01, 2016 6:03 pm
by Rive
sprengerle wrote:Hey guys, here s how to overclock your pi safely and mak it very fast:

RaspberryPi 3:

gpu_mem_1024=320
arm_freq=1380
core_freq=500
sdram_freq=500
over_voltage=6
I would not personally recommend this overclock, and it leaves only around 415 MB or so of SDRAM for the ARM/CPU... (gpu_mem=320)

Have you actually tested this crazy overclock to see if it is even stable? Are you even cooling it?

For more info on cooling and stable overclocking, see:
viewtopic.php?p=952371#p952371

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Sun May 01, 2016 6:04 pm
by sprengerle
I am cooling it and the temperature is around 60 degrees and the clock is the highest withe stable working OS ;) :mrgreen:

(i tested it with Raspbian and Ubuntu Mate and the memory is much enough )

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Sun May 01, 2016 6:08 pm
by stderr
Rive wrote:
sprengerle wrote:Hey guys, here s how to overclock your pi safely and mak it very fast:
RaspberryPi 3:
gpu_mem_1024=320
arm_freq=1380
core_freq=500
sdram_freq=500
over_voltage=6
I would not personally recommend this overclock, and it leaves only around 415 MB or so of SDRAM for the ARM/CPU...
Have you actually tested this crazy overclock to see if it is even stable? Are you even cooling it?
How about this? Is it crazy or what?:

gpu_mem_1024=3200
arm_freq=13800
core_freq=5000
sdram_freq=5000
over_voltage=mains

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Sun May 01, 2016 6:10 pm
by Rive
sprengerle wrote:I am cooling it and the temperature is around 60 degrees and the clock is the highest withe stable working OS ;) :mrgreen:
60C is up there, and I hope that is your "stress" temps. I can stress and run cpuburn at 50C all day, and idle at 26C. Normal temps for me, (like browsing with chromium at 17% CPU usage), are at 30C.

I bet you are not even close to stable, I am curious to see if your extreme overclock is, or is not though. :shock:

Why should you care if your overclock is stable, or not?
Unstable overclocks can eventually lead to premature hardware failure, malfunctions, crashes and data loss, as well as sdcard corruption.

If your Pi3 should freeze up, or otherwise become unresponsive during tests, DO NOT remove power, instead reboot with 'alt'+"sysrq"+"b" ('sysrq' is also known as 'prtscr' key). Hard reboots (where you unplug power, then plug it back in again) can result in data corruption!

Heat is the number 1 killer, and the Pi3 runs hot even at stock. If you are gonna overclock, you need to properly cool, and keep those temps below the 80C threshold.


For a full battery of tests (e.g., sdbench, and memtester), see:
viewtopic.php?p=964852#p964852

ULTIMATE STRESS & OVERHEAT/COOLING TEST
Test is "PASSED" if you do not throttle back, or exceed 79C within a 15min span. Exceeding 79C, and overheating/throttling, (and especially a Pi3 crash) indicates a "FAILURE".

Code: Select all

wget https://raw.githubusercontent.com/ssvb/cpuburn-arm/master/cpuburn-a53.S
gcc -o cpuburn-a53 cpuburn-a53.S
RUN:

Code: Select all

while true; do vcgencmd measure_clock arm; vcgencmd measure_temp; sleep 2; done& ./cpuburn-a53
ULTIMATE STABILITY TEST
Run this 3 min benchmark test and post Gflops results (a "PASSED" test benching at 6 Gflops or higher indicates Pi3 stability (IF the same Gflop result can be achieved in multiple back to back test runs). On the otherhand, Pi3 crash, or "FAILED" test result, indicates instability):
note- After benchmark installation, temporarily set gpu_mem to 64, then reboot (or test may fail to run)

For comparison: A stock Pi3 at 1.2 GHz can pass at 6 Gflops (some stock Pi3's may require a slight power boost e.g., "over_voltage=1"). An overclocked Pi3 at 1.26 GHz can pass at around 6.6 Gflops

Code: Select all

sudo apt-get install libmpich-dev
wget http://web.eece.maine.edu/~vweaver/junk/pi3_hpl.tar.gz
tar -xvzf pi3_hpl.tar.gz 
chmod +x xhpl
RUN:

Code: Select all

./xhpl

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Sun May 01, 2016 6:23 pm
by sprengerle
sprengerle@raspberrypi:~$ ./xhpl
================================================================================
HPLinpack 2.1 -- High-Performance Linpack benchmark -- October 26, 2012
Written by A. Petitet and R. Clint Whaley, Innovative Computing Laboratory, UTK
Modified by Piotr Luszczek, Innovative Computing Laboratory, UTK
Modified by Julien Langou, University of Colorado Denver
================================================================================

An explanation of the input/output parameters follows:
T/V : Wall time / encoded variant.
N : The order of the coefficient matrix A.
NB : The partitioning blocking factor.
P : The number of process rows.
Q : The number of process columns.
Time : Time in seconds to solve the linear system.
Gflops : Rate of execution for solving the linear system.

The following parameter values will be used:

N : 8000
NB : 256
PMAP : Row-major process mapping
P : 1
Q : 1
PFACT : Left
NBMIN : 2
NDIV : 2
RFACT : Right
BCAST : 2ring
DEPTH : 0
SWAP : Mix (threshold = 64)
L1 : transposed form
U : transposed form
EQUIL : yes
ALIGN : 8 double precision words

--------------------------------------------------------------------------------

- The matrix A is randomly generated for each test.
- The following scaled residual check will be computed:
||Ax-b||_oo / ( eps * ( || x ||_oo * || A ||_oo + || b ||_oo ) * N )
- The relative machine precision (eps) is taken to be 1.110223e-16
- Computational tests pass if scaled residuals are less than 16.0

HPL ERROR from process # 0, on line 173 of function HPL_pdtest:
>>> [0,0] Memory allocation failed for A, x and b. Skip. <<<

================================================================================

Finished 1 tests with the following results:
0 tests completed and passed residual checks,
0 tests completed and failed residual checks,
1 tests skipped because of illegal input values.
--------------------------------------------------------------------------------

End of Tests.
================================================================================
sprengerle@raspberrypi:~$

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Sun May 01, 2016 6:26 pm
by Rive
Reboot Pi3, then run it again:

Code: Select all

./xhpl

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Sun May 01, 2016 6:28 pm
by sprengerle
frequency(45)=1380000000
temp=54.5'C

it works fine! :D

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Sun May 01, 2016 6:31 pm
by Rive
sprengerle wrote:frequency(45)=1380000000
temp=54.5'C

it works fine! :D

No. like this (show actual results):

PrtScr (or "scrot -d 5")
(print screen on keyboard, or via terminal with 5 sec delay)
Image


while true; do vcgencmd measure_clock arm; vcgencmd measure_temp; sleep 2; done&

Code: Select all

pi@raspberrypi:~ $ while true; do vcgencmd measure_clock arm; vcgencmd measure_temp; sleep 10; done& ./cpuburn-a53
[1] 1244
frequency(45)=1260132000
temp=27.9'C
frequency(45)=1260002000
temp=41.9'C
frequency(45)=1260000000
temp=42.9'C
frequency(45)=1260002000
temp=45.1'C
frequency(45)=1260000000
temp=46.2'C
frequency(45)=1260000000
temp=46.2'C
frequency(45)=1260000000
temp=46.2'C
frequency(45)=1260000000
temp=46.7'C
frequency(45)=1260000000
temp=46.2'C
frequency(45)=1260000000
temp=47.2'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=47.2'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=47.2'C
frequency(45)=1260002000
temp=47.8'C
frequency(45)=1260000000
temp=47.2'C
frequency(45)=1260000000
temp=47.2'C
frequency(45)=1260000000
temp=47.2'C
frequency(45)=1260000000
temp=47.2'C
frequency(45)=1260000000
temp=47.2'C
frequency(45)=1260000000
temp=47.2'C
frequency(45)=1260000000
temp=47.2'C
frequency(45)=1259998000
temp=47.2'C
frequency(45)=1260000000
temp=47.2'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.9'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.9'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260002000
temp=49.4'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=47.2'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.9'C
frequency(45)=1259998000
temp=48.3'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=47.2'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=47.2'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.9'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=47.2'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260002000
temp=47.8'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.9'C
frequency(45)=1259998000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1259998000
temp=49.9'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260002000
temp=50.5'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260002000
temp=47.8'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.9'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=48.9'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1259998000
temp=48.9'C
frequency(45)=1260002000
temp=47.2'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=47.2'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.9'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=48.9'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1259998000
temp=48.9'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.9'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1259998000
temp=47.8'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=47.2'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.9'C
frequency(45)=1260000000
temp=48.9'C
frequency(45)=1260002000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260002000
temp=49.4'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260002000
temp=49.9'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260002000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260002000
temp=49.9'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=47.2'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=47.2'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.9'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=48.9'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260002000
temp=50.5'C
frequency(45)=1260000000
temp=48.9'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1259998000
temp=48.9'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1259998000
temp=48.3'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=47.2'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260002000
temp=47.2'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=47.8'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.9'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260002000
temp=48.3'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260002000
temp=49.4'C
frequency(45)=1260002000
temp=49.4'C
frequency(45)=1260000000
temp=48.9'C
frequency(45)=1260000000
temp=48.9'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1259998000
temp=49.4'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=48.3'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260002000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260002000
temp=49.9'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1259998000
temp=49.9'C
frequency(45)=1259998000
temp=49.9'C
frequency(45)=1260002000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260002000
temp=50.5'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=50.5'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=48.9'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.4'C
frequency(45)=1260000000
temp=49.9'C
frequency(45)=1260000000
temp=49.9'C
top

Code: Select all

top - 14:30:28 up  1:02,  1 user,  load average: 4.24, 4.29, 4.55
Tasks: 144 total,   5 running, 139 sleeping,   0 stopped,   0 zombie
%Cpu0  :100.0 us,  0.0 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu1  :100.0 us,  0.0 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu2  :100.0 us,  0.0 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu3  : 99.7 us,  0.3 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:    753132 total,   726316 used,    26816 free,    34308 buffers
KiB Swap:   102396 total,       16 used,   102380 free.   471188 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND     
 1245 pi        20   0    1680    344    288 R 100.0  0.0  45:38.14 cpuburn-a53 
 1248 pi        20   0    1680     84     16 R 100.0  0.0  45:38.37 cpuburn-a53 
 1249 pi        20   0    1680     88     16 R  99.7  0.0  45:31.79 cpuburn-a53 
 1247 pi        20   0    1680     84     16 R  98.3  0.0  45:36.51 cpuburn-a53 
  656 root      20   0  120416  43644  19604 S   0.7  5.8   1:33.24 Xorg        
 1232 pi        20   0   47120  19148  16304 S   0.7  2.5   0:10.32 lxterminal  
 1679 pi        20   0    5112   2456   2088 R   0.7  0.3   0:08.64 top         
    1 root      20   0   23904   4040   2788 S   0.0  0.5   0:06.70 systemd     
    2 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kthreadd    
    3 root      20   0       0      0      0 S   0.0  0.0   0:00.16 ksoftirqd/0 
    5 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/0:+ 
    7 root      20   0       0      0      0 S   0.0  0.0   0:01.19 rcu_sched   
    8 root      20   0       0      0      0 S   0.0  0.0   0:00.00 rcu_bh      
    9 root      rt   0       0      0      0 S   0.0  0.0   0:00.01 migration/0 

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Sun May 01, 2016 6:34 pm
by sprengerle
with OS r u using?

I bet Raspbian

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Sun May 01, 2016 6:40 pm
by Rive
sprengerle wrote:with OS r u using?

I bet Raspbian
Jessie


so, still waiting on passed Gflops results... if you fail, lockup/crash or otherwise are unable to run it, that would indicate your overclock is flawed/unstable.


restart pi3, and run:

Code: Select all

./xhpl

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Sun May 01, 2016 6:42 pm
by sprengerle
:roll:

HPL ERROR from process # 0, on line 173 of function HPL_pdtest:
>>> [0,0] Memory allocation failed for A, x and b. Skip. <<<

WTF?

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Sun May 01, 2016 6:43 pm
by Rive
You may need to lower the gpu_mem to 64 for the test if you still can't run it after reboot due to your "configuration". The benchmark needs sdram (aka memory) to run the test ;) .

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Sun May 01, 2016 6:59 pm
by Rive
FYI a stock Pi3 at 1.2 GHz scores approx 6 Gflops, and a stable overclocked Pi3 at 1.26 GHz, scores around 6.6 Gflops (with multiple runs all passing at around the same Gflops to indicate stability).

Tests that fail, or where Gflops are all over the place, or where in extreme cases, the Pi3 freezes or crashes, may be indictive of overclock instability or power/voltage issues. Unstable overclocks can eventually lead to premature hardware failure, malfunctions, crashes and data loss, as well as sdcard corruption.

For example; constant 6.6 Gflops after 3 back to back 'passed' tests N=8000, @1.26 GHz:

Code: Select all

pi@raspberrypi:~ $ ./xhpl
================================================================================
HPLinpack 2.1  --  High-Performance Linpack benchmark  --   October 26, 2012
Written by A. Petitet and R. Clint Whaley,  Innovative Computing Laboratory, UTK
Modified by Piotr Luszczek, Innovative Computing Laboratory, UTK
Modified by Julien Langou, University of Colorado Denver
================================================================================

An explanation of the input/output parameters follows:
T/V    : Wall time / encoded variant.
N      : The order of the coefficient matrix A.
NB     : The partitioning blocking factor.
P      : The number of process rows.
Q      : The number of process columns.
Time   : Time in seconds to solve the linear system.
Gflops : Rate of execution for solving the linear system.

The following parameter values will be used:

N      :    8000 
NB     :     256 
PMAP   : Row-major process mapping
P      :       1 
Q      :       1 
PFACT  :    Left 
NBMIN  :       2 
NDIV   :       2 
RFACT  :   Right 
BCAST  :   2ring 
DEPTH  :       0 
SWAP   : Mix (threshold = 64)
L1     : transposed form
U      : transposed form
EQUIL  : yes
ALIGN  : 8 double precision words

--------------------------------------------------------------------------------

- The matrix A is randomly generated for each test.
- The following scaled residual check will be computed:
      ||Ax-b||_oo / ( eps * ( || x ||_oo * || A ||_oo + || b ||_oo ) * N )
- The relative machine precision (eps) is taken to be               1.110223e-16
- Computational tests pass if scaled residuals are less than                16.0

================================================================================
T/V                N    NB     P     Q               Time                 Gflops
--------------------------------------------------------------------------------
WR02R2L2        8000   256     1     1              51.27              6.660e+00
HPL_pdgesv() start time Sun Apr 24 09:13:21 2016

HPL_pdgesv() end time   Sun Apr 24 09:14:12 2016

--------------------------------------------------------------------------------
||Ax-b||_oo/(eps*(||A||_oo*||x||_oo+||b||_oo)*N)=        0.0025941 ...... PASSED
================================================================================

Finished      1 tests with the following results:
              1 tests completed and passed residual checks,
              0 tests completed and failed residual checks,
              0 tests skipped because of illegal input values.
--------------------------------------------------------------------------------

End of Tests.
================================================================================
pi@raspberrypi:~ $ ./xhpl
================================================================================
HPLinpack 2.1  --  High-Performance Linpack benchmark  --   October 26, 2012
Written by A. Petitet and R. Clint Whaley,  Innovative Computing Laboratory, UTK
Modified by Piotr Luszczek, Innovative Computing Laboratory, UTK
Modified by Julien Langou, University of Colorado Denver
================================================================================

An explanation of the input/output parameters follows:
T/V    : Wall time / encoded variant.
N      : The order of the coefficient matrix A.
NB     : The partitioning blocking factor.
P      : The number of process rows.
Q      : The number of process columns.
Time   : Time in seconds to solve the linear system.
Gflops : Rate of execution for solving the linear system.

The following parameter values will be used:

N      :    8000 
NB     :     256 
PMAP   : Row-major process mapping
P      :       1 
Q      :       1 
PFACT  :    Left 
NBMIN  :       2 
NDIV   :       2 
RFACT  :   Right 
BCAST  :   2ring 
DEPTH  :       0 
SWAP   : Mix (threshold = 64)
L1     : transposed form
U      : transposed form
EQUIL  : yes
ALIGN  : 8 double precision words

--------------------------------------------------------------------------------

- The matrix A is randomly generated for each test.
- The following scaled residual check will be computed:
      ||Ax-b||_oo / ( eps * ( || x ||_oo * || A ||_oo + || b ||_oo ) * N )
- The relative machine precision (eps) is taken to be               1.110223e-16
- Computational tests pass if scaled residuals are less than                16.0

================================================================================
T/V                N    NB     P     Q               Time                 Gflops
--------------------------------------------------------------------------------
WR02R2L2        8000   256     1     1              51.47              6.634e+00
HPL_pdgesv() start time Sun Apr 24 09:14:53 2016

HPL_pdgesv() end time   Sun Apr 24 09:15:44 2016

--------------------------------------------------------------------------------
||Ax-b||_oo/(eps*(||A||_oo*||x||_oo+||b||_oo)*N)=        0.0025941 ...... PASSED
================================================================================

Finished      1 tests with the following results:
              1 tests completed and passed residual checks,
              0 tests completed and failed residual checks,
              0 tests skipped because of illegal input values.
--------------------------------------------------------------------------------

End of Tests.
================================================================================
pi@raspberrypi:~ $ ./xhpl
================================================================================
HPLinpack 2.1  --  High-Performance Linpack benchmark  --   October 26, 2012
Written by A. Petitet and R. Clint Whaley,  Innovative Computing Laboratory, UTK
Modified by Piotr Luszczek, Innovative Computing Laboratory, UTK
Modified by Julien Langou, University of Colorado Denver
================================================================================

An explanation of the input/output parameters follows:
T/V    : Wall time / encoded variant.
N      : The order of the coefficient matrix A.
NB     : The partitioning blocking factor.
P      : The number of process rows.
Q      : The number of process columns.
Time   : Time in seconds to solve the linear system.
Gflops : Rate of execution for solving the linear system.

The following parameter values will be used:

N      :    8000 
NB     :     256 
PMAP   : Row-major process mapping
P      :       1 
Q      :       1 
PFACT  :    Left 
NBMIN  :       2 
NDIV   :       2 
RFACT  :   Right 
BCAST  :   2ring 
DEPTH  :       0 
SWAP   : Mix (threshold = 64)
L1     : transposed form
U      : transposed form
EQUIL  : yes
ALIGN  : 8 double precision words

--------------------------------------------------------------------------------

- The matrix A is randomly generated for each test.
- The following scaled residual check will be computed:
      ||Ax-b||_oo / ( eps * ( || x ||_oo * || A ||_oo + || b ||_oo ) * N )
- The relative machine precision (eps) is taken to be               1.110223e-16
- Computational tests pass if scaled residuals are less than                16.0

================================================================================
T/V                N    NB     P     Q               Time                 Gflops
--------------------------------------------------------------------------------
WR02R2L2        8000   256     1     1              51.69              6.605e+00
HPL_pdgesv() start time Sun Apr 24 09:16:14 2016

HPL_pdgesv() end time   Sun Apr 24 09:17:06 2016

--------------------------------------------------------------------------------
||Ax-b||_oo/(eps*(||A||_oo*||x||_oo+||b||_oo)*N)=        0.0025941 ...... PASSED
================================================================================

Finished      1 tests with the following results:
              1 tests completed and passed residual checks,
              0 tests completed and failed residual checks,
              0 tests skipped because of illegal input values.
--------------------------------------------------------------------------------

End of Tests.

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Sun May 01, 2016 10:14 pm
by drgeoff
That one RPi will or will not run stable with certain overclock settings does not mean that another RPi will or will not.

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Sun May 01, 2016 10:37 pm
by rurwin
+1

The RPi is tested to run at the default speeds. The variation in manufacture means that they will generally go somewhat faster if pushed. But every one is unique; some of them can be pushed a long way and some of them only a little.

Just because yours can be overclocked hard, doesn't mean it will work for everyone.

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Mon May 02, 2016 1:31 pm
by sprengerle
So that could be that my pi is stable with 1380mHz . because I tested it with a HD Youtube Video an that was during half an hour and at the end i only got 58°C

so you can Test your pi yourself and when it works stable, it's ok

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Mon May 02, 2016 1:36 pm
by darkbibble
the fastest pi's are with tim peake on the ISS, they traveling at 17000mph lol :P

try beating that speed safely lol

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Mon May 02, 2016 1:39 pm
by Rive
sprengerle wrote:So that could be that my pi is stable with 1380mHz . because I tested it with a HD Youtube Video an that was during half an hour and at the end i only got 58°C

so you can Test your pi yourself and when it works stable, it's ok
You "tested" your 'extreme', (most likely unstable overclock), by "watching a 30 min HD youtube video", huh? :|

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Mon May 02, 2016 4:49 pm
by sprengerle
is it normal that my screen freeces when running ./xhpl ?

since 10 minutes

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Mon May 02, 2016 4:59 pm
by rpdom
sprengerle wrote:how can I delete a Topic :( :?:
You can't. But a mod might, if they think it is neccessary.

Try reporting the thread and asking, if you really think it is needed. The Mods are good people (they must be, they haven't banned me - yet :lol: ). They will listen to what you have to say.

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Mon May 02, 2016 5:04 pm
by sprengerle
can somebody tell me if it's normal that the screen Freezes!!!! :shock: :mrgreen:

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Mon May 02, 2016 5:05 pm
by Rive
sprengerle wrote:is it normal that my screen freeces when running ./xhpl ?

since 10 minutes
No. You should not 'freeze' at all. The test takes around 1-2 min or so to complete (see screenshot). Sounds like you may have crashed as a result of an unstable overclock (my guess is over_voltage, or arm_freq is too high, or gpu_mem is too high (set gpu memory allocation to 48 for optimal results)).

Reboot with alt+sysrq+b

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Mon May 02, 2016 5:08 pm
by Rive
I thought I explained all that previously (regarding freeze ups/crashes, etc). Did you not read the previous posts? I edited them, look them over again.

In any event, this is a YouTube video I made showing exactly what to expect and how the test works. I suggest you check it out.

https://youtu.be/lm97OHawd-8

Re: /////HOW TO MAKE YOUR PI VERY FAST\\\\\

Posted: Mon May 02, 2016 5:09 pm
by sprengerle
did you ever try a higher clock than 1260?