@@ -485,6 +485,7 @@ Supported operating systems and hardware:
485
485
* 2013-10-17, Created.<br />
486
486
487
487
## History
488
+ * v2.0, 2014-12-03, fix [ #244 ] ( https://github.com/winlinvip/simple-rtmp-server/issues/244 ) , conn thread use cond to wait for recv thread error. 2.0.47.
488
489
* v2.0, 2014-12-02, merge [ #239 ] ( https://github.com/winlinvip/simple-rtmp-server/pull/239 ) , traverse the token before response connect. 2.0.45.
489
490
* v2.0, 2014-12-02, srs-librtmp support hijack io apis for st-load. 2.0.42.
490
491
* v2.0, 2014-12-01, for [ #237 ] ( https://github.com/winlinvip/simple-rtmp-server/issues/237 ) , refine syscall for recv, supports 1.5k clients. 2.0.41.
@@ -703,47 +704,30 @@ Supported operating systems and hardware:
703
704
704
705
## Performance
705
706
706
- Performance benchmark history, on virtual box:
707
+ Performance benchmark history, on virtual box.
708
+
709
+ ### Play benchmark
710
+
711
+ The play benchmark by st-load:
707
712
708
713
* 2013-11-28, SRS 0.5.0, 1.8k(1800)clients, 90%CPU, 41MB. [ benchmark] ( https://github.com/winlinvip/simple-rtmp-server/commit/023e23bc8261bec15a70a7ae932098fb4f82b679 )
709
714
* 2014-07-12, SRS 0.9.156, 1.8k(1800)clients, 68%CPU, 38MB. [ benchmark] ( https://github.com/winlinvip/simple-rtmp-server/commit/e2d273f4939348374bf9644df9d54c4293b39c1a )
710
715
* 2014-07-12, SRS 0.9.156, 2.7k(2700)clients, 89%CPU, 61MB. [ benchmark] ( https://github.com/winlinvip/simple-rtmp-server/commit/6d12280b7cc54c465b1caf8b1402149e77c4c7d9 )
711
- * 2014-11-11, SRS 1.0.5, 2.7k(2700)clients, 85%CPU, 66MB. (1.0 equals 2.0.12)
716
+ * 2014-11-11, SRS 1.0.5, 2.7k(2700)clients, 85%CPU, 66MB.
717
+ * 2014-11-11, SRS 2.0.12, 2.7k(2700)clients, 85%CPU, 66MB.
712
718
* 2014-11-12, SRS 2.0.14, 2.7k(2700)clients, 69%CPU, 59MB.
713
719
* 2014-11-12, SRS 2.0.14, 3.5k(3500)clients, 95%CPU, 78MB.
714
- * 2014-11-13, SRS 2.0.15, 6.0k(6000)clients, 82%CPU, 203MB. (500 publishers).
720
+ * 2014-11-13, SRS 2.0.15, 6.0k(6000)clients, 82%CPU, 203MB.
715
721
* 2014-11-22, SRS 2.0.30, 7.5k(7500)clients, 87%CPU, 320MB.
716
- * 2014-12-01, SRS 2.0.41, 7.5k(7500)clients, 87%CPU, 320MB. (1500 publishers).
717
722
718
- Latest benchmark(2014-07-12):
723
+ * See also: [ Performance for x86/x64 Test Guide] ( https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Performance )
724
+ * See also: [ Performance for RaspberryPi] ( https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_RaspberryPi )
719
725
720
- 1 . 300 connections, 150Mbps, 500kbps, CPU 5.7%, MEM 9208KB.
721
- 1 . 600 connections, 300Mbps, 500kbps, CPU 18.3%, MEM 13MB.
722
- 1 . 900 connections, 450Mbps, 500kbps, CPU 27.9%, MEM 20MB.
723
- 1 . 1200 connections, 600Mbps, 500kbps, CPU 43.9%, MEM 26MB.
724
- 1 . 1500 connections, 750Mbps, 500kbps, CPU 55.2%, MEM 32MB.
725
- 1 . 1800 connections, 900Mbps, 500kbps, CPU 68.8%, MEM 38MB.
726
- 1 . 2100 connections, 1050Mbps, 500kbps, CPU 75.7%, MEM 46MB.
727
- 1 . 2400 connections, 1200Mbps, 500kbps, CPU 83.7%, MEM 54MB.
728
- 1 . 2700 connections, 1350Mbps, 500kbps, CPU 89.9%, MEM 61MB.
726
+ ### Publish benchmark
729
727
730
- <pre >
731
- [winlin@dev6 srs]$ dstat
732
- ----total-cpu-usage---- -dsk/total- ---net/lo-- ---paging-- ---system--
733
- usr sys idl wai hiq siq| read writ| recv send| in out | int csw
734
- 29 17 39 0 0 15| 0 5325B| 163M 163M| 0 0 |4331 3386
735
- 30 16 38 0 0 16| 0 5325B| 160M 160M| 0 0 |4252 3332
736
- 30 15 37 0 0 17| 0 7646B| 169M 169M| 0 0 |4015 2886
737
- 30 17 36 0 0 17| 0 1638B| 197M 197M| 0 0 |4021 3037
738
- 31 17 35 0 0 17| 0 410B| 204M 204M| 0 0 |4181 3243
739
- 33 17 32 0 0 18| 0 2185B| 191M 191M| 0 0 |4305 3592
740
- 31 15 36 0 0 18| 0 1229B| 127M 127M| 0 0 |4446 3822
741
- 34 18 30 0 0 18| 0 0 | 231M 231M| 0 0 |4461 3691
742
- 32 17 33 0 0 18| 0 410B| 169M 169M| 0 0 |4518 3788
743
- </pre >
728
+ The publish benchmark by st-load:
744
729
745
- * See also: [ Performance for x86/x64 Test Guide] ( https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Performance )
746
- * See also: [ Performance for RaspberryPi] ( https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_RaspberryPi )
730
+ * 2014-12-03, SRS 1.0.10, 1k(1000) publishers, xx%CPU, xxMB.
747
731
748
732
## Architecture
749
733
0 commit comments