You are here: Home / Attic / Sheevaplug Notes / Sheevaplug network speed

Sheevaplug network speed

Network transfer speeds of the Sheeva- and the Guruplug

Most interessting for me is the network performance. computingplugs.com has some early benchmarks. Here are some values for my setup.

Setup

Sheevaplug running Ubuntu 9.04 with Kernel 2.6.31-rc5. Attached is an external 2.5” USB Harddisk (Maxtor 320GB, OneTouch 4 Mini) with a cheap USB Hub in between. USB Disk is ext4.

Main System is running Ubuntu and connected to the Sheevaplug using the Gigabit Switch of a WRT610N Router.

I run most tests reading one Gigabyte of data from /dev/zero in 4K blocks. (dd if=/dev/zero bs=4096 count=262144 of=/dev/zero). Network tests are performed using either netcat or an nfs mount.

I now also have a guruplug (nicknamed heater) with an external eSata enclosure. Running Debian Lenny with Kernel 2.6.34.1. Attached is an external 2.5” eSata Drive (WDC WD6400BPVT). Filesystem is still ext4.

Summary

Test

To Sheeva

From Sheeva

To Guru

From Guru

Local I/O

809.0 MB/s

809.0 MB/s

Local Disk

31.0 MB/s

32.9 MB/s

66.0 MB/s

74.0 MB/s

Wirespeed

83.0 MB/s

38.3 MB/s

60.7 MB/s

31.7 MB/s

Network Disk

31.0 MB/s

26.7 MB/s

31.0 MB/s

23.0 MB/s

NFS Disk

24.0 MB/s

21.2 MB/s

33.6 MB/s

43.0 MB/s

Tests

Sheevaplug local IO Speed

root@sheeva# dd if=/dev/zero bs=4096 count=262144 of=/dev/zero

Local Disk Speed

root@sheeva# dd if=/dev/zero bs=4096 count=262144 of=/media/max320/binary.dat
root@sheeva# dd of=/dev/zero bs=4096 count=262144 if=/media/max320/binary.dat

Network Speed using netcat to transport data

root@sheeva# nc -l -p 2000 >/dev/zero
root@master# dd if=/dev/zero bs=4096 count=262144 | nc sheeva 2000

root@master# nc -l -p 2000 >/dev/zero
root@sheeva# dd if=/dev/zero bs=4096 count=262144 | nc master 2000

Using netcat to transport data and writing it to disk.

root@sheeva# nc -l -p 2000 >/media/max320/binary.dat
root@master# dd if=/dev/zero bs=4096 count=262144 | nc sheeva 2000

root@master# nc -l -p 2000 >/dev/zero
root@sheeva# dd if=/media/max320/binary.dat bs=4096 count=262144 | nc master 2000

Using NFS

root@master# dd if=/dev/zero bs=4096 count=262144 of=/media/sheeva/max320/binary.dat
root@master# dd if=/media/sheeva/max320/binary.dat bs=4096 count=262144 of=/dev/zero