2014年5月2日 星期五

Netperf_Linux

Netperf_Linux 

1. Load BIOS default, Then boot into OS to run Netperf.   
  2. Copy netperf-2.6.0.tar.gz to OS:
        # cp  /mnt/netperf-2.6.0.tar.gz  /   
  3. Uncompress Netperf:
        # tar  zxvf  /netperf-2.6.0.tar.gz   
  4. Install Netperf:
        # cd  /netperf-2.6.0
          # ./configure
          # make  install   
  5. Setting IP of Testing NIC.
        # ifconfig  eth0  192.1.1.100   
  6. Do the same steps 1 to 5 in the 2 Servers.   (192.1.1.200)

  7. In Remote Server, start up Netperf Server Role (IP: 192.1.1.100):
        # cd  /netperf-2.6.0/src
          # netserver       (Starting netserver with host "IN(6)ADDR_ANY" port `12865' and)
  8. In Local Server (Main Server, IP: 192.1.1.200), Test TCP Stream Throughput:
        # cd  /netperf-2.6.0/src
          # netperf  -t  TCP_STREAM  -l  180  -H  192.1.1.100  -c  --  -s  128k  -S  128K   
  9. In Local Server (Main Server), Test UDP Stream Throught:
        # netperf  -t  UDP_STREAM  -l  180  -H  192.1.1.100  -c  --  -s  128k  -S  128K   
  10. In Local Server (Main Server), Test TCP Request/Response in 1 byte:
        # netperf  -t  TCP_RR  -l  180  -H  192.1.1.100  -c   
  ***11. In Local Server (Main Server), Test TCP Request/Response in 32/1024 byte:
        # netperf  -t  TCP_RR  -l  180  -H  192.1.1.100  -c  --  -r  32/1024   
  12. In Local Server (Main Server), Test TCP Connect/Request/Response in 1 byte:
        # netperf  -t  TCP_CRR  -l  180  -H  192.1.1.100  -c   
  ***13. In Local Server (Main Server), Test TCP Connect/Request/Response in 32/1024 byte:
        # netperf  -t  TCP_CRR  -l  180  -H  192.1.1.100  -c  --  -r  32/1024   
 14.In Local Server (Main Server), Test UDP Request/Response :
        # netperf  -t  UDP_RR  -l  180  -H  192.1.1.100  -c  
  15. Save Test Result and Log files.   
  16. Report as defect if there is any error happened or low Test Result.   
    

1 則留言:

  1. When i execute below command i am getting the error like:
    $ netserver
    Unable to start netserver with 'IN(6)ADDR_ANY' port '12865'
    and family AF_UNSPEC

    This is because port might be busy, because of netserver is already running.
    You can check port status using command netstat -ant|grep 12865. / or just
    run ps x|grep netserver to see that netserver is already running.
    You want to run in any other port(49152) use the command netserver
    "netserver -p 49152 -L 172.28.132.100"


    -> Please tell me How can i check the TCP/IP performance(Throughput)
    for 15min duration using "netperf" command. (On Linux and Genode
    Microkernel).

    netperf -p 49152 -H 172.28.132.100 -L 172.28.132.79 -l 900 -t tcp_stream
    this will run for 15 min(900 Sec) and check tcp_stream performance. You can
    change test type also.

    回覆刪除

(TOP)Temp for soulin only

123