Dan Widyono on 30 Oct 2007 02:20:03 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Actual Linux Network Speeds


I assume you want to remove effects of compression, filesystem, bus
contention, storage device dynamics, encryption, and overhead for connection
and file setup/takedown.  Furthermore, I assume you want to include TCP
overhead in your "better" analysis.  Therefore, I would do something akin to
this (off the top of my head, please test it and let me know if it's useful):

cd /dev/shm
dd if=/dev/urandom of=testfile1 bs=1048576 count=128
cat testfile1 testfile1 > testfile2
cat testfile1 testfile1 testfile1 > testfile3
[...]

(keep going if you have enough RAM; you get the idea; it's just for multiple
	data points)

<remote> nc -l 1234 > /dev/null
<local>  time nc <remoteip> 1234 < testfile1
<remote> nc -l 1234 > /dev/null
<local>  time nc <remoteip> 1234 < testfile2
<remote> nc -l 1234 > /dev/null
<local>  time nc <remoteip> 1234 < testfile3
[...]

Then I'd fire up MS Excel, put the results in there, make a Pie Chart, import
that into MS PowerPoint, get some glossy slides out of it, and cut and paste
some enticing verbiage from MS Word to punch the ideas home.  I'd then task
R&D to do this every day, and put their results into MS Access, and write
some .NET code to automate the rest.  Then I'd see if different network
switches and routers in between the source and destination would affect the
results, and publish the benchmark results at a conference.

Then I'd wake up.

Dan W.

On Mon, Oct 29, 2007 at 05:36:23PM -0400, Neill R wrote:
>    Guys,
> 
>    I run a command # ethtool eth0 and see my interface is running at
>    1000Mbps.
> 
>    Are there any utilities out there that you suggest running to see actual
>    network speed. I run scp and see some different numbers in my stats: ( i.e
>    29MB/sec) but was wondering if there is a better way.
> 
>    thanks in advance.

> ___________________________________________________________________________
> Philadelphia Linux Users Group         --        http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug