1

I use raw mplayer to play video, DeaDBeeF to play audio and Skype for VoIP. Heavy CPU-consuming processes (like rendering a website in Firefox, redrawing a Java IDE window or compilation) cause disturbances in multimedia playback processes. How to overcome this? I'd agree to those CPU-consuming processes to be a bit slower if it won't disturb multimedia playback.

3

to change a running process (as mentioned above : renice -n -20 <pid>

or viva GUI

gnome-system-monitor => Processes => RightClick => ChangePriority

1

Try playing with the nice command on a console (hint: man nice)

sudo nice foo –15 &

Will start application foo at an "elevated" priority of -15 (less is more :D)

OR

Not exactly what you ask for, but try using the a realtime kernel, it's more responsive and the apps "seems to hang less".

  • Thanks. Then would you be so kind to look at this question? ubuntu.stackexchange.com/q/4765/2390 :-) – Ivan Sep 26 '10 at 0:43
  • I'm not sure a realtime kernel would help : if the CPU is overloaded, a realtime kernel will be overloaded as well... And you will still have to play with the priorities to tell the kernel what applications are more important to you. Of course, you will know for sure only if you try, but I'm certain that managing your processes priority with your existing kernel should give you the right behavior without playing with the kernel itself. – Little Jawa Sep 26 '10 at 6:11

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.