From: Ed Tomlinson <tomlins@cam.org>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Robert Love <rml@tech9.net>, Ingo Molnar <mingo@elte.hu>
Subject: Re: [PATCH,RFC] fix o(1) handling of threads
Date: Mon, 30 Dec 2002 17:32:21 -0500 [thread overview]
Message-ID: <200212301732.21500.tomlins@cam.org> (raw)
In-Reply-To: <1041288608.13956.173.camel@irongate.swansea.linux.org.uk>
On December 30, 2002 05:50 pm, Alan Cox wrote:
> Very interesting, but I'll note there are actually two groupings to
> solve - per user and per threadgroup. Also for small numbers of threads
> you don't want to punish a task and ruin its balancing across CPUs
This easily tuneable. As its set now 2 in queue threads from the
same group are not punished, 3 and they have their timeslices halfed.
Setting THREAD_PENALTY to 65 means no adjustments till 4 in queue threads
exist.
> Have you looked at the per user fair share stuff too ?
No but a varient of the same code could be cooked up - interested?. As
I am the only real user here is not much of an issue. Anyone have
boxes that can be used to test per user throttles?
Ed Tomlinson
next prev parent reply other threads:[~2002-12-30 22:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-30 21:45 [PATCH,RFC] fix o(1) handling of threads Ed Tomlinson
2002-12-30 22:12 ` William Lee Irwin III
2002-12-30 22:50 ` Alan Cox
2002-12-30 22:32 ` Ed Tomlinson [this message]
2002-12-31 14:33 ` Ed Tomlinson
2003-01-01 13:02 ` Ed Tomlinson
2003-01-03 0:22 ` Ingo Molnar
2003-01-03 12:50 ` Ed Tomlinson
2002-12-30 23:00 ` David Schwartz
2002-12-31 4:03 ` Ed Tomlinson
2002-12-31 4:45 ` Rik van Riel
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=200212301732.21500.tomlins@cam.org \
--to=tomlins@cam.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rml@tech9.net \
/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