[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: Threading issues? [ck-request@vds.kolivas.org:	ck	Digest, Vol 3, Issue 16]
From:       kernel () kolivas ! org
Date:       2004-08-30 7:17:13
Message-ID: 1093850233.4132d4790f4b8 () vds ! kolivas ! org
[Download RAW message or body]

Quoting Michael Buesch <mbuesch@freenet.de>:

> Quoting Ove Kaaven <ovek@arcticnet.no>:
> > Well, my theory is that in this situation, with the great new
> > interactivity-boosting Linux scheduler, the wineserver is considered
> > very interactive, and gets scheduled a lot more than the high-priority
> > threads, just so it can satisfy the wait requests of the low-priority
> > thread.
> 
> So what about introducing a new "scheduler flag" like the
> processor affinity flag. Some process may set itself to
> FLAG_NONITERACTIVE and the scheduler will never boost its
> priority. This can be allowed for non-root processes, too,
> as it doesn't increase the priority.

"nice" does exactly what is required. If one thread is a nice level >10 higher
than another thread it will never preempt it in mainline 2.6. We definitely
don't want to go modifying the scheduler to suit one application.

Cheers,
Con


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic