Test environment is shown by the following table:
OS | CentOS-6.4-64bit |
---|---|
CPU | Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz * 12 |
RAM | 32 GiB |
Kernel | 2.6.32-358.el6.x86_64 |
Install and configure Cobub Toaster according to the Installation Guide of Cobub Toaster.
Switch to the installation directory, assumption is /opt/toaster, and start Cobub Toaster:
cd /opt/toaster ./toaster -log_dir=”./log”
Modify and launch the test script, setting up 50,000-500,000 clients connections. Monitor hardware resources by ganglia, call PNS Web interface /allpub to test server respond speed with different connections. Finally we got data as following:
^Connections ^Push Elapse time(ms) ^Success rate(%) ^Memory after testing(GiB) ^Memory after stable(GiB) ^Toaster memory occupy(GiB)^
50,000 | 582.8 | 100.00% | 2.7 | 4.4 | 1.7 |
60,000 | 687.0 | 100.00% | 2.7 | 4.0 | 1.3 |
70,000 | 814.7 | 100.00% | 3.3 | 4.6 | 1.3 |
80,000 | 933.0 | 100.00% | 2.7 | 4.3 | 1.6 |
90,000 | 1046.1 | 100.00% | 2.1 | 4.5 | 2.4 |
100,000 | 1164.4 | 100.00% | 1.8 | 5.2 | 3.4 |
200,000 | 2320.2 | 100.00% | 2.7 | 6.6 | 3.9 |
300,000 | 3478.5 | 100.00% | 4.0 | 9.0 | 5.0 |
400,000 | 4615.5 | 100.00% | 3.3 | 13.4 | 10.1 |
500,000 | 5851.2 | 100.00% | 2.6 | 12.3 | 9.7 |