免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6982 | 回复: 4
打印 上一主题 下一主题

测试大量IP的网络延迟有哪些方法?? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-07-16 19:22 |只看该作者 |倒序浏览
测试大量IP的网络延迟有哪些方法??

论坛徽章:
0
2 [报告]
发表于 2012-07-16 21:34 |只看该作者
能不能将需求更详细些?

论坛徽章:
0
3 [报告]
发表于 2012-07-17 19:13 |只看该作者
回复 2# rain_fish


    假设我有一些IP地址的信息,我想测试这些IP地址的网络延迟,我能够想到的是直接发送ICMP包来测试网络延迟,但是如果测试某个国家的或者更多的IP信息的话,怎么能够比较高效的测试,我想到的方法是同时建立多个线程进行IP地址的ICMP请求,来处理

论坛徽章:
0
4 [报告]
发表于 2012-07-24 20:55 |只看该作者
g_programming 发表于 2012-07-17 19:13
回复 2# rain_fish


除了多线程并发,没有别的办法吧

论坛徽章:
13
15-16赛季CBA联赛之同曦
日期:2016-01-28 19:52:032015亚冠之北京国安
日期:2015-10-07 14:28:19NBA常规赛纪念章
日期:2015-05-04 22:32:03处女座
日期:2015-01-15 19:45:44卯兔
日期:2014-10-28 16:17:14白羊座
日期:2014-05-24 15:10:46寅虎
日期:2014-05-10 09:50:35白羊座
日期:2014-03-12 20:52:17午马
日期:2014-03-01 08:37:27射手座
日期:2014-02-19 19:26:54子鼠
日期:2013-11-30 09:03:56狮子座
日期:2013-09-08 08:37:52
5 [报告]
发表于 2012-07-26 20:28 |只看该作者
webbench最多可以模拟3万个并发连接去测试网站的负载能力,个人感觉要比Apache自带的ab压力测试工具好,安装使用也特别方便。

  1、适用系统:Linux

FROM: http://blog.s135.com/post/288/

Httperf   
Httperf is a simple command-line tool that can be downloaded from its official website: www.hpl.hp.com/research/linux/httperf/

Autobench  
Autobench is a Perl script that makes use of httperf more efficiently—it runs continuous tests and automatically increases request rates until your server gets saturated.

OpenWebLoad
OpenWebLoad is a free open source application. It is available for both Linux and Windows platforms and was developed in the early 2000s, back in the days of Web 1.0
A different approach is offered here—instead of throwing loads of requests
at the server and seeing how many are handled correctly, it will simply send as many requests as possible using a variable amount of connections and report to you every second.

使用上述工具可以看到很详细的统计 ! O_o
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP