On Thu, Apr 19, 2012 at 02:06:03PM +0200, Henning Brauer wrote: > * Alexandre Ratchov <a...@caoua.org> [2012-04-19 09:27]: > > On Wed, Apr 18, 2012 at 12:09:28PM -0400, Ted Unangst wrote: > > > rthreads was invented to fix sound skipping in xmms, so -current is > > > definitely the better option here. > > I'm not sure; rthreads was invented to make bloat like mozilla > > consume more cpu and make the cpu spend more time in kernel mode. I > > don't see how this would fix sound skipping. This could only make > > audio skip more afaics. > > xmms sound skipping while scrolling in the playlist was indeed a > driving point when tedu started hacking on rthreads years ago ;)
According to xmms sources, it uses 250ms fifo; which means xmms eats around 250ms to scroll... that's a lot of cycles to scroll (spinning? blocking in X libs? disk i/o?). Fixing xmms to use less than 250ms or cranking the audio fifo size should solve the skipping. And this is not specific to xmms, I'm sure pleinty of other software uses kernel threads on linux to overcome similar problems. And, yes, rthreads will make such software work on openbsd as well. -- Alexandre