cancel
Showing results for 
Search instead for 
Did you mean: 

Measure network throughput

mhm
Advisor

Measure network throughput

Dears,

We have one server that has more than one IP, one of the connections is configured on 10gb/sec B2B with another server, I want to test the throughput between them and verify the speed:

I already done the following test:
[server1]# dd if=/dev/zero of=test bs=1024k count=1000
[server1]# timex scp test server2_IP:/var

The results were normal, about 15MB/s and the 1GB took about 1 minute to finish, I think it should take lower time than what we have here.

I used the server2 IP to ensure using the 10GB network.
Is my way correct? Any idea how to test? Any tools?
7 REPLIES

Re: Measure network throughput

maybe test with netperf?
http://www.netperf.org/netperf/
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
rick jones
Honored Contributor

Re: Measure network throughput

Melvyn - your check is in the mail :)

If your goal is to measure maximum throughput through a 10Gbit/s NIC then I would put netperf on both ends and run what I call a 1Mx64 TCP_STREAM test:

netperf -H -t TCP_STREAM -l 30 -- -s 1M -S 1M -m 64K

BTW, which ones do you have AD385A (PCI-X 2.0) or AD386A (PCIe 1.1 x8) and are they in a correspondingly "beefy" I/O slot? Also, these multiple IP addresses - are the IPs of the different NICs in the system in separate IP subnets, or the same IP subnet? If the same, that will complicate making sure the test actually goes over the interface desired.
there is no rest for the wicked yet the virtuous have no pillows
mhm
Advisor

Re: Measure network throughput

Thanks I'll consider that, they are HP AD385-60001 PCI-X cards, I don't know what "beefy" means? All the IP's falling in different sunets.

BTW, how much bandwidth should I get from those 10G cards? Can anybody tell?
likid0
Honored Contributor

Re: Measure network throughput

"beefy" means if you have your NICs installed on slots with high bandwith, pcix or pce for example.
Windows?, no thanks
Brian Hackley
Honored Contributor

Re: Measure network throughput

Hi,
If you see major difference with scp throughput, it is possible that the scp may be throttled by its own design. If so, consult the advice found in the HP-UX Secure Shell Getting Started Guide, Chapter 6 Enabling HP-UX Secure Shell to Take Advantage of High Speed Networks. Link to the guide is http://docs.hp.com/en/5992-4213/ch06.html

Hope that helps,
Brian
Ask me about telecommuting!
rick jones
Honored Contributor

Re: Measure network throughput

It has been quite some time since I did much of anything with the AD385A, but if you have it in a 266 MHz slot, the NIC Hardware should be capable of "link rate" in one direction. The specifics of your situation, such as the performance of the CPUs you have, might dictate using more than one TCP connection to arrive at that performance.

If you put the NIC into a 133 MHz slot, the best you can expect is about 7 Gbit/s tops.

The default TCP window size in HP-UX 11iv3 (32768 bytes) is not sufficient to achieve maximum single-connection performance. That is why my netperf example used "1M" (M == 1024^2) socket buffers - 1 MB should be more than sufficient - 256K might suffice, but I'm in the habit of using 1M.
there is no rest for the wicked yet the virtuous have no pillows
mhm
Advisor

Re: Measure network throughput

Thanks for your replies,

Yes rick, the cards resides on 266 MHz slots, how can we use more than one TCP connection in such a thing?

Do you suggest to change the window size?