[pulseaudio-tickets] [PulseAudio] #829: Default pulseaudio resampler (speex-float-3) sometimes too expensive?
PulseAudio
trac-noreply at tango.0pointer.de
Mon Jun 14 15:21:09 PDT 2010
#829: Default pulseaudio resampler (speex-float-3) sometimes too expensive?
----------------------+-----------------------------------------------------
Reporter: sitsofe | Owner: lennart
Type: defect | Status: new
Milestone: | Component: daemon
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment(by sitsofe):
{{{
Perf output with pulseaudio (speex-float-3) performing the resampling on a
2GHz
laptop:
# Samples: 31436365998
#
# Overhead Command
Shared Object
# ........ ...............
.....................................................
#
69.70% pulseaudio libspeexdsp.so.1.5.0
8.88% pulseaudio [kernel]
8.49% pulseaudio libpulsecore-0.9.21.so
4.18% swapper [kernel]
2.51% init [kernel]
1.20% wavparse0:sink [kernel]
0.68% pulseaudio libpulsecommon-0.9.21.so
0.46% perf.2.6.33.5-1 [kernel]
0.36% pulseaudio libc-2.12.so
0.29% wavparse0:sink
36f440b710
Perf output with gstreamer performing the resampling on a 2GHz laptop:
# Samples: 6170990658
#
# Overhead Command
Shared Object
# ........ ...............
.....................................................
#
31.41% gst-launch-0.10 libgstaudioresample.so
25.95% gst-launch-0.10
36fb854b55
7.93% pulseaudio [kernel]
7.91% gst-launch-0.10 [kernel]
5.55% swapper [kernel]
3.54% init [kernel]
2.09% perf.2.6.33.5-1 [kernel]
1.94% pulseaudio libpulsecore-0.9.21.so
1.43% pulseaudio libpulsecommon-0.9.21.so
1.13% gst-launch-0.10 libpthread-2.12.so
1.06% pulseaudio
ffffffffff60013b
1.02% gst-launch-0.10 libc-2.12.so
0.74% gst-launch-0.10 libglib-2.0.so.0.2400.1
0.61% perf.2.6.33.5-1 [btrfs]
Perf output with ALSA performing the resampling on a 2GHz laptop (note
ALSA doesn't seem to do the remapping pulseaudio does - you only hear
front left and front right):
# Samples: 1980908692
#
# Overhead Command Shared
Object
# ........ ...............
................................................
#
32.09% wavparse0:sink libgstaudioconvert.so
11.12% swapper [kernel]
8.47% wavparse0:sink libasound.so.2.0.0
6.88% perf.2.6.33.5-1 [kernel]
6.50% wavparse0:sink [kernel]
6.40% init [kernel]
3.41% wavparse0:sink libgstreamer-0.10.so.0.25.0
3.01% wavparse0:sink libc-2.12.so
2.32% wavparse0:sink libglib-2.0.so.0.2400.1
2.26% wavparse0:sink libpthread-2.12.so
2.13% wavparse0:sink libgobject-2.0.so.0.2400.1
1.95% Xorg [drm]
1.86% perf.2.6.33.5-1 [btrfs]
1.79% Xorg [kernel]
1.08% wavparse0:sink liboil-0.3.so.0.3.0
0.92% wavparse0:sink libgstbase-0.10.so.0.25.0
0.66% perf.2.6.33.5-1 libc-2.12.so
0.58% wavparse0:sink libgstaudio-0.10.so.0.20.0
0.56% kondemand/0 [kernel]
}}}
Perf output was collected for as long as gst-launch was running (it stops
early when pulseaudio crashes).
--
Ticket URL: <http://pulseaudio.org/ticket/829#comment:3>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list