-   Slackware (
-   -   Xmms and Xine multiple threads!?!?? (

GodSendDeath 07-23-2004 01:36 PM

Xmms and Xine multiple threads!?!??
Everyone, I am using Slack 10 kernel 2.6.7. When I play a video in xine or a song in xmms, the command "ps aux" shows multiple instances of each For example, Xmms shows 4 threads and xine shows like 10 threads!?!? Is this normal? Does anyone elses systems show similar results?


SBing 07-23-2004 01:40 PM

At the mo I'm listening to an audio CD.

$ ps aux

xio 11025 0.1 1.8 21384 11712 pts/0 S+ 19:31 0:00 xmms /mnt/cdrom
xio 11026 0.0 1.8 21384 11712 pts/0 S+ 19:31 0:00 xmms /mnt/cdrom
xio 11027 0.0 1.8 21384 11712 pts/0 S+ 19:31 0:00 xmms /mnt/cdrom
xio 11028 0.0 1.8 21384 11712 pts/0 S+ 19:31 0:00 xmms /mnt/cdrom

The same thing happens when listening to an MP3.

I'm sure someone else can explain why :)

keefaz 07-23-2004 03:11 PM

Ask that to xmms team ;)
but processes that use 0.0 % CPU and 1.8 % Memory are not the ones that can hang a system or slow it

WMD 07-23-2004 03:18 PM

Linux isn't multithreaded, so it has to run different processes for parts of an app. Not to worry, it isn't using any more memory as it would otherwise.

linmix 07-23-2004 03:29 PM

noticed something similar the other day when I used alt+tab to change between aps: xmms consisted of three different 'steps' player, equalizer and playlist... add an mp3 codec and an output plug-in .... how many threads would that give you? :)

GodSendDeath 07-23-2004 04:26 PM

Thanks for everyones input..... it sounds linmix is right. Its probably just multithreaded to handle pieces like plugins and playlists.... I just wanted to make sure the same app wasnt being opened 5 times.


slash-bin 08-26-2004 05:09 AM

multiple proc
Hi guys,

I'm running slack 10 since a few days and here's what i've just noticed:

When i'm running dcgui-qt or xmms i have several thread appearing if i do a [ps -ef] command

this is rather annoying my system is very slow for a 2.8ghz with 1g of ram

Aside this if i do a [top] command it mark upthere [CPU(S): blablabla ]

When i was under 9.1 it was marking me { CPU0: bla bla bla } (i have hyperthread)
{ CPU1: bla bla bla }

I took my old .config which was the very good one with all my drivers working and recomp my 2.4.26 kernel as i always do with the hyperthreading support in it...

i suspect some forking problem somewhere but i ain't that good to understand the thing

Any id of what's going on ?

linmix 08-26-2004 11:14 AM

different modules of the same program could be responsible for the appearance of a thread for each: plug-ins, playlist, equaliser, etc. all get 1 thread each.

slash-bin 08-26-2004 03:05 PM


thanx for the hint

Any idea about my lost CPU ??

slash-bin 08-26-2004 03:10 PM

just noticed ... i am no more using my whole ram

it seems like i use 450 meg on my 1024 (usually it's more like 950 meg used by whatever)

All times are GMT -5. The time now is 02:10 PM.