Is there a way to benchmark the performance of my Raspberry Pi?
I'd be looking at Upload/Download speeds, reads, writes, and general processing stuff.
Is there a way to benchmark the performance of my Raspberry Pi?
I'd be looking at Upload/Download speeds, reads, writes, and general processing stuff.
Iperf is an excellent program for measuring maximum bandwidth between networks.
#Sever listening on TCP port 1337
ip route
iperf -s -p 1337
#Sever listening on UDP port 1337
iperf -s -u -p 1337
#Client connecting to server IP(TCP)
iperf -c <IP_ADDR> -p 1337 -t <TIME> -i <PING_TIME> -f m -d
#Client connecting to server IP(UDP)
iperf -c <IP_ADDR> -u -p 1337 -t <TIME> -i <PING_TIME> -f m -d
From the elinux wiki
USB Bus(write to an external storage device)
dd if=/mnt/drivehere/test of=/dev/null bs=32M count=10 iflag=direct
SD card read and write
# write
dd if=/dev/zero of=~/test.tmp bs=500K count=1024
# read
dd if=~/test.tmp of=/dev/null bs=500K count=1024
CPU linpack
wget http://www.netlib.org/benchmark/linpackc.new
mv linpackc.new linpack.c
cc -O3 -o linpack linpack.c -lm
GPU benchmarking is quite hard since OpenCl isn't supported. A rough benchmark would be ioquake3
and glxgears
for comparing the frame rate.You could also use OpenGl:ES as ppumkin noted.
Munin can also help measure performance by relating it to the previous configurations you had. How to setup munin