[netperf-talk] Problem with Bidirectional Test
Rick Jones
rick.jones2 at hp.com
Mon Jul 13 09:29:56 PDT 2009
Ankit Goyal wrote:
> hii,
>
> I am working with dual ethernet port on my board. I have cross compiled
> netperf 2.4.5 on my board. So when I give ./netserver command:
>
> Starting netserver at port no 12865
> Starting netserver at hostname 0.0.0.0 port 12865 and family AF_UNSPEC
>
>
> But this netserver runs on the eth0 port but I want netserver to run on
> both ethernet ports.
That netserver will run over any port. The port over which tests will run will
be influenced by the netperf command lines.
> So how to make netserver run on both ports simultaneously?
Assuming we have eth0 at 1.2.3.4 and eth1 at 2.3.4.5 on the netserver system the
first version would be
netperf -H 1.2.3.4 ...
netperf -H 2.3.4.5 ...
If your board is running linux, you may need/want to set the "arp_ignore"
(sysctl -a | grep ignore) sysctl to "1" to get linux out of its *very* literal
interpretation of the weak end system model. By default, any interface in a
linux system will respond to ARP requests for any system-local IP address.
> and if possible can you tell me some ways to increase the throughput? you
> told me in previously that you can get 1800Mbps on 1Gig bidirectionaly but i
> am able to get
> outbound:560mbps
> inbound:450mbps
>
>
> wat can be done to make it to 1800 Mbps? I will be very thankful if you
> help me out man.
You will need to see first what the bottleneck happens to be. Attached to this
message is some boilerplate I have worked-up that may help.
Also, what sort of I/O connection does your dual-port chip have on this board?
PCIe? PCI-X? Speeds and feeds?
rick jones
lets keep this discussion on netperf-talk for the benefit of all.
>
> Thanks
>
>
>
>
> On Thu, Jul 9, 2009 at 10:30 PM, Rick Jones <rick.jones2 at hp.com
> <mailto:rick.jones2 at hp.com>> wrote:
>
> Ankit Goyal wrote:
>
> Thanks a ton guys!!
> If possible could you tell me that how much max bidirectional
> throughput I can get on 1Gbps ethernet connection?Can I get more
> than 1 Gig by changing the drivers and kernel?
> I know its a very relative question but i will be glad if u help
> me out!
>
>
> In theory you should be able to see O(1800) megabits/s. Certainly
> that would be my expectation in this day and age:
>
>
> s7:/home/raj/netperf2_trunk# netperf -H sbs133b1.west. -t TCP_RR -f
> m -- -r 64K -s 256K -S 256K -m 32K -b 8
> TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to
> sbs133b1.west (10.208.1.20) port 0 AF_INET : first burst 8
> Local /Remote
> Socket Size Request Resp. Elapsed
> Send Recv Size Size Time Throughput
> bytes Bytes bytes bytes secs. 10^6bits/sec
>
> 262142 262142 65536 65536 10.00 1837.52
> 524288 524288
>
> whether one will always get that with the paired
> TCP_STREAM/TCP_MAERTS test is an open question:
>
> s7:/home/raj/netperf2_trunk# for i in 1; do netperf -t TCP_STREAM -l
> 60 -H sbs133b1.west -P 0 & netperf -t TCP_MAERTS -l 60 -H
> sbs133b1.west -P 0 & done
> [1] 14619
> [2] 14620
> s7:/home/raj/netperf2_trunk#
> 87380 16384 16384 60.02 713.28
> 87380 16384 16384 60.01 874.86
>
> s7:/home/raj/netperf2_trunk# for i in 1; do netperf -t TCP_STREAM -l
> 120 -H sbs133b1.west -P 0 & netperf -t TCP_MAERTS -l 120 -H
> sbs133b1.west -P 0 & done
> [1] 14621
> [2] 14622
> s7:/home/raj/netperf2_trunk#
> 87380 16384 16384 120.03 626.89
> 87380 16384 16384 120.01 895.40
>
> (FWIW, one of the systems involved there is several (4 or 5?) years
> old now)
>
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: net_perf_list
Url: http://www.netperf.org/pipermail/netperf-talk/attachments/20090713/a1cc4b0e/attachment.txt
More information about the netperf-talk
mailing list