PDA

View Full Version : Anyone have a Raspberry Pi 2 willing to run a benchmark?



pqwoerituytrueiwoq
January 4th, 2016, 02:00 AM
I am considering upgrading my model B r2 so I'd like to see if the better CPU has any impact on wired network performance
the only online benchmark i found did not test dual link usage so that is why i am asking here
i would like to see the output of iperf -c $IPERF_SERVER_IP -d (the -d is important)
to start the server process run iperf -s you can get the ip address from ifconfig
Please to not test over wifi, Linux box <-> Router/Switch <-> Rpi_b2
it does not matter which is server and client, if it is no better than my old model B pi i can look for a old B+ board which needs less milliamps

benrob0329
January 4th, 2016, 05:57 PM
I'd test it, but I'm afraid it'll have to wait until my desktop is built.

CharlesA
January 4th, 2016, 08:46 PM
No idea what you were actually looking for but here you go:

Pi -> Host:

root@pi:~# iperf -c 192.168.1.200 -d
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.1.200, TCP port 5001
TCP window size: 70.0 KByte (default)
------------------------------------------------------------
[ 5] local 192.168.1.3 port 56325 connected with 192.168.1.200 port 5001
[ 4] local 192.168.1.3 port 5001 connected with 192.168.1.200 port 51918
[ ID] Interval Transfer Bandwidth
[ 5] 0.0-10.0 sec 56.0 MBytes 46.7 Mbits/sec
[ 4] 0.0-10.1 sec 105 MBytes 87.6 Mbits/sec


Host -> Pi:


iperf -c 192.168.1.3 -d
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.1.3, TCP port 5001
TCP window size: 98.6 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.1.200 port 51922 connected with 192.168.1.3 port 5001
[ 5] local 192.168.1.200 port 5001 connected with 192.168.1.3 port 56330
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 111 MBytes 92.7 Mbits/sec
[ 5] 0.0-10.1 sec 51.9 MBytes 43.0 Mbits/sec

pqwoerituytrueiwoq
January 5th, 2016, 12:36 AM
I was wondering if the cpu was bottlenecking the net I/O
thanks CharlesA (http://ubuntuforums.org/member.php?u=923868)

i have my pi acting as a reverse proxy, looks marginally better than i get on my pi, well before i updated the linux 4.1
https://github.com/raspberrypi/linux/issues/1248
happen to know how to revert it?

you running the 3.18 or 4.1 kernel?

CharlesA
January 5th, 2016, 12:48 AM
i have my pi acting as a reverse proxy, looks marginally better than i get on my pi, well before i updated the linux 4.1
https://github.com/raspberrypi/linux/issues/1248
happen to know how to revert it?

Not sure exactly. Do you still have the older kernel installed?


you running the 3.18 or 4.1 kernel?


Linux pi 4.1.7-v7+ #817 SMP PREEMPT Sat Sep 19 15:32:00 BST 2015 armv7l GNU/Linux

I've been using this: https://minibianpi.wordpress.com/

If it matters, that box is being used for DNS.

pqwoerituytrueiwoq
January 5th, 2016, 01:38 AM
running 4.1.13+
it was installed via apt-get upgrade, i was not expecting a kernel update out of it, im sure the unattended-upgrades package would not install it since i was still running 3.12 for the past 180 days

pi@raspberrypi:~$ tree /boot
/boot
├── bcm2708-rpi-b.dtb
├── bcm2708-rpi-b-plus.dtb
├── bcm2708-rpi-cm.dtb
├── bcm2709-rpi-2-b.dtb
├── bootcode.bin
├── cmdline.txt
├── config.txt
├── COPYING.linux
├── fixup_cd.dat
├── fixup.dat
├── fixup_db.dat
├── fixup_x.dat
├── issue.txt
├── kernel7.img
├── kernel.img
├── LICENCE.broadcom
├── LICENSE.oracle
├── overlays
│ ├── ads7846-overlay.dtb
│ ├── at86rf233-overlay.dtb
│ ├── bmp085_i2c-sensor-overlay.dtb
│ ├── dht11-overlay.dtb
│ ├── enc28j60-overlay.dtb
│ ├── gpio-poweroff-overlay.dtb
│ ├── hifiberry-amp-overlay.dtb
│ ├── hifiberry-dac-overlay.dtb
│ ├── hifiberry-dacplus-overlay.dtb
│ ├── hifiberry-digi-overlay.dtb
│ ├── hy28a-overlay.dtb
│ ├── hy28b-overlay.dtb
│ ├── i2c-gpio-overlay.dtb
│ ├── i2c-rtc-overlay.dtb
│ ├── i2s-mmap-overlay.dtb
│ ├── iqaudio-dac-overlay.dtb
│ ├── iqaudio-dacplus-overlay.dtb
│ ├── lirc-rpi-overlay.dtb
│ ├── mcp2515-can0-overlay.dtb
│ ├── mcp2515-can1-overlay.dtb
│ ├── mmc-overlay.dtb
│ ├── mz61581-overlay.dtb
│ ├── piscreen2r-overlay.dtb
│ ├── piscreen-overlay.dtb
│ ├── pitft28-capacitive-overlay.dtb
│ ├── pitft28-resistive-overlay.dtb
│ ├── pps-gpio-overlay.dtb
│ ├── pwm-2chan-overlay.dtb
│ ├── pwm-overlay.dtb
│ ├── raspidac3-overlay.dtb
│ ├── README
│ ├── rpi-backlight-overlay.dtb
│ ├── rpi-dac-overlay.dtb
│ ├── rpi-display-overlay.dtb
│ ├── rpi-ft5406-overlay.dtb
│ ├── rpi-proto-overlay.dtb
│ ├── rpi-sense-overlay.dtb
│ ├── sdhost-overlay.dtb
│ ├── sdio-overlay.dtb
│ ├── smi-dev-overlay.dtb
│ ├── smi-nand-overlay.dtb
│ ├── smi-overlay.dtb
│ ├── spi-bcm2708-overlay.dtb
│ ├── spi-bcm2835-overlay.dtb
│ ├── spi-dma-overlay.dtb
│ ├── tinylcd35-overlay.dtb
│ ├── uart1-overlay.dtb
│ ├── vga666-overlay.dtb
│ ├── w1-gpio-overlay.dtb
│ └── w1-gpio-pullup-overlay.dtb
├── start_cd.elf
├── start_db.elf
├── start.elf
└── start_x.elf

1 directory, 71 files
i'm still on wheezy, ill upgrade to the b+ i ordered on ebay (http://www.ebay.com/itm/131687047427) (link in case anyone wants a cheap b+)
i have a larger sd card and i want to upgrade some stuff in my diy case, probally a full days worth of work, ill put off the psu upgrade plans till i get a new one, hoping to gut 2 wallorts sand get them in the case

CharlesA
January 5th, 2016, 06:14 AM
Huh. I wonder how you are running a newer kernel than I am.

In any case, it looks like it's a bit complicated to downgrade the kernel. :(
http://raspberrypi.stackexchange.com/questions/34339/install-older-kernel-3-6-11-on-raspberry-pi-2

pqwoerituytrueiwoq
January 5th, 2016, 12:49 PM
a very very long time ago i used raspi-update get get a kernel that was not officially stable, cause it fixed a stability issue with the network interface
that reboot was the 1st i ever gave it, all others were a result of power failure, aside from when i changed out the power block

pqwoerituytrueiwoq
January 5th, 2016, 12:57 PM
so how does minibian compare to raspbian jessie lite? only ask cause raspbian jessie lite has a newer release date

CharlesA
January 5th, 2016, 02:00 PM
so how does minibian compare to raspbian jessie lite? only ask cause raspbian jessie lite has a newer release date

No idea, I wasn't even aware they had an official minimal build of Jessie. I'll have to check it out. I do not believe it was there when I was looking for a minimal install of Jessie for my Pi.

pqwoerituytrueiwoq
January 6th, 2016, 01:26 AM
I do not believe it was there when I was looking for a minimal install of Jessie for my Pi. and there in lies what i was wondering

CharlesA
January 6th, 2016, 04:03 AM
This might help:
https://blog.adafruit.com/2015/12/01/new-official-raspbian-jessie-lite-os-image/

https://minibianpi.wordpress.com/features/