* autoregulated timeslice added to 2.4.19-ck performance patchset
@ 2002-11-01 13:37 Con Kolivas
0 siblings, 0 replies; only message in thread
From: Con Kolivas @ 2002-11-01 13:37 UTC (permalink / raw)
To: linux kernel mailing list
-----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-----
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-01 13:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-01 13:37 autoregulated timeslice added to 2.4.19-ck performance patchset Con Kolivas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®