From: Con Kolivas <conman@kolivas.net>
To: linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: autoregulated timeslice added to 2.4.19-ck performance patchset
Date: Sat, 2 Nov 2002 00:37:15 +1100 [thread overview]
Message-ID: <200211020037.37457.conman@kolivas.net> (raw)
-----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-----
reply other threads:[~2002-11-01 13:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200211020037.37457.conman@kolivas.net \
--to=conman@kolivas.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®