Professional Documents
Culture Documents
低延迟测试方案
低延迟测试方案
初稿 <徐彬彬>
修订 <徐彬彬>
日期 2013 年 06 月
网络改造升级方案 2013
文档控制
修改记录
日期 作者 版本 修改记录
2013-06-28 徐彬彬 1.0 创建文档
审阅
分发
拷贝 No. 姓名 单位
网络改造升级方案 2013
目录
一:整体系统环境介绍............................................................................................................................................4
二.服务操作系统安装/运行状态...........................................................................................................................4
三.优化内容............................................................................................................................................................9
四.测试内容..........................................................................................................................................................12
五.测试时间表......................................................................................................................................................14
一:整体系统环境介绍
目前硬件:HP DL380P Gen8 *2
测试将会采用直连以及交换机互联两种模式进行。
二.服务操作系统安装/运行状态
目前服务器安装使用 ks 脚本 ks-hp-ctp_rhel5.8.cfg
安装软件包列表为
@admin-tools
@base
@chinese-support
@core
@development-libs
@development-tools
@editors
@gnome-desktop
@graphical-internet
@legacy-software-development
@system-tools
Page 4
网络改造升级方案 2013
@text-internet
@base-x
kexec-tools
iscsi-initiator-utils
fipscheck
device-mapper-multipath
sgpio
python-dmidecode
imake
emacs
audit
xorg-x11-utils
xorg-x11-server-Xnest
xorg-x11-server-Xvfb
-nspluginwrapper
分区状况为
已禁用服务列表
grub.conf 参数为默认值
default=0
timeout=5
网络改造升级方案 2013
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
root (hd0,0)
initrd /initrd-2.6.18-308.el5.img
title Other
rootnoverify (hd1,0)
chainloader +1
sysctl.conf 为默认未修改
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
# Controls whether core dumps will append the PID to the core filename
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 68719476736
kernel.shmall = 4294967296
网络改造升级方案 2013
三.优化内容
RBSU 优化
当前 RBSU 设定为
参数 当前值 建议值
Intel Virtualization Technology Enable Disabled
HT Disable Disabled
Turbo mode Enable Disabled
VT-d Disable Disabled
Thermal configuration Max cooling Max cooling
HP Power profile Maximum performance Maximum performance
HP Power Regulator Static High performance mode Static High performance mode
QPI Link power mgmt. Disable Disable
Minimum Processor Idle Power Core State No c-state No c-state
Minimum Processor IdlePower Package State No p-state No p-state
Energy/Performance Bias Max Performance Max Performance
Collaborative Power Control Enable Disabled
DIMM Voltage Preference Optimized for performance Optimized for performance
Dynamic Power Capping Functionality Enable Disabled
Memory Power Savings Mode Balanced Maximum Performance
ACPI SLIT Perferences Disable Enabled
Processor Power and Util Monitoring Enable Disabled
Memory Pre-failure Notification Enable Disabled
Memory Refresh rate 2x 1x
关闭服务建议
按照 Configuration and Tuning HP Proliant Servers for Low-Latency Applications White Paper 中的建议
目前开启的服务中有如下服务可以关闭
内核参数调整
net.ipv4.tcp_timestamps = 1 改为 0
在速度较慢的广域网中该功能应该开启。在响应速度较好的局域网内,可以关闭该功能。
网络改造升级方案 2013
net.ipv4.tcp_sack = 1 改为 0
net.ipv4.tcp_low_latency = 1
描述:TCP 协议栈的决策,更喜欢更低的延迟而不是更高的吞吐量
net.core.rmem_max=16777216
net.core.wmem_max=16777216
net.core.rmem_default=16777216
net.core.wmem_default=16777216
net.core.optmem_max=16777216
调整网卡
得到这样的输出
网络改造升级方案 2013
直到找到合适的大小能正常发包后
网卡驱动参数调整:
Grub 修改
四.测试内容
网络改造升级方案 2013
NETPERF
在两个服务器上安装 nerperf
Compilation
./configure --enable-intervals --enable-histogram --enable-burst
make
makeinstall
可用参数:
-d
可用值有:
-D TCP_NODELAY 关闭 nagle 算法
-k 选取 keyvalue 作为输出
例子中的值释义为
MIN_LATENCY
网络改造升级方案 2013
-T 指定协议
TCP
Select the Transmission Control Protocol
UDP
Select the User Datagram Protocol
SDP
Select the Sockets Direct Protocol
DCCP
Select the Datagram Congestion Control Protocol
SCTP
Select the Stream Control Transport Protocol
udplite
Select UDP Lite
-m 指定发送包的大小(需要-D 参数)
-M 指定接收包的大小(需要-D 参数)
Sockperf
UDP Server: sockperf sr –i <interface ip>
Client:
TCP test: sockperf pp –i <sockperf server ip> -m <message size> -t <test time> --tcp
UDP test: sockperf pp –i <sockperf server ip> -m <message size> -t <test time>
网络改造升级方案 2013
测试工具 HP-TimeTest
五.测试方式
1.停止服务
可以使用 stopservice.sh 脚本
#!/bin/bash
for SERVICE in acpid alsasound autofs avahi-daemon bluetooth conman cpuspeed cron cups cupsrenice
dhcdbd dnsmasg dund firstboot hidd ip6tables ipmi irda kudzu libvirtd lvm2-monitor mcstrans mdmonitor
mdmpd messagebus multipathd netconsole netfs netplugd nscd oddjobd pand pcscd postfix powersaved
psacct rdisc readahead_early readahead_later restoresecond rhnsd rpcgssd rpcidmapd rpcsvgssd saslauthd
sendmail slpd smartd smbfs suseRegister sysstat wpa_supplicant xfs vpbind yum-updatesd novell-zmd
do
service stop
done
网络改造升级方案 2013
低延迟测试
可以使用脚本 lowlatencytest
用法:
Lowlatencytest <server ip> <client ip> [message size] [test time] [dir_suffix]
dir_suffix 用作分类测试结果文件夹的后缀,方便用户归档测试结果。
测试结果都会保存在/root/result/下以测试开始时间+dir_suffix 命名的文件夹中。
六.测试结果
Netperf:
TCP_RR:
MIGRATED TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 1.1.1.1 (1.1.1.1) port 0 AF_INET :
histogram : interval : first burst 0 : cpu bind
P50_LATENCY=85
P90_LATENCY=111
P99_LATENCY=136
MEAN_LATENCY=90.89
STDDEV_LATENCY=16.20
MAX_LATENCY=1096
UNIT_USEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
网络改造升级方案 2013
UNIT_MSEC : 0: 4: 0: 0: 0: 0: 0: 0: 0: 0
TEN_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
HUNDRED_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
TEN_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
>100_SECS: 0
HIST_TOTAL: 1314524
MIGRATED TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 1.1.1.1 (1.1.1.1) port 0 AF_INET :
histogram : interval : first burst 0 : cpu bind
P50_LATENCY=85
P90_LATENCY=112
P99_LATENCY=136
MEAN_LATENCY=91.45
STDDEV_LATENCY=16.07
MAX_LATENCY=1101
UNIT_USEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_MSEC : 0: 9: 0: 0: 0: 0: 0: 0: 0: 0
网络改造升级方案 2013
TEN_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
HUNDRED_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
TEN_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
>100_SECS: 0
HIST_TOTAL: 1306480
TCP_STREAM:
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 1.1.1.1 (1.1.1.1) port 0 AF_INET : histogram :
interval : cpu bind
P50_LATENCY=-2147483648
P90_LATENCY=1
P99_LATENCY=3
MEAN_LATENCY=0.49
STDDEV_LATENCY=0.88
MAX_LATENCY=249
UNIT_USEC : 123001767: 84167415: 2842462: 412223: 416472: 442132: 483974: 392126: 200137: 61589
TEN_USEC : 0: 25228: 1: 0: 1: 0: 0: 0: 0: 2
HUNDRED_USEC : 0: 1: 827: 0: 0: 0: 0: 0: 0: 0
UNIT_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
网络改造升级方案 2013
TEN_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
HUNDRED_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
TEN_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
>100_SECS: 0
HIST_TOTAL: 212446357
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 1.1.1.1 (1.1.1.1) port 0 AF_INET : histogram :
interval : cpu bind
P50_LATENCY=-2147483648
P90_LATENCY=1
P99_LATENCY=2
MEAN_LATENCY=0.47
STDDEV_LATENCY=22.79
**MAX_LATENCY=12129
UNIT_USEC : 134543244: 83803588: 541647: 517428: 589499: 430499: 183592: 59129: 20015: 9714
HUNDRED_USEC : 0: 3: 762: 0: 0: 0: 0: 0: 0: 0
UNIT_MSEC : 0: 0: 0: 0: 0: 0: 1: 0: 0: 0
TEN_MSEC : 0: **820: 0: 0: 0: 0: 0: 0: 0: 0
HUNDRED_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
网络改造升级方案 2013
TEN_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
>100_SECS: 0
HIST_TOTAL: 220712713
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 1.1.1.1 (1.1.1.1) port 0 AF_INET : histogram :
interval : cpu bind
P50_LATENCY=-2147483648
P90_LATENCY=1
P99_LATENCY=3
MEAN_LATENCY=0.48
STDDEV_LATENCY=0.88
MAX_LATENCY=431
UNIT_USEC : 123927001: 84135793: 2973037: 336144: 429043: 462685: 492576: 375065: 186500: 55632
TEN_USEC : 0: 25646: 2: 0: 2: 0: 0: 0: 0: 0
HUNDRED_USEC : 0: 1: 870: 0: 1: 0: 0: 0: 0: 0
UNIT_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
TEN_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
HUNDRED_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
TEN_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
>100_SECS: 0
网络改造升级方案 2013
HIST_TOTAL: 213399998
UDP_RR
MIGRATED UDP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 1.1.1.1 (1.1.1.1) port 0 AF_INET :
histogram : interval : first burst 0 : cpu bind
P50_LATENCY=83
P90_LATENCY=93
P99_LATENCY=101
MEAN_LATENCY=84.49
STDDEV_LATENCY=11.01
MAX_LATENCY=1091
UNIT_USEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_MSEC : 0: 6: 0: 0: 0: 0: 0: 0: 0: 0
TEN_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
HUNDRED_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
TEN_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
>100_SECS: 0
网络改造升级方案 2013
HIST_TOTAL: 1413828
MIGRATED UDP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 1.1.1.1 (1.1.1.1) port 0 AF_INET :
histogram : interval : first burst 0 : cpu bind
P50_LATENCY=83
P90_LATENCY=107
P99_LATENCY=125
MEAN_LATENCY=89.38
STDDEV_LATENCY=14.68
MAX_LATENCY=1088
UNIT_USEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_MSEC : 0: 16: 0: 0: 0: 0: 0: 0: 0: 0
TEN_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
HUNDRED_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
TEN_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
>100_SECS: 0
HIST_TOTAL: 1336759
UDP_STREAM:
网络改造升级方案 2013
MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 1.1.1.1 (1.1.1.1) port 0 AF_INET : histogram :
interval : cpu bind
P50_LATENCY=1
P90_LATENCY=3
P99_LATENCY=3
MEAN_LATENCY=1.50
STDDEV_LATENCY=1.34
MAX_LATENCY=4125
UNIT_USEC : 823244: 46601028: 19928037: 8350992: 402073: 23482: 62935: 21804: 4716: 192
TEN_USEC : 0: 16: 1: 0: 0: 0: 0: 0: 0: 0
UNIT_MSEC : 0: 0: 0: 0: 2: 0: 0: 0: 0: 0
TEN_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
HUNDRED_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
TEN_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
>100_SECS: 0
HIST_TOTAL: 76219519
MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 1.1.1.1 (1.1.1.1) port 0 AF_INET : histogram :
interval : cpu bind
P50_LATENCY=1
P90_LATENCY=2
P99_LATENCY=3
MEAN_LATENCY=1.50
STDDEV_LATENCY=1.22
MAX_LATENCY=4183
UNIT_USEC : 462702: 43974581: 24927611: 6322585: 98215: 22242: 63435: 22527: 3046: 107
TEN_USEC : 0: 20: 1: 0: 0: 0: 0: 0: 0: 0
UNIT_MSEC : 0: 0: 0: 0: 1: 0: 0: 0: 0: 0
TEN_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
HUNDRED_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
TEN_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
>100_SECS: 0
HIST_TOTAL: 75898066
TCP_RR:
MIGRATED TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 1.1.1.2 (1.1.1.2) port 0 AF_INET :
histogram : interval : first burst 0 : cpu bind
P50_LATENCY=86
网络改造升级方案 2013
P90_LATENCY=110
P99_LATENCY=134
MEAN_LATENCY=92.47
STDDEV_LATENCY=15.73
MAX_LATENCY=1277
UNIT_USEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_MSEC : 0: 22: 0: 0: 0: 0: 0: 0: 0: 0
TEN_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
HUNDRED_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
TEN_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
>100_SECS: 0
HIST_TOTAL: 1281962
MIGRATED TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 1.1.1.2 (1.1.1.2) port 0 AF_INET :
histogram : interval : first burst 0 : cpu bind
P50_LATENCY=86
P90_LATENCY=110
P99_LATENCY=133
MEAN_LATENCY=91.88
网络改造升级方案 2013
STDDEV_LATENCY=15.43
MAX_LATENCY=1083
UNIT_USEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_MSEC : 0: 3: 0: 0: 0: 0: 0: 0: 0: 0
TEN_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
HUNDRED_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
TEN_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
>100_SECS: 0
HIST_TOTAL: 1289936
TCP_STREAM:
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 1.1.1.2 (1.1.1.2) port 0 AF_INET : histogram :
interval : cpu bind
P50_LATENCY=-2147483648
P90_LATENCY=1
P99_LATENCY=5
MEAN_LATENCY=0.54
网络改造升级方案 2013
STDDEV_LATENCY=1.17
MAX_LATENCY=349
UNIT_USEC : 111167348: 74045214: 3739705: 749793: 709087: 745439: 509456: 356555: 303755: 206749
UNIT_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
TEN_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
HUNDRED_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
TEN_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
>100_SECS: 0
HIST_TOTAL: 192910366
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 1.1.1.2 (1.1.1.2) port 0 AF_INET : histogram :
interval : cpu bind
P50_LATENCY=-2147483648
P90_LATENCY=1
P99_LATENCY=5
MEAN_LATENCY=0.55
STDDEV_LATENCY=1.18
MAX_LATENCY=330
网络改造升级方案 2013
UNIT_USEC : 105421304: 71658364: 4074269: 874154: 642489: 752468: 498656: 351074: 302818: 198232
UNIT_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
TEN_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
HUNDRED_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
TEN_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
>100_SECS: 0
HIST_TOTAL: 185115827
UDP_RR:
MIGRATED UDP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 1.1.1.2 (1.1.1.2) port 0 AF_INET :
histogram : interval : first burst 0 : cpu bind
P50_LATENCY=82
P90_LATENCY=94
P99_LATENCY=101
MEAN_LATENCY=83.59
STDDEV_LATENCY=11.44
MAX_LATENCY=1225
网络改造升级方案 2013
UNIT_USEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_MSEC : 0: 4: 0: 0: 0: 0: 0: 0: 0: 0
TEN_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
HUNDRED_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
TEN_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
>100_SECS: 0
HIST_TOTAL: 1417624
MIGRATED UDP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 1.1.1.2 (1.1.1.2) port 0 AF_INET :
histogram : interval : first burst 0 : cpu bind
P50_LATENCY=84
P90_LATENCY=108
P99_LATENCY=128
MEAN_LATENCY=89.71
STDDEV_LATENCY=15.31
MAX_LATENCY=1093
UNIT_USEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_MSEC : 0: 11: 0: 0: 0: 0: 0: 0: 0: 0
TEN_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
HUNDRED_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
TEN_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
>100_SECS: 0
HIST_TOTAL: 1320969
UDP_STREAM:
MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 1.1.1.2 (1.1.1.2) port 0 AF_INET : histogram :
interval : cpu bind
P50_LATENCY=2
P90_LATENCY=3
P99_LATENCY=4
MEAN_LATENCY=2.21
STDDEV_LATENCY=1.57
MAX_LATENCY=342
UNIT_USEC : 53127: 14426383: 16875154: 17563499: 3271490: 176342: 56727: 37025: 16120: 2582
TEN_USEC : 0: 1432: 2: 1: 0: 0: 0: 0: 0: 0
UNIT_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
网络改造升级方案 2013
TEN_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
HUNDRED_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
TEN_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
>100_SECS: 0
HIST_TOTAL: 52480827
MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 1.1.1.2 (1.1.1.2) port 0 AF_INET : histogram :
interval : cpu bind
P50_LATENCY=2
P90_LATENCY=3
P99_LATENCY=4
MEAN_LATENCY=2.21
STDDEV_LATENCY=1.58
MAX_LATENCY=340
UNIT_USEC : 48764: 14532790: 16739149: 17109761: 3661460: 177269: 56192: 37509: 16073: 2709
TEN_USEC : 0: 1499: 1: 1: 0: 0: 0: 0: 0: 0
UNIT_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
TEN_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
HUNDRED_MSEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
UNIT_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
网络改造升级方案 2013
TEN_SEC : 0: 0: 0: 0: 0: 0: 0: 0: 0: 0
>100_SECS: 0
HIST_TOTAL: 52384119
Sockperf
[root@FusionIO ~]# sockperf -pp -i 1.1.1.1 -m 64 -t 120
version 2.5.208
Available subcommands:
under-load (ul) Run sockperf client for latency under load test.
ping-pong (pp) Run sockperf client for latency test in ping pong mod
playback (pb) Run sockperf client for latency test using playback o
throughput (tp) Run sockperf client for one way throughput test.