[Bug 660170] New: Excessive CPU Usage When Using `alsasrc ! audiorate'
bugzilla at gnome.org
Mon Sep 26 12:51:22 PDT 2011
GStreamer | gst-plugins-base | git
Summary: Excessive CPU Usage When Using `alsasrc ! audiorate'
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: bgmarete at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Using audiorate to smooth out the stream produced by alsasrc causes excessive
CPU usage. On my machine, a Core i5 that has 2 cores and 4 hyperthreads, it
uses more than 1 hyperthread.
This pipeline trivially reproduces the problem:
gst-launch alsasrc ! audiorate ! wavenc ! filesink location=/dev/null
Redirecting the filesink location to an actual file shows that audiorate is
producing an excessive number of samples (many thousands a second -- see the
attached log also) and will produce a multi-gigabyte file within a minuite.
Attached is a debug log generating by setting alsasrc and audiorate to debug
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs