autoregulated timeslice added to 2.4.19-ck performance patchset

From: Con Kolivas (conman@kolivas.net)
Date: Fri Nov 01 2002 - 08:37:15 EST


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

I've added a small patch to the -ck patchset to make it up to ck11

The Hz is set to 1000 (from RML's patch)
I've added my own patch which varies the timeslice duration. It is
autoregulated by decreasing the duration according to the number of running
processes or in the presence of uninterruptible processes. The range of
timeslices is now huge depending on demand.

The diff against ck10 (a small patch) is available here:
http://kernel.kolivas.net

Cheers,
Con

P.S. A brief summary of my patch is here :

(from sched.c)
MIN_TIMESLICE ( 1 * timeslice_multiplier )
MAX_TIMESLICE ( 30 * timeslice_multiplier )

(from timer.c)
timeslice_multiplier autoregulated according to number of running tasks.
Starts at 32 and is divided by nr_running()^2. Will drop to 1 if there are
any nr_uninterruptible(). SMP is decreased proportionately less
(1/smp_num_cpus).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9woOPF6dfvkL3i1gRAr61AJ9qW85GQmljDAPKAT4zN9GeeJB3CwCfVxIf
Vek+JTftg8FW+hTjkdjR9H0=
=DvQf
-----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 : Thu Nov 07 2002 - 22:00:20 EST