Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2014-12-05 17:07:27 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cd317859db877fd3e4afee8adc8aa6db9cec34ae
cd317859
1 parent
9ee13874
add mw sleep time and msgs/iovs table.
显示空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
12 行增加
和
11 行删除
README.md
trunk/src/core/srs_core_performance.hpp
README.md
查看文件 @
cd31785
...
...
@@ -727,7 +727,8 @@ The play benchmark by [st-load](https://github.com/winlinvip/st-load):
*
2014-11-12, SRS 2.0.14, 3.5k(3500)clients, 95%CPU, 78MB.
[
commit
](
https://github.com/winlinvip/simple-rtmp-server/commit/8acd143a7a152885b815999162660fd4e7a3f247
)
*
2014-11-13, SRS 2.0.15, 6.0k(6000)clients, 82%CPU, 203MB.
[
commit
](
https://github.com/winlinvip/simple-rtmp-server/commit/cc6aca9ad55342a06440ce7f3b38453776b2b2d1
)
*
2014-11-22, SRS 2.0.30, 7.5k(7500)clients, 87%CPU, 320MB.
[
commit
](
https://github.com/winlinvip/simple-rtmp-server/commit/58136ec178e3d47db6c90a59875d7e40946936e5
)
*
2014-12-05, SRS 2.0.55, 8.0k(8000)clients, 89%CPU, 360MB. (mw_sleep=1800)
[
commit
](
https://github.com/winlinvip/simple-rtmp-server/commit/58136ec178e3d47db6c90a59875d7e40946936e5
)
*
2014-12-05, SRS 2.0.55, 8.0k(8000)clients, 89%CPU, 360MB. (mw_sleep=350)
[
commit
](
https://github.com/winlinvip/simple-rtmp-server/commit/58136ec178e3d47db6c90a59875d7e40946936e5
)
*
2014-12-05, SRS 2.0.57, 9.0k(9000)clients, 92%CPU, 410MB.
[
commit
](
https://github.com/winlinvip/simple-rtmp-server/commit/9ee138746f83adc26f0e236ec017f4d68a300004
)
### Publish benchmark
...
...
@@ -741,7 +742,7 @@ The publish benchmark by [st-load](https://github.com/winlinvip/st-load):
*
2014-12-04, SRS 2.0.49, 1.4k(1400) publishers, 68%CPU, 144MB.
*
2014-12-04, SRS 2.0.49, 2.5k(2500) publishers, 95%CPU, 404MB.
[
commit
](
https://github.com/winlinvip/simple-rtmp-server/commit/29324fab469e0f7cef9ad04ffdbce832ac7dd9ff
)
*
2014-12-04, SRS 2.0.51, 2.5k(2500) publishers, 91%CPU, 259MB.
[
commit
](
https://github.com/winlinvip/simple-rtmp-server/commit/f57801eb46c16755b173984b915a4166922df6a6
)
*
2014-12-04, SRS 2.0.52, 4.0k(4000) publishers, 80%CPU, 331MB. (mr_sleep=
200
0)
[
commit
](
https://github.com/winlinvip/simple-rtmp-server/commit/5589b13d2e216b91f97afb78ee0c011b2fccf7da
)
*
2014-12-04, SRS 2.0.52, 4.0k(4000) publishers, 80%CPU, 331MB. (mr_sleep=
35
0)
[
commit
](
https://github.com/winlinvip/simple-rtmp-server/commit/5589b13d2e216b91f97afb78ee0c011b2fccf7da
)
## Architecture
...
...
trunk/src/core/srs_core_performance.hpp
查看文件 @
cd31785
...
...
@@ -89,25 +89,25 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* 1400 120 240
* 1500 119 238
* 1600 131 262
* 1700
* 1800
* 1900
* 2000
* 1700 131 262
* 1800 133 266
* 1900 141 282
* 2000 150 300
*/
// the default config of mw.
#define SRS_PERF_MW_SLEEP 350
/**
* how many msgs can be send entirely.
* for play clients to get msgs then totally send out.
* for the mw sleep set to 1800, the msgs is about 128.
* @remark, recomment to 156.
* for the mw sleep set to 1800, the msgs is about 133.
* @remark, recomment to 256.
*/
#define SRS_PERF_MW_MSGS
1
56
#define SRS_PERF_MW_MSGS
2
56
/**
* how many msgs atleast to send.
* @remark, recomment to
8
.
* @remark, recomment to
32
.
*/
#define SRS_PERF_MW_MIN_MSGS
8
#define SRS_PERF_MW_MIN_MSGS
32
/**
* how many chunk stream to cache, [0, N].
...
...
请
注册
或
登录
后发表评论