On Thu, 30 Aug 2001 12:56:59 EDT, Mike McGuire writes: >On Thu, Aug 30, 2001 at 12:56:54AM +0200, Robert Waldner wrote: >> I´m on a rather slow machine, a Pentium running at 50 MHz. This is just >> fine for working, and should be reasonably fast for playing mp3´s. >> >> With mpg123 (stable) CPU-usage is ~ 70 %, but I get random clicks and >> other nasty distortions. Ok, renice mpg123 to -3, so it should be >> served before anything else (other than swap et al). No change. xmms is >> out of the question anyway, it eats 50 % CPU on my P3/850MHz-notebook, so >> I don´t wonder that it doesn´t live up to the task on the slow box (not >> even when setuid root´ing it and using the "realtime priority"-thingie). > >A friend of mine's got a setup where he wrote a wrapper >or something for mpg123 where he sets it's priority to >something ridiculous. Higher than 'nice' will set it, I >think he said it preempts the kernel in some places. ;) >Needless to say, this makes the box useless for anything >else while playing mp3s. :) His is a plain old Pentium >laptop, not sure if it was that slow even (50MHz). Yeah. >So you can look into scheduling system calls, sounds fun.
Well, my problem is solved. Someone mentioned to try splay in a private reply, and with that it Just Works, CPU-usage is now ~ 30 %, no more distortions, not even when doing rather heavy stuff like starting netscrap ;-) cheers, &rw -- -- Nicht alles was Software auf Hardware installiert ist ein Admin. -- David Schmitt, aum ----
pgpw15VFD55uj.pgp
Description: PGP signature