LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-18-2006, 11:34 AM   #1
badradiation
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Rep: Reputation: 0
Isolating processes


Hello:

I really have no idea in which terms I should explain this, so if I'm unclear, please ask for clarification: I'll offer it as best I can.

Again, I have a problem with foobar2000, the audio player without which my life is woefully incomplete; I've run in with wine and vmware. Vmware is unacceptable - it's slow and irritating to use for a single program. In wine, foobar works well, but whenever I use another program that requires even moderate use of the processor, the audio skips and freaks out. My question:

I'm searching for a method of ensuring that foobar always has a certain proportion of the processor's clock time, that is, I want to have say 10% of the processor's time devoted to foobar - even if foobar doesn't require it. I'm not at all sure that this will solve the skipping, but I suppose it's worth a try. Having a slight overhead while running the player might be annoying, but it's better than the alternative.

Also, is it possible to do this with memory as well? In essence, I want to completely isolate foobar from the rest of the computer, to make sure that no other process preempts it or even disturbs it at all.

Thanks,
Justin.
 
Old 10-18-2006, 11:49 AM   #2
diilbert
Member
 
Registered: Nov 2003
Location: North of the Border
Distribution: Gentoo & Debian
Posts: 155

Rep: Reputation: 30
My personal recommendation (and I know this is not the answer you are looking for), but moving to another media player (I know what you are thinking, because I think the same things when someone gives me similar advise). But I moved from foobar to XMMS and it still does a good job. I would look in that direction before trying isolate foobar (resource-wise). I am sure there is some out there in lin-world that can satisfy you (there are plenty of options).

diilbert
 
Old 10-18-2006, 02:36 PM   #3
badradiation
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Original Poster
Rep: Reputation: 0
I've tried many-many-many, and none weigh up to foobar; quodlibet was close, but python is unendurably slow.

In any case, let's treat this as a generic question about isolating processes (resource-wise as you wisely put it); I think even it would be nice to be able to allocate 50% of the processor to a compilation job, so the computer won't experience any sort of slow-down (at least perceptibly with normal usage).
 
Old 10-18-2006, 02:39 PM   #4
diilbert
Member
 
Registered: Nov 2003
Location: North of the Border
Distribution: Gentoo & Debian
Posts: 155

Rep: Reputation: 30
Hopefully someone has a good answer to this, since I would be interested in this resource limiting technique as well.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tip: Isolating a Linux problem sundialsvcs Linux - Newbie 1 09-01-2005 10:17 AM
¿Not receiving mail?, need help isolating this -->data included latino Linux - Software 7 06-21-2005 01:06 AM
isolating net usage Meatwad Linux - Networking 3 09-03-2004 11:09 AM
Isolating read access to only to one file only by another file. jon_k Linux - Software 3 08-14-2004 05:16 AM
monitoring active processes and identifying the required processes. gajaykrishnan Programming 2 08-13-2004 01:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration