Skip to content

Commit

Permalink
do performance test, support 2.7kclient, 500kbps
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Jul 12, 2014
1 parent e2d273f commit 6d12280
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,29 +367,33 @@ Supported operating systems and hardware:
## Performance

Performance benchmark history:
* 2014-07-12, SRS 0.9.156, virtual box, virtual box, 1800 clients, 68%CPU, 38MB
* 2013-11-28, [SRS 0.5.0](https://github.com/winlinvip/simple-rtmp-server/commit/023e23bc8261bec15a70a7ae932098fb4f82b679), virtual box, 1800 clients, 90%CPU, 41MB
* 2014-07-12, SRS 0.9.156, virtual box, virtual box, 2700 clients, 89%CPU, 61MB
* 2014-07-12, [SRS 0.9.156, virtual box, virtual box, 1800 clients, 68%CPU, 38MB](https://github.com/winlinvip/simple-rtmp-server/commit/e2d273f4939348374bf9644df9d54c4293b39c1a)
* 2013-11-28, [SRS 0.5.0, virtual box, 1800 clients, 90%CPU, 41MB](https://github.com/winlinvip/simple-rtmp-server/commit/023e23bc8261bec15a70a7ae932098fb4f82b679)

1. 300 connections, 150Mbps, 500kbps, CPU 5.7%, MEM 9208KB.
1. 600 connections, 300Mbps, 500kbps, CPU 18.3%, MEM 13MB.
1. 900 connections, 450Mbps, 500kbps, CPU 27.9%, MEM 20MB.
1. 1200 connections, 600Mbps, 500kbps, CPU 43.9%, MEM 26MB.
1. 1500 connections, 750Mbps, 500kbps, CPU 55.2%, MEM 32MB.
1. 1800 connections, 900Mbps, 500kbps, CPU 68.8%, MEM 38MB.
1. 2100 connections, 1050Mbps, 500kbps, CPU 75.7%, MEM 46MB.
1. 2400 connections, 1200Mbps, 500kbps, CPU 83.7%, MEM 54MB.
1. 2700 connections, 1350Mbps, 500kbps, CPU 89.9%, MEM 61MB.

<pre>
[winlin@dev6 srs]$ dstat
----total-cpu-usage---- -dsk/total- ---net/lo-- ---paging-- ---system--
usr sys idl wai hiq siq| read writ| recv send| in out | int csw
20 12 57 0 0 10| 0 2048B| 101M 101M| 0 0 |3487 1299
22 14 52 0 0 12| 0 273B| 137M 137M| 0 0 |3301 954
27 17 43 0 0 14| 0 819B| 126M 126M| 0 0 |3221 817
22 13 54 0 0 11| 0 137B| 119M 119M| 0 0 |3292 964
22 13 55 0 0 10| 0 3413B| 125M 125M| 0 0 |3410 1127
24 13 52 0 0 11| 0 1502B| 124M 124M| 0 0 |3868 2028
24 14 50 0 0 13| 0 3140B| 116M 116M| 0 0 |4009 2266
24 14 50 0 0 13| 0 1502B| 110M 110M| 0 0 |3959 2206
23 14 52 0 0 12| 0 2048B| 138M 138M| 0 0 |3832 1873
29 17 39 0 0 15| 0 5325B| 163M 163M| 0 0 |4331 3386
30 16 38 0 0 16| 0 5325B| 160M 160M| 0 0 |4252 3332
30 15 37 0 0 17| 0 7646B| 169M 169M| 0 0 |4015 2886
30 17 36 0 0 17| 0 1638B| 197M 197M| 0 0 |4021 3037
31 17 35 0 0 17| 0 410B| 204M 204M| 0 0 |4181 3243
33 17 32 0 0 18| 0 2185B| 191M 191M| 0 0 |4305 3592
31 15 36 0 0 18| 0 1229B| 127M 127M| 0 0 |4446 3822
34 18 30 0 0 18| 0 0 | 231M 231M| 0 0 |4461 3691
32 17 33 0 0 18| 0 410B| 169M 169M| 0 0 |4518 3788
</pre>

* See also: [Performance for x86/x64 Test Guide](https://github.com/winlinvip/simple-rtmp-server/wiki/Performance)
Expand Down

0 comments on commit 6d12280

Please sign in to comment.