Evostream Benchmark
Hi
I did a benchmark On a single instance of a evostream, the specs of Virtual machine are:
8 cores cpu xeon
8 Gigabyte of Ram
I tested the machine by openRTSP client, I fetched four video files in a loop, to simulate VoD job
tested with different number of iteration, after all I came to about 700 concurrent VoD streams. numbers above that resulted in crash of Evostream server
a few questions:
How to improve the number of concurrent streams?
what are the bottleneck in large scale? (In my tests CPU, RAM, Network capacities were reasonable)
are there any tweaks in configuration of Evostream to improve number of users?
and finally the log when the server crashed:
1413907798:3:/crtmpserver/src/crtmpserver.cpp:458:Run:n+—————————————————————————–+n| Services|n+—+—————+—–+————————-+————————-+n| c | ip | port| protocol stack name | application name |n+—+—————+—–+————————-+————————-+n|tcp| 0.0.0.0| 1935| inboundRtmp| evostreamms|n+—+—————+—–+————————-+————————-+n|tcp| 127.0.0.1|43076| inboundBinVariant| evostreamms|n+—+—————+—–+————————-+————————-+
1413907798:3:/crtmpserver/src/crtmpserver.cpp:459:Run:LIFE: 3941_1413907793_qKv5lgRj
1413907798:3:/crtmpserver/src/crtmpserver.cpp:460:Run:GO! GO! GO! (3948)
1413907925:4:/thelib/include/netio/epoll/tcpconnector.h:73:OnEvent:***CONNECT ERROR: Unable to connect to: 127.0.0.1:1113
1413907925:2:/thelib/src/protocols/variant/basevariantappprotocolhandler.cpp:218:ConnectionFailed:Connection failed:n<MAP name="" isArray="false">n <STR name="applicationName">evostreamms</STR>n <STR name="ip">127.0.0.1</STR>n <MAP name="payload" isArray="false">n <MAP name="payload" isArray="false">n <STR name="ip">127.0.0.1</STR>n <UINT16 name="port">43076</UINT16>n </MAP>n <UINT64 name="pid">3948</UINT64>n <STR name="type">hello</STR>n </MAP>n <UINT16 name="port">1113</UINT16>n</MAP>
1413907925:4:/thelib/src/netio/epoll/iohandlermanager.cpp:130:UnRegisterIOHandler:Handlers count changed: 12->11 IOHT_TCP_CONNECTOR
1413908025:2:/thelib/src/mediaformats/readers/streammetadataresolver.cpp:158:InitializeStorage:meta folder for storage 0x00000001 not specified. seek/meta files will be created inside the media folder
1413908025:4:/thelib/src/netio/epoll/iohandlermanager.cpp:120:RegisterIOHandler:Handlers count changed: 8->9 IOHT_TIMER
1413908025:4:/thelib/src/netio/epoll/iohandlermanager.cpp:120:RegisterIOHandler:Handlers count changed: 9->10 IOHT_ACCEPTOR
1413908025:4:/thelib/src/netio/epoll/iohandlermanager.cpp:120:RegisterIOHandler:Handlers count changed: 10->11 IOHT_TIMER
1413908025:4:/thelib/src/netio/epoll/iohandlermanager.cpp:120:RegisterIOHandler:Handlers count changed: 11->12 IOHT_TCP_CONNECTOR
1413908025:3:/thelib/src/configuration/module.cpp:178:ConfigApplication:Application lminterface instantiated
1413908025:3:/crtmpserver/src/crtmpserver.cpp:443:Initialize:Install the quit signal
1413908025:3:/crtmpserver/src/crtmpserver.cpp:458:Run:n+—————————————————————————–+n| Services|n+—+—————+—–+————————-+————————-+n| c | ip | port| protocol stack name | application name |n+—+—————+—–+————————-+————————-+n|tcp| 0.0.0.0| 1935| inboundRtmp| evostreamms|n+—+—————+—–+————————-+————————-+n|tcp| 127.0.0.1|42327| inboundBinVariant| evostreamms|n+—+—————+—–+————————-+————————-+
1413908025:3:/crtmpserver/src/crtmpserver.cpp:459:Run:LIFE: 1142_1413908027_OY2d1agg
1413908025:3:/crtmpserver/src/crtmpserver.cpp:460:Run:GO! GO! GO! (1149)
1413908159:4:/thelib/include/netio/epoll/tcpconnector.h:73:OnEvent:***CONNECT ERROR: Unable to connect to: 127.0.0.1:1113
1413908159:2:/thelib/src/protocols/variant/basevariantappprotocolhandler.cpp:218:ConnectionFailed:Connection failed:n<MAP name="" isArray="false">n <STR name="applicationName">evostreamms</STR>n <STR name="ip">127.0.0.1</STR>n <MAP name="payload" isArray="false">n <MAP name="payload" isArray="false">n <STR name="ip">127.0.0.1</STR>n <UINT16 name="port">42327</UINT16>n </MAP>n <UINT64 name="pid">1149</UINT64>n <STR name="type">hello</STR>n </MAP>n <UINT16 name="port">1113</UINT16>n</MAP>
1413908159:4:/thelib/src/netio/epoll/iohandlermanager.cpp:130:UnRegisterIOHandler:Handlers count changed: 12->11 IOHT_TCP_CONNECTOR
please help me to solve my problem.
thanks in advance