Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-23-2004, 02:36 PM
|
#1
|
Member
Registered: Mar 2004
Posts: 71
Rep:
|
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?
-GSD
|
|
|
07-23-2004, 02:40 PM
|
#2
|
Member
Registered: Mar 2004
Posts: 519
Rep:
|
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 :)
|
|
|
07-23-2004, 04:11 PM
|
#3
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,763
|
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
|
|
|
07-23-2004, 04:18 PM
|
#4
|
Member
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484
Rep:
|
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.
|
|
|
07-23-2004, 04:29 PM
|
#5
|
Senior Member
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Rep:
|
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?
|
|
|
07-23-2004, 05:26 PM
|
#6
|
Member
Registered: Mar 2004
Posts: 71
Original Poster
Rep:
|
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.
-GSD
|
|
|
08-26-2004, 06:09 AM
|
#7
|
LQ Newbie
Registered: Aug 2004
Posts: 3
Rep:
|
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 ?
|
|
|
08-26-2004, 12:14 PM
|
#8
|
Senior Member
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Rep:
|
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.
|
|
|
08-26-2004, 04:05 PM
|
#9
|
LQ Newbie
Registered: Aug 2004
Posts: 3
Rep:
|
okyo
thanx for the hint
Any idea about my lost CPU ??
|
|
|
08-26-2004, 04:10 PM
|
#10
|
LQ Newbie
Registered: Aug 2004
Posts: 3
Rep:
|
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 05:18 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|