WCS Stress Test

ksko

New Member
Hello, guys

While looking for WebRTC support servers, I came across WCS5 and tried to test it.
I installed WCS on Amazon EC2 and Standalone(30 day license).

I've checked the demo apps, and I'd like to do a load test.

I'm following the documents below, but they don't seem to be working properly.
CPU, network traffic is not changing before and after the test.

From the log files, it looks like the installation is in order, but I don't know what the problem is.
Is the document valid?

WCS on Amazon EC2 : C4.large
Standalone : CPU E5-2620 * 2, 64G RAM
XORG : CPU E5-2620 * 2, 64G RAM

1. Server settings tests
2. Load testing using another server
 

ksko

New Member
Hello,
Thanks to you, I tested it.

We test 1,000 streams, and as you can see in the image below, it takes nearly 20 minutes to reach 1,000 after 900 streams, and after 1,000 streams, there is a problem where the CPU load rises rapidly.
publish : 1280x720
Traffic should be more than 2Gbps(at least 2mbps * 1000), but only up to 750Mbps and not increasing.

Do you have any idea why cpu, and traffic are fluctuating?

1618390668978.png
 

Attachments

Max

Administrator
Staff member

ksko

New Member
I checked what you said again and tested it.

The test was not done on AWS, but on a standalone server.

WCS #1 : E5-2620 v4 * 2 (16 Core 32 Thread), 64Gb RAM, 32Gb Heap, 10Gb Fiber
WCS #2 : E5-2620 v4 * 2 (16 Core 32 Thread), 64Gb RAM, 32Gb Heap, 10Gb Fiber

2 Mixing publishing
1618552128465.png

HD(1280x720) publishing
1618552145260.png


Is there any way to solve the problem of nearly 300 CPU loads?
 

Max

Administrator
Staff member
Is there any way to solve the problem of nearly 300 CPU loads?
You can disable stream distribution optimization and enable traffic encryption in a separate thread for each client session. In this case, CPU load should be lower, but playback delay may grow.
So, if your target is minimal delay, consider more powerful CPU. If your target is CPU, you should accept some playback delay.
Mixing publishing
Please clarify: do you testing stream mixer? If yes, please read this fresh article How many mixers can a server have? because in this case CPU load is higher due to stream transcoding while mixing.
 

ksko

New Member
Please clarify: do you testing stream mixer? If yes, please read this fresh article How many mixers can a server have? because in this case CPU load is higher due to stream transcoding while mixing.
We are also considering MCU, but now focusing on live broadcasting.

CPU usage (50%) seems reasonable, but I can't figure it out why Load average goes up too high.
1618985992705.png

1618986314307.png


I attached 2453.jstack.txt, please give me a any hint why so high CPU Load Average.
 

Attachments

Top