MacNean Tyrrell wrote:
> I finally got around to putting together a file server from an old desktop
> PC, was lucky enough the MOBO in there has SATA 1 connections, so i picked
> up a 500gb sata for $80 and threw it in there and installed ubuntu server.
> Now my wife uses ubuntu but i have to use xp for a specific program that
> only runs on windows.  Both laptops run on our wireless network.  I want to
> test the speed between the server and the 2 laptops, does anyone know a
> program that works in linux as well as windows to test this?  Or i guess if
> one runs linux i can just test between the server and my wife's laptop.
> 

The speed of what?

Network?
Now, when I say network, I mean exclusive of any filesystem read/write
costs. It is hard to avoid influence of the OS, though. <heh>

I have used ttcp (or one of its relatives, such as nttcp, or iperf).

There's an overview at
  http://sd.wareonearth.com/~phil/net/ttcp/
that may be useful. There are examples, too.

iperf may be the easiest to use

It looks like it may even be available for windows (although I haven't
tried it) -- try a google search on
  iperf+windows

Example:
- - -
 pick one end to be the receiver (aka "server" in iperf)
 (let's suppose this end has IP address 102.168.1.101
  you can determine that by running /sbin/ifconfig)
 tell the receiver to start ("listen", ie wait for a connection)
 iperf -s

 the other end is the transmitter (aka "client" in iperf)
 tell it to connect to the receiver and start sending
 iperf -c 192.168.1.101
 wait until it finishes
 (repeat if desired, possibly with different command-line options)

 then go back to the server and stop the server-end with Ctrl-C
- - -

It may be interesting to test in the reverse direction, and vary some of
the parameters. You can get help via
  iperf --help
or
  man iperf

For comparison, I get speeds nicely approaching 100 Mbps (typ. ~93 Mbps)
on a wired connection using nominal "100 Mbps" hardware. I get only 20
Mbps on a nominal 54 Mbps 802.11b wireless -- I haven't tried to
determine if that's normal, or if I have an underperforming component.


If you want to know the end-to-end speed of file transfer operations,
then ask again, but perhaps the raw underlying network transfer will be
interesting in itself.

Regards,
..jim

-- 
KPLUG-Newbie@kernel-panic.org
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie

Reply via email to