Page tree
Skip to end of metadata
Go to start of metadata

1. 测试环境如下表所描述:

 

操作系统CentOS-6.4-64bit
CPUIntel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz * 12
RAM32 GiB
Kernel2.6.32-358.el6.x86_64

 

2. 按照推送服务器安装指南文档的说明,安装并配置 Cobub Toaster。

3. 切换到安装目录下,假设是/opt/toaster,启动Cobub Toaster:

cd /opt/toaster
./toaster -log_dir=”./log”

4. 修改并多次启动测试程序,分别建立50000-500000的clients连接,然后用ganglia监控硬件资源,调用推送服务器的WEB接口 /allpub 来测试不同数量 clients 时推送服务器的响应速度。最终得出的数据如下: 

 

客户端数量推送耗时(ms)推送成功率测试前内存占用(GiB)稳定后内存(GiB)Toaster内存占用(GiB)
50,000582.8100.00%2.74.41.7
60,000687.0100.00%2.74.01.3
70,000814.7100.00%3.34.61.3
80,000933.0100.00%2.74.31.6
90,0001046.1100.00%2.14.52.4
100,0001164.4100.00%1.85.23.4
200,0002320.2100.00%2.76.63.9
300,0003478.5100.00%4.09.05.0
400,0004615.5100.00%3.313.410.1
500,0005851.2100.00%2.612.39.7

 

  • No labels