Chinaunix首页 | 论坛 | 博客
  • 博客访问: 577724
  • 博文数量: 353
  • 博客积分: 1104
  • 博客等级: 少尉
  • 技术积分: 1457
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-23 23:02
个人简介

1、刚工作时做Linux 流控;后来做安全操作系统;再后来做操作系统加固;现在做TCP 加速。唉!没离开过类Unix!!!但是水平有限。。

文章存档

2015年(80)

2013年(4)

2012年(90)

2011年(177)

2010年(1)

2009年(1)

分类: LINUX

2015-07-10 10:11:56

原文地址:Performance testing 作者:firocu


Netperf(net)

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(disk)

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(disk)

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.
 

spec2000

Details in loongson doc






sentinel

阅读(1030) | 评论(0) | 转发(0) |
0

上一篇:Linux内核探索之路——关于方法

下一篇:没有了

给主人留下些什么吧!~~