Hi Andreas,

Thank you for your quick response.

On 07/05/05 10:49, Andreas Mohr wrote:
Hi,

On Sat, May 07, 2005 at 10:00:59AM +0200, Paul van Schayck wrote:
It's quite common to have dsound in emulation (it won't work without).
This means a lot of load comes down to the cpu, and where perhaps your
latency comes from.
BTW, I'm planning to implement SetThreadPriority().
Maybe it actually gets called by the game (but at least it should get
called by our multimedia DLLs in recent CVS now).

This could also help a lot, provided that you're running on a
SCHED_ISO and SCHED_BATCH aware kernel...

Okay, great! I am running debian sarge 2.6.8-2-k7 kernel, not sure if that is SCHED_ISO and SCHED_BATCH aware, but I can upgrade to the latest kernel in debian testing/sarge if necessary.


Of course this SetThreadPriority() implementation wouldn't be perfect,
but at least it would be a first implementation to see whether it helps,
and in that case one could do further discussion with Con Kolivas to try to
make Linux almost fully compatible with the Windows thread priority model.

Hopefully it would give some improvement.

I am not on this list, please include my email address in any replies.

Kind regards
JG
--
Homepage: http://jguk.org/
Blog: http://jguk.org/blog.rss
Radio: http://jguk.org/#radio



Reply via email to