Re: [PATCH] sleep_decay for interactivity 2.5.72 - testers needed

From: Con Kolivas (kernel@kolivas.org)
Date: Sun Jun 22 2003 - 08:35:07 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 20 Jun 2003 12:29, Con Kolivas wrote:
> On Fri, 20 Jun 2003 07:32, Andreas Boman wrote:
> > Basicly, for normal usage this kernel is acting *very* well here.
>
> Great! Thanks for doing this testing. I've attached a patch with the
> updated figures and cc'ed lkml for others to test.

This is the latest state of play with this patch. I have been developing it
for -ck and ported it to 2.5 if anyone is still interested. Basically it will
make a task interactive faster than vanilla and will prevent a task losing
it's interactivity status for longer.

The added changes include a small workaround for integer division, and a new
feature - non linear boosting.

I have implemented a sigmoid curve shaped boost to the priority boost. This
makes it harder for tasks to get the largest priority boost or the greatest
penalty. Basically cpu hungry tasks that remain cpu hungry but fluctuate in
their sleep time due to lots of other tasks running will get less priority
boost and fluctuate less in that boost also.

Feel free to test it and comment. Things to look for - the dreaded audio skip
under load, and X remaining interactive during sustained use under load.

Con
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+9bCLF6dfvkL3i1gRAgRsAKCS0jN/CEcLyuQxeJelUxLWXtAiTwCfQQuL
58jDY88RrOD0Lmr6ZYu/K50=
=00wP
-----END PGP SIGNATURE-----



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:38 EST