论坛首页 Java企业应用论坛

令人振奋的结果:memcached 访问速度达到66000TPS

浏览 20157 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2008-11-03  
测试结果:
[zhengtao.wuzt@rh44server commons-client]$ ant run -Dthread=50 && ant run  -Dthread=100 && ant run -Dthread=200 && ant run -Dthread=300 && ant run -Dthread=400
Buildfile: build.xml

run:
   [delete] Deleting directory /home/zhengtao.wuzt/work/commons-client/logs
     [java]  INFO [main] (Test.java:139) - thread num=50, repeat=10000,size=8, all=1000000 ,velocity=47229 , using time:21173

BUILD SUCCESSFUL
Total time: 21 seconds
Buildfile: build.xml

run:
   [delete] Deleting directory /home/zhengtao.wuzt/work/commons-client/logs
     [java]  INFO [main] (Test.java:139) - thread num=100, repeat=10000,size=8, all=2000000 ,velocity=52649 , using time:37987

BUILD SUCCESSFUL
Total time: 38 seconds
Buildfile: build.xml

run:
   [delete] Deleting directory /home/zhengtao.wuzt/work/commons-client/logs
     [java]  INFO [main] (Test.java:139) - thread num=200, repeat=10000,size=8, all=4000000 ,velocity=59557 , using time:67162

BUILD SUCCESSFUL
Total time: 1 minute 7 seconds
Buildfile: build.xml

run:
   [delete] Deleting directory /home/zhengtao.wuzt/work/commons-client/logs
     [java]  INFO [main] (Test.java:139) - thread num=300, repeat=10000,size=8, all=6000000 ,velocity=62657 , using time:95758

BUILD SUCCESSFUL
Total time: 1 minute 36 seconds
Buildfile: build.xml

run:
   [delete] Deleting directory /home/zhengtao.wuzt/work/commons-client/logs
     [java]  INFO [main] (Test.java:139) - thread num=400, repeat=10000,size=8, all=8000000 ,velocity=64883 , using time:123298

BUILD SUCCESSFUL
Total time: 2 minutes 3 seconds


硬件:
CPU:2* Socket Designation: CPU1  Version: Intel(R) Xeon(R) CPU   E5320  @ 1.86GHz
内存:8G
0 请登录后投票
   发表时间:2008-11-03  
客户端:T61,2g  ,ubuntu-8.04 , Intel(R) Core(TM)2 Duo CPU     T7100  @ 1.80GHz
服务端:CPU 2* Socket Designation: CPU1
        Version: Intel(R) Xeon(R) CPU           E5310  @ 1.60GHz
       8G 内存
测试结果:

uniseraph@uniseraph-laptop:~/mywork/commons-client$ ant run -Dthread=50 && ant run -Dthread=100 && ant run -Dthread=150
Buildfile: build.xml

run:
     [java]  INFO [main] (Test.java:139) - thread num=50, repeat=10000,size=2, all=1000000 ,velocity=23527 , using time:42503

BUILD SUCCESSFUL
Total time: 48 seconds
Buildfile: build.xml

run:
   [delete] Deleting directory /home/uniseraph/mywork/commons-client/logs
     [java]  INFO [main] (Test.java:139) - thread num=100, repeat=10000,size=2, all=2000000 ,velocity=25591 , using time:78152

BUILD SUCCESSFUL
Total time: 1 minute 24 seconds
Buildfile: build.xml

run:
   [delete] Deleting directory /home/uniseraph/mywork/commons-client/logs
     [java]  INFO [main] (Test.java:139) - thread num=150, repeat=10000,size=2, all=3000000 ,velocity=28091 , using time:106793

BUILD SUCCESSFUL
Total time: 1 minute 52 seconds
0 请登录后投票
   发表时间:2008-11-03  
明天再发官方客户端的测试报告
0 请登录后投票
   发表时间:2008-11-04   最后修改:2008-11-04
可以借用你的代码继续开发么? 我想在周边做些实验, 估计要比较大的改动代码. 可以么? 行的话, PM我下. 因为我这样可以节省时间网络/协议的代码.
0 请登录后投票
   发表时间:2008-11-05  
sdh5724 写道

可以借用你的代码继续开发么? 我想在周边做些实验, 估计要比较大的改动代码. 可以么? 行的话, PM我下. 因为我这样可以节省时间网络/协议的代码.



当然可以,呵呵。
0 请登录后投票
论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics