zoukankan      html  css  js  c++  java
  • Linux iperf网络性能测试

    yum install iperf -y

    udp模式

    服务器端:
    iperf -u -s
    客户端:
    iperf -u -c 192.168.1.1 -b 100M -t 60
    在udp模式下,以100Mbps为数据发送速率,客户端到服务器192.168.1.1上传带宽测试,测试时间为60秒。
    iperf -u -c 192.168.1.1 -b 5M -P 30 -t 60
    客户端同时向服务器端发起30个连接线程,以5Mbps为数据发送速率。
    iperf -u -c 192.168.1.1 -b 100M -d -t 60
    以100M为数据发送速率,进行上下行带宽测试。


    TCP模式
    服务端:
    iperf -s
    客户端:
    iperf -c 192.168.1.1 -t 60
    在tcp模式下,客户端到服务器192.168.1.1上传带宽测试,测试时间为60秒。
    iperf -c 192.168.1.1 -P 30 -t 60
    客户端同时向服务器端发起30个连接线程。
    iperf -c 192.168.1.1 -d -t 60
    进行上下行带宽测试。

  • 相关阅读:
    树状数组&线段树
    8月7日小练
    8月6日小练
    LID&LDS 的另外一种算法
    LCS,LIS,LCIS
    8-11-Exercise
    8-10-Exercise
    线段树
    8-7-Exercise
    8-6-Exercise
  • 原文地址:https://www.cnblogs.com/vincent-liang/p/6559644.html
Copyright © 2011-2022 走看看