Public bug reported:

Binary package hint: sox

The version of sox shipped with lucid enables multi-threaded processing
by default, but this results in a *dramatic* slowdown rather than an
improvement. This is what I get trying to resample a 90-second stereo
file:

% time sox --single-threaded -r 44100 -c 2 tata.sw -r 48000 foo.sw
sox --single-threaded -r 44100 -c 2 tata.sw -r 48000 tata48.sw  1.65s user 
0.02s system 99% cpu 1.678 total

% time sox -r 44100 -c 2 tata.sw -r 48000 foo.sw
sox -r 44100 -c 2 tata.sw -r 48000 tata48.sw  197.17s user 0.07s system 199% 
cpu 1:38.71 total

Essentially, it takes more than 50 times longer when multi-threading is
enabled (which is the default). The problem does not occur for mono
files because those do not seem to use the multi-threaded code.

What's even stranger is that the problem did not occur a few days ago.
Seems like one of the updates must have broken it.

By machine is a ThinkPad T510 with an i7 620M running Lucid for amd64.

** Affects: sox (Ubuntu)
     Importance: Undecided
         Status: New

-- 
multi-threaded support broken
https://bugs.launchpad.net/bugs/589985
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to