GNOME Bugzilla – Bug 749836
Gstreamer Queue element. Gstreamer with Kurento media server CPU leak.
Last modified: 2015-05-25 14:33:41 UTC
Created attachment 303925 [details] Top Hello. We are using Kurento media server, which is built on top of Gstreamer. Webrtc-webrtc. We are testing about 6-7 viewers with a single master with one to many scenario and getting the following output on processor with top, can you please help us understand what is this fork queue doing while the fork rtp-session is running only 0.3% of cpu each and queue is running 5% of cpu each? Server specs: Server: Dual E5-2620 v3 (6 Cores, 2.40 GHz) Second Processor: E5-2620 v3 (6 Cores, 2.40 GHz) Os: Ubuntu Linux 14.04 LTS Trusty Tahr (64 bit) Ram: 32 GB RAM Is it gstreamer's queue element? Is there a way to decrease cpu usage?
This is more of a support question than a bug report. Please ask for support either in the Kurento forum or mailing list or on the gstreamer-devel mailing list. In order to figure out where CPU is spent you should probably apply more sophisticated techniques than 'top'. At least use 'perf top' :) It's not the queue element per se using up this much CPU, it just means some elements running in the thread driven by the queue's source pad thread is taking up CPU. This could be encoders or converters or mixers for example.