[Ilugc] KERNEL / DISTRO / DESKTOP / APPLICATION interdependency?

  • From: rsubr@xxxxxxxxxxxxxxxxxxxxxxxx (Raja Subramanian)
  • Date: Wed Sep 1 21:00:22 2004

Hi,

Sivasankar Chander wrote:

Also note that 2.6 is much different from 2.4 in terms of
responsiveness of system due to pre-emptive kernel and O(1) sheduler.

  Yes, on the whole it is a huge improvement on the desktop, but there
is at least one new side-effect - on Xine, when you bring the UI controls
into focus, it gets the interactivity boost, while the window displaying
the video gets a lower priority. The net effect is that it starts dropping
frames the moment you try to adjust anything on the UI window, even
the volume control. Click on the display window again, and video immediately
becomes smooth with no frame drops.

How does the kernel know which process' window has focus and give it an
interactivity boost?  Isn't this behaviour just a xine quirk?

I would not want my compiles to get lower priority when my window focus
is on mutt :-P

- Raja

Other related posts: