1、刚工作时做Linux 流控;后来做安全操作系统;再后来做操作系统加固;现在做TCP 加速。唉!没离开过类Unix!!!但是水平有限。。
全部博文(353)
分类: LINUX
2015-07-10 10:11:56
原文地址:Performance testing 作者:firocu
netserver
netperf -H 172.17.108.65 -t TCP_STREAM
TCP_STREAM - High-bandwidth TCP streaming test from client to server. Results is bandwidth measurement (Mbit/sec)
TCP_MAERTS - High-bandwidth TCP streaming test from server to client (MAERTS is STREAM backwards)
UDP_STREAM - High-bandwidth UDP streaming test from client to server
UDP_MAERTS - High-bandwidth UDP streaming test from server to client
TCP_RR - Request/response test - TCP "ping" from user-space client to user-space server, and back again. Result is not elapsed time per "ping", but rather average number of "pings" per second.
UDP_RR - Request/response test - UDP "ping" from user-space client to user-space server, and back again
iozone -R -l 5 -u 5 -r 4k -s 100m -F /home/f1 /home/f2 /home/f3 /home/f4 /home/f5 | tee -a /tmp/iozone_results.txt
-l,u: low up limit of thread
-s: file size
-F:Test multiple mount points together
-r: record size
iozone -a -+u -b iozone$(data +%r).output -g 5m
-a: all type of test
-+u:Used to enable CPU statistics collection.
-b: output xls file(Is there something? I am fail to geneate the file. -firo)
-g: max file size
iozone -i 0 -t 2
-i : one type of test
-t: throughout mode , and thread number.(What's the throughout mode, I am not sure.)
stressapptest -s 20 -M 256 -m 8 -C 8 -W
Allocate 256MB of memory and run 8 "warm copy" threads, and 8 cpu load threads. Exit after 20 seconds.
stressapptest -f /tmp/file1 -f /tmp/file2
Run 2 file IO threads, and autodetect memory size and core count to select allocated memory and memory copy threads.
Details in loongson doc
sentinel