Package: sox
Version: 14.3.0-1.1
Followup-For: Bug #546944

Hi,

I can confirm the bug. Same problem here. 

However, I get the problem also if I don't use sox to directly play 
anything but just for some processing. 

Please have a look at the following post where I first described the 
problem:

http://www.diyaudio.com/forums/pc-based/93315-linux-audio-way-go-26.html#post1922411

check a few post above that (#1287) for the setup used:

http://www.diyaudio.com/forums/pc-based/93315-linux-audio-way-go-26.html#post1918560


Bottom line is, no matter what I do, on all my multicore systems sox 
will completely "hog" the CPU (top shows 100% CPU usage even on a fast 
core2 duo!).

I also noticed that the sox threads keeps "jumping" continuosly between
the two CPUs (cores).

This will always happen unless I set "CPU affinity" using schedtool or 
give the "--single-threaded" option to sox.

Problem seems to get worse with newer kernels (e.g. with 2.6.30 it get 
even worse than with 2.6.26).


Hope this helps.


-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (900, 'stable'), (190, 'testing'), (80, 'unstable'), (7, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sox depends on:
ii  libc6                  2.9-25            GNU C Library: Shared libraries
ii  libgomp1               4.4.1-4           GCC OpenMP (GOMP) support library
ii  libgsm1                1.0.13-1          Shared libraries for GSM speech co
ii  libltdl7               2.2.6a-4          A system independent dlopen wrappe
ii  libmagic1              4.26-1            File type determination library us
ii  libpng12-0             1.2.27-2+lenny2   PNG library - runtime
ii  libsox-fmt-alsa        14.3.0-1.1        SoX alsa format I/O library
ii  libsox-fmt-ao          14.3.0-1.1        SoX Libao format I/O library
ii  libsox-fmt-base        14.3.0-1.1        Minimal set of SoX format librarie
ii  libsox-fmt-oss         14.3.0-1.1        SoX OSS format I/O library
ii  libsox1a               14.3.0-1.1        SoX library of audio effects and p
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

sox recommends no packages.

Versions of packages sox suggests:
ii  libsox-fmt-all                14.3.0-1.1 All SoX format libraries

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to