2009-07-30 14:47:59     BF537 netperf

Document created by Aaronwu Employee on Aug 16, 2013
Version 1Show Document
  • View in full screen mode

2009-07-30 14:47:59     BF537 netperf

Chris Brissette (UNITED STATES)

Message: 78223   

 

I have a throughput question.

 

Running A 537 500Mhz  (stamp like clone)

 

Version:

 

kernel: Linux release 2.6.28.10-ADI-2009R1-svn7061,

bfin_mii_bus: probed

[17179570.012000] bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:07, irq=-1, mdc_clk=2500000Hz(mdc_div=19)@sclk=100MHz)

 

 

Netperf/netserver between Debian and blackfin

 

////////////////////////////////////////////////////////////////////////////////////

 

ON BLACKFIN

 

root: /> netperf

TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to localhost.localdomain (127.0.0.1) port 0 AF_INET

Recv Send Send

Socket Socket Message Elapsed

Size Size Size Time Throughput

bytes bytes bytes secs. 10^6bits/sec

 

87380 16384 16384 10.00 143.58

 

////////////////////////////////////////////////////////////////////////////////////////

 

ON BLACKFIN AGAIN

 

root: /> netperf -H Debian

TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to Debian (Debian) port 0 AF_INET

Recv Send Send

Socket Socket Message Elapsed

Size Size Size Time Throughput

bytes bytes bytes secs. 10^6bits/sec

 

  256 16384 16384 10.01 5.69

 

 

/////////////////////////////////////////////////////////////////////////////////////////

 

On Debian

 

debian# netperf -H blackfin

TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to blackfin(blackfin) port 0 AF_INET : demo

Recv Send Send

Socket Socket Message Elapsed

Size Size Size Time Throughput

bytes bytes bytes secs. 10^6bits/sec

 

87380 16384 16384 10.01 91.97

 

/////////////////////////////////////////////////////////////////////////////////////////

 

Is there a reason that the 537 could run a test at 90Mit/sec in server mode vs. 6Mbit/sec client? Is it just cpu bound? It seems to be that there are others that can get better throughput on this board. I was just trying to make sure that there is nothing wrong on my end. (Is this a valid test?)

 

It always connects 100/Full.

 

Thanks,

 

Chris

QuoteReplyEditDelete

 

 

2009-07-30 15:55:09     Re: BF537 netperf

Robin Getz (UNITED STATES)

Message: 78225   

 

Chris:

 

We used to be able to do ~90is as well - Ill have to check to see what is going on...

 

Robin

QuoteReplyEditDelete

 

 

2009-07-31 04:53:01     Re: BF537 netperf

Yi Li (CHINA)

Message: 78241   

 

I did some test. And I think this problem is caused by netperf / netserver version mismatch.

 

If I use netserver v2.4.4 on the host, on blackfin run netperf-2.4.1, I got:

 

root:/> netperf -H 192.168.0.5

TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.0.5 (192.168.0.5) port 0 AF_INET

Recv   Send    Send                        

Socket Socket  Message  Elapsed            

Size   Size    Size     Time     Throughput

bytes  bytes   bytes    secs.    10^6bits/sec

 

   256  16384  16384    10.01       7.72

 

If I use netserver v2.4.1 on the host, on blackfin run netperf-2.4.1, I got:

 

root:/> netperf -H 192.168.0.5

TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.0.5 (192.168.0.5) port 0 AF_INET

Recv   Send    Send                        

Socket Socket  Message  Elapsed            

Size   Size    Size     Time     Throughput

bytes  bytes   bytes    secs.    10^6bits/sec

 

87380  16384  16384    10.00      88.12 

 

If run netserver-2.4.1 on blackfin, and netperf-2.4.1 on host, I got

 

host# ./netperf -H 192.168.0.3

TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.0.3 (192.168.0.3) port 0 AF_INET

Recv   Send    Send                        

Socket Socket  Message  Elapsed            

Size   Size    Size     Time     Throughput

bytes  bytes   bytes    secs.    10^6bits/sec

 

87380  16384  16384    10.02      94.14

 

-Yi

QuoteReplyEditDelete

 

 

2009-07-31 05:40:52     Re: BF537 netperf

Yi Li (CHINA)

Message: 78244   

 

And netperf-2.4.4 is in uclinux-dist/usr/netperf. You may modify uclinux-dist/usr/netperf/makefile to build it.

 

-Yi

QuoteReplyEditDelete

 

 

2009-07-31 09:09:07     Re: BF537 netperf

Chris Brissette (UNITED STATES)

Message: 78256   

 

That was it..

 

Thanks!

Attachments

    Outcomes