Wowza Community

Super high cpu usage

I have AWS instance of type m5a.xlarge

2 core / 4 threads AMD EPYC

16 RAM

and I am streaming 1 input

resolution: 1280 * 720 (HD)

bit rate: ABR 1.5 Mbps

fps:30

codec: x264

and 3 transcoding 3 outputs

output 1:

1280*720

1 Mbps

h264

30 fps

output 2:

480*852

300 kbps

h264

30 fps

output 3:

360*640

200 kbps

h264

30 fps

all that using HLS with one 1 viewer

and the CPU usage more than 80%

I tuned the server using this guide:

https://www.wowza.com/docs/tune-wowza-streaming-engine-for-optimal-performance

but the CPU usage did not change

I think the problem is not your wowza configuration, probably you did the right thing on wowza config. Note that Transcode operation require cpu, here is the benchmark of the transcoder usage
https://www.wowza.com/docs/wowza-transcoder-performance-benchmark .

You should use c series aws instance, you can check the instance type
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html

Alternatively you can run ffmpeg for transcoding live stream and republishing to the wowza, the cpu usage may be down %15