[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] TCP transmit performance





Falk Brettschneider wrote:
Hmm... strange... could you send me your kernel configuration (.config), please. One thing that may be is I don't have switched on a needed feature there (?)....
CU, F@lk

  
Here is the network portion.  I wonder of your optimizations broke something in the network stack?  Do your other network apps work correctly?

#
# Networking
#
CONFIG_NET=y

#
# Networking options
#
# CONFIG_NETDEBUG is not set
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
CONFIG_UNIX=y
CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set
# CONFIG_NET_KEY is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_FIB_HASH=y
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set
# CONFIG_INET_TUNNEL is not set
# CONFIG_IPSEC_NAT_TRAVERSAL is not set
CONFIG_INET_XFRM_MODE_TRANSPORT=y
CONFIG_INET_XFRM_MODE_TUNNEL=y
CONFIG_INET_XFRM_MODE_BEET=y
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_IPV6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETFILTER is not set
# CONFIG_BRIDGE is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set

P.S.: And how can I interpret the output? Where can I see the MB/s?

  
Um, here:
Recv   Send    Send                          
Socket Socket  Message  Elapsed              
Size   Size    Size     Time     Throughput  
bytes  bytes   bytes    secs.    10^6bits/sec  

  8192  16384  16384    10.02      15.32   

That 10^6bits/sec column is Mbits/sec.  15.32Mbits/sec in this example.
-------- Original-Nachricht --------
  
Datum: Thu, 15 May 2008 10:10:00 -0700
Von: Jim Van Vorst <jvanvorst@xxxxxxxxx>
An: microblaze-uclinux@xxxxxxxxxxxxxx
Betreff: Re: [microblaze-uclinux] TCP transmit performance
    

  
It works fine for me.  Grumbles about the signals but still works.  I'm 
using v0.2, no mmu.  Are you sure windows firewall isn't blocking 
anything?  Has anyone else run netperf on v0.3?

Here is my output:
    
# netperf -d -H x.x.x.x
Program name: netperf
Local send alignment: 8
Local recv alignment: 8
Remote send alignment: 8
Remote recv alignment: 8
Report local CPU 0
Report remote CPU 0
Verbosity: 1
Debug: 1
Port: 12865
Test name: TCP_STREAM
Test bytes: 0 Test time: 10 Test trans: 0
Host name: x.x.x.x

installing catcher for all signals
Could not install signal catcher for sig 9, errno 22
Could not install signal catcher for sig 19, errno 22
remotehost is x.x.x.x and port 12865
establish_control: connect completes
recv_response: received a 256 byte response
establish_control: check for connectivity ok
TCP STREAM TEST to x.x.x.x
create_data_socket: socket 5 obtained...
netperf: set_sock_buffer: send socket size determined to be 16384
netperf: set_sock_buffer: receive socket size determined to be 87380
send_tcp_stream: send_socket obtained...
recv_response: received a 256 byte response
remote listen done.
About to start a timer for 10 seconds.
recv_response: received a 256 byte response
remote results obtained
calculate_confidence: itr  1; time 10.016463; res  15.323304
                               lcpu -1.000000; rcpu -1.000000
                               lsdm -1.000000; rsdm -1.000000
Recv   Send    Send                          
Socket Socket  Message  Elapsed              
Size   Size    Size     Time     Throughput  
bytes  bytes   bytes    secs.    10^6bits/sec  

  8192  16384  16384    10.02      15.32   
      

  
___________________________ microblaze-uclinux mailing list microblaze-uclinux@xxxxxxxxxxxxxx Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/