Last active
June 17, 2018 13:24
-
-
Save thkprado/3e06f0a61ba4d0b1b485b636ff0c8231 to your computer and use it in GitHub Desktop.
rpi benchmark
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
vcgencmd measure_temp | |
sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run >/dev/null 2>&1 | |
vcgencmd measure_temp | |
sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run >/dev/null 2>&1 | |
vcgencmd measure_temp | |
sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run >/dev/null 2>&1 | |
vcgencmd measure_temp | |
sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run >/dev/null 2>&1 | |
vcgencmd measure_temp | |
sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run >/dev/null 2>&1 | |
vcgencmd measure_temp | |
sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run >/dev/null 2>&1 | |
vcgencmd measure_temp | |
sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run >/dev/null 2>&1 | |
vcgencmd measure_temp | |
sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run >/dev/null 2>&1 | |
vcgencmd measure_temp | |
sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run >/dev/null 2>&1 | |
vcgencmd measure_temp | |
sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run >/dev/null 2>&1 | |
vcgencmd measure_temp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Write speed | |
sync; dd if=/dev/zero of=~/test.tmp bs=500K count=1024 | |
# Read speed | |
sync; echo 3 | sudo tee /proc/sys/vm/drop_caches | |
sync; time dd if=~/test.tmp of=/dev/null bs=500K count=1024 | |
# Delete the temporary file | |
rm ~/test.tmp | |
# Kernel version | |
uname -a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment