On one machine, run:
nc -v -l 2222 > /dev/null
(Make sure you're not blocking connections to 2222!)
On a second machine, run:
dd if=/dev/zero bs=1024K count=512 | nc -v $IP_OF_FIRST_MACHINE 2222
dd will give you your speed:
536870912 bytes (537 MB) copied, 4.87526 s, 117 MB/s
Yay, gigabit!
ymmv, test with /dev/zero at your own risk. Speak with your NOC before starting any network infrastructure changes.
Have you considered using iperf?
ReplyDeleteI'll check it out!
ReplyDeleteiperf isn't better solution ?
ReplyDeleteiperf seems to work just fine (I hadn't known about it before Martin's reply).
ReplyDeletettcp is also really good for testing line speeds between two machines.
ReplyDelete[...] used jbowes method of performance testing. I ran nc on the [...]
ReplyDeleteActually used this to test wifi speeds around my house between laptop and a wired server!! Very helpful, thank you. :)
ReplyDelete