Bug 514739
Summary: | PulseAudio CPU Load Unacceptable | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | ConlinDoctrine <conlinpg> |
Component: | pulseaudio | Assignee: | Lennart Poettering <lpoetter> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 11 | CC: | lkundrak, lpoetter, mlichvar, mschmidt, scott, splewako, wtogami, zkabelac |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-10-14 22:13:39 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
ConlinDoctrine
2009-07-30 15:17:29 UTC
Yes - I'm seeing same thing - quite run from Oprofile reveals that time is mostly spend in libspeexdsp.so.1.5.0 default mixing in the /etc/pulse/daemon.conf seems to be 'speex-float-3' I've noticed I could somehow lower the CPU usage by a few % by using 'trivial' method (from those listed by pulseaudio --dump-resample-methods) Though it's still unacceptable - and definitely not in pair with author's claim: "CPUs these days come with extensions such as MMX or SSE precisely for speeding up DSP tasks such as PCM mixing. This is way more flexible that hw mixing" Here is short cut from Oprofile: CPU: Core 2, speed 1200 MHz (estimated) Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (Unhalted core cycles) count 100000 vma samples % linenr info image name app name symbol name 00009e90 6774 44.4722 resample.c:429 libspeexdsp.so.1.5.0 pulseaudio resampler_basic_interpolate_single 00009fba 2353 34.7358 resample_sse.h:62 00009fd5 700 10.3336 resample_sse.h:62 000092ae 60 10.8696 resample.c:324 00009200 552 3.6239 resample.c:320 libspeexdsp.so.1.5.0 pulseaudio cubic_coef As a quick hack solution - one could edit /etc/asound.conf file and comment out reference to pulseaudio - thus using alsa directly and greatly saving CPU... of course these means loosing some pulseaudio mixing feature..... *** Bug 528018 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 508470 *** |