正在显示
1 个修改的文件
包含
43 行增加
和
43 行删除
@@ -168,32 +168,6 @@ Supported operating systems and hardware: | @@ -168,32 +168,6 @@ Supported operating systems and hardware: | ||
168 | 1. [no-plan] Support RTMPT, http to tranverse firewalls | 168 | 1. [no-plan] Support RTMPT, http to tranverse firewalls |
169 | 1. [no-plan] Support file source, transcoding file to live stream | 169 | 1. [no-plan] Support file source, transcoding file to live stream |
170 | 170 | ||
171 | -## Performance | ||
172 | -1. 300 connections, 150Mbps, 500kbps, CPU 18.8%, MEM 5956KB. | ||
173 | -1. 600 connections, 300Mbps, 500kbps, CPU 32.1%, MEM 9808KB. | ||
174 | -1. 900 connections, 450Mbps, 500kbps, CPU 49.9%, MEM 11MB. | ||
175 | -1. 1200 connections, 600Mbps, 500kbps, CPU 72.4%, MEM 15MB. | ||
176 | -1. 1500 connections, 750Mbps, 500kbps, CPU 81.9%, MEM 28MB. | ||
177 | -1. 1800 connections, 900Mbps, 500kbps, CPU 90.2%, MEM 41MB. | ||
178 | - | ||
179 | -<pre> | ||
180 | -[winlin@dev6 srs]$ dstat | ||
181 | -----total-cpu-usage---- -dsk/total- ---net/lo-- ---paging-- ---system-- | ||
182 | -usr sys idl wai hiq siq| read writ| recv send| in out | int csw | ||
183 | - 58 9 32 0 0 1| 0 4168k| 277M 277M| 0 0 | 29k 25k | ||
184 | - 61 8 30 0 0 1| 0 1168k| 336M 336M| 0 0 | 29k 24k | ||
185 | - 63 8 27 0 0 1| 0 2240k| 124M 124M| 0 0 | 32k 33k | ||
186 | - 62 8 28 0 0 1| 0 1632k| 110M 110M| 0 0 | 31k 33k | ||
187 | - 53 7 40 0 0 1| 0 1360k| 115M 115M| 0 0 | 24k 26k | ||
188 | - 51 7 41 0 0 1| 0 1184k| 146M 146M| 0 0 | 24k 27k | ||
189 | - 39 6 54 0 0 1| 0 1284k| 105M 105M| 0 0 | 22k 28k | ||
190 | - 41 6 52 0 0 1| 0 1264k| 116M 116M| 0 0 | 25k 28k | ||
191 | - 48 6 45 0 0 1| 0 1272k| 143M 143M| 0 0 | 27k 27k | ||
192 | -</pre> | ||
193 | - | ||
194 | -* See also: [Performance for x86/x64 Test Guide](https://github.com/winlinvip/simple-rtmp-server/wiki/Performance) | ||
195 | -* See also: [Performance for RaspberryPi](https://github.com/winlinvip/simple-rtmp-server/wiki/RaspberryPi) | ||
196 | - | ||
197 | ## Releases | 171 | ## Releases |
198 | * 2014-04-07, [Release v1.0-mainline](https://github.com/winlinvip/simple-rtmp-server/releases/tag/1.0.mainline), support [arm](https://github.com/winlinvip/simple-rtmp-server/wiki/SrsLinuxArm), | 172 | * 2014-04-07, [Release v1.0-mainline](https://github.com/winlinvip/simple-rtmp-server/releases/tag/1.0.mainline), support [arm](https://github.com/winlinvip/simple-rtmp-server/wiki/SrsLinuxArm), |
199 | [init.d](https://github.com/winlinvip/simple-rtmp-server/wiki/LinuxService), http [server](https://github.com/winlinvip/simple-rtmp-server/wiki/HTTPServer)/[api](https://github.com/winlinvip/simple-rtmp-server/wiki/HTTPApi), [ingest](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleIngest). 30000 lines.<br/> | 173 | [init.d](https://github.com/winlinvip/simple-rtmp-server/wiki/LinuxService), http [server](https://github.com/winlinvip/simple-rtmp-server/wiki/HTTPServer)/[api](https://github.com/winlinvip/simple-rtmp-server/wiki/HTTPApi), [ingest](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleIngest). 30000 lines.<br/> |
@@ -208,24 +182,10 @@ usr sys idl wai hiq siq| read writ| recv send| in out | int csw | @@ -208,24 +182,10 @@ usr sys idl wai hiq siq| read writ| recv send| in out | int csw | ||
208 | * 2013-10-23, [Release v0.1](https://github.com/winlinvip/simple-rtmp-server/releases/tag/0.1), support [rtmp FMLE/FFMPEG publish](https://github.com/winlinvip/simple-rtmp-server/wiki/DeliveryRTMP), vp6. 8287 lines.<br/> | 182 | * 2013-10-23, [Release v0.1](https://github.com/winlinvip/simple-rtmp-server/releases/tag/0.1), support [rtmp FMLE/FFMPEG publish](https://github.com/winlinvip/simple-rtmp-server/wiki/DeliveryRTMP), vp6. 8287 lines.<br/> |
209 | * 2013-10-17, Created.<br/> | 183 | * 2013-10-17, Created.<br/> |
210 | 184 | ||
211 | -## Compare | ||
212 | -* SRS v1.0-mainline: 30000 lines. support arm, init.d scripts, http server and api, ingest.<br/> | ||
213 | -* SRS v0.9: 20926 lines. player/encoder/chat demos. bandwidth test for encoder/CDN.<br/> | ||
214 | -* SRS v0.8: 19186 lines. implements http hooks refer to [nginx-rtmp](https://github.com/arut/nginx-rtmp-module). <br/> | ||
215 | -* SRS v0.7: 17605 lines. implements transcoding(FFMPEG) feature refer to [wowza](http://www.wowza.com). <br/> | ||
216 | -* SRS v0.6: 16094 lines. important feature forward for CDN. <br/> | ||
217 | -* SRS v0.5: 14449 lines. implements HLS feature refer to [nginx-rtmp](https://github.com/arut/nginx-rtmp-module). <br/> | ||
218 | -* SRS v0.4: 12500 lines. important feature reload for CDN. <br/> | ||
219 | -* SRS v0.3: 11773 lines. implements vhost feature refer to [FMS](http://www.adobe.com/products/adobe-media-server-family.html). <br/> | ||
220 | -* SRS v0.2: 10125 lines. implements rtmp protocol stack refer to [nginx-rtmp](https://github.com/arut/nginx-rtmp-module). <br/> | ||
221 | -* SRS v0.1: 8287 lines. base on state-threads. <br/> | ||
222 | -* nginx-rtmp v1.0.4: 26786 lines <br/> | ||
223 | -* nginx v1.5.0: 139524 lines <br/> | ||
224 | - | ||
225 | ## History | 185 | ## History |
226 | -* v1.0, 2014-04-17, support dvr(record live to flv file for vod) | ||
227 | -* v1.0, 2014-04-11, add speex1.2 to transcode flash encoder stream. change to 0.9.58 | ||
228 | -* v1.0, 2014-04-10, support reload ingesters(add/remov/update). change to 0.9.57. | 186 | +* v1.0, 2014-04-17, support dvr(record live to flv file for vod). 0.9.69 |
187 | +* v1.0, 2014-04-11, add speex1.2 to transcode flash encoder stream. 0.9.58 | ||
188 | +* v1.0, 2014-04-10, support reload ingesters(add/remov/update). 0.9.57 | ||
229 | * v1.0, 2014-04-07, [1.0 mainline(0.9.55)](https://github.com/winlinvip/simple-rtmp-server/releases/tag/1.0.mainline) released. 30000 lines. | 189 | * v1.0, 2014-04-07, [1.0 mainline(0.9.55)](https://github.com/winlinvip/simple-rtmp-server/releases/tag/1.0.mainline) released. 30000 lines. |
230 | * v1.0, 2014-04-07, support [ingest](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleIngest) file/stream/device. | 190 | * v1.0, 2014-04-07, support [ingest](https://github.com/winlinvip/simple-rtmp-server/wiki/SampleIngest) file/stream/device. |
231 | * v1.0, 2014-04-05, support [http api](https://github.com/winlinvip/simple-rtmp-server/wiki/HTTPApi) and [http server](https://github.com/winlinvip/simple-rtmp-server/wiki/HTTPServer). | 191 | * v1.0, 2014-04-05, support [http api](https://github.com/winlinvip/simple-rtmp-server/wiki/HTTPApi) and [http server](https://github.com/winlinvip/simple-rtmp-server/wiki/HTTPServer). |
@@ -338,6 +298,46 @@ on_connect/close/publish/unpublish/play/stop. | @@ -338,6 +298,46 @@ on_connect/close/publish/unpublish/play/stop. | ||
338 | * v0.1, 2013-10-18, support rtmp message2chunk protocol(send\_message). | 298 | * v0.1, 2013-10-18, support rtmp message2chunk protocol(send\_message). |
339 | * v0.1, 2013-10-17, support rtmp chunk2message protocol(recv\_message). | 299 | * v0.1, 2013-10-17, support rtmp chunk2message protocol(recv\_message). |
340 | 300 | ||
301 | +## Performance | ||
302 | +1. 300 connections, 150Mbps, 500kbps, CPU 18.8%, MEM 5956KB. | ||
303 | +1. 600 connections, 300Mbps, 500kbps, CPU 32.1%, MEM 9808KB. | ||
304 | +1. 900 connections, 450Mbps, 500kbps, CPU 49.9%, MEM 11MB. | ||
305 | +1. 1200 connections, 600Mbps, 500kbps, CPU 72.4%, MEM 15MB. | ||
306 | +1. 1500 connections, 750Mbps, 500kbps, CPU 81.9%, MEM 28MB. | ||
307 | +1. 1800 connections, 900Mbps, 500kbps, CPU 90.2%, MEM 41MB. | ||
308 | + | ||
309 | +<pre> | ||
310 | +[winlin@dev6 srs]$ dstat | ||
311 | +----total-cpu-usage---- -dsk/total- ---net/lo-- ---paging-- ---system-- | ||
312 | +usr sys idl wai hiq siq| read writ| recv send| in out | int csw | ||
313 | + 58 9 32 0 0 1| 0 4168k| 277M 277M| 0 0 | 29k 25k | ||
314 | + 61 8 30 0 0 1| 0 1168k| 336M 336M| 0 0 | 29k 24k | ||
315 | + 63 8 27 0 0 1| 0 2240k| 124M 124M| 0 0 | 32k 33k | ||
316 | + 62 8 28 0 0 1| 0 1632k| 110M 110M| 0 0 | 31k 33k | ||
317 | + 53 7 40 0 0 1| 0 1360k| 115M 115M| 0 0 | 24k 26k | ||
318 | + 51 7 41 0 0 1| 0 1184k| 146M 146M| 0 0 | 24k 27k | ||
319 | + 39 6 54 0 0 1| 0 1284k| 105M 105M| 0 0 | 22k 28k | ||
320 | + 41 6 52 0 0 1| 0 1264k| 116M 116M| 0 0 | 25k 28k | ||
321 | + 48 6 45 0 0 1| 0 1272k| 143M 143M| 0 0 | 27k 27k | ||
322 | +</pre> | ||
323 | + | ||
324 | +* See also: [Performance for x86/x64 Test Guide](https://github.com/winlinvip/simple-rtmp-server/wiki/Performance) | ||
325 | +* See also: [Performance for RaspberryPi](https://github.com/winlinvip/simple-rtmp-server/wiki/RaspberryPi) | ||
326 | + | ||
327 | +## Compare | ||
328 | +* SRS v1.0-mainline: 30000 lines. support arm, init.d scripts, http server and api, ingest.<br/> | ||
329 | +* SRS v0.9: 20926 lines. player/encoder/chat demos. bandwidth test for encoder/CDN.<br/> | ||
330 | +* SRS v0.8: 19186 lines. implements http hooks refer to [nginx-rtmp](https://github.com/arut/nginx-rtmp-module). <br/> | ||
331 | +* SRS v0.7: 17605 lines. implements transcoding(FFMPEG) feature refer to [wowza](http://www.wowza.com). <br/> | ||
332 | +* SRS v0.6: 16094 lines. important feature forward for CDN. <br/> | ||
333 | +* SRS v0.5: 14449 lines. implements HLS feature refer to [nginx-rtmp](https://github.com/arut/nginx-rtmp-module). <br/> | ||
334 | +* SRS v0.4: 12500 lines. important feature reload for CDN. <br/> | ||
335 | +* SRS v0.3: 11773 lines. implements vhost feature refer to [FMS](http://www.adobe.com/products/adobe-media-server-family.html). <br/> | ||
336 | +* SRS v0.2: 10125 lines. implements rtmp protocol stack refer to [nginx-rtmp](https://github.com/arut/nginx-rtmp-module). <br/> | ||
337 | +* SRS v0.1: 8287 lines. base on state-threads. <br/> | ||
338 | +* nginx-rtmp v1.0.4: 26786 lines <br/> | ||
339 | +* nginx v1.5.0: 139524 lines <br/> | ||
340 | + | ||
341 | ## Architecture | 341 | ## Architecture |
342 | 342 | ||
343 | SRS always use the most simple architecture to support complex transaction. | 343 | SRS always use the most simple architecture to support complex transaction. |
-
请 注册 或 登录 后发表评论