From: ebiederm@xmission.com (Eric W. Biederman)
To: Robin Holt <holt@sgi.com>
Cc: Stephen Champion <schamp@sgi.com>,
linux-kernel@vger.kernel.org, Pavel Emelyanov <xemul@openvz.org>,
Oleg Nesterov <oleg@tv-sign.ru>,
Sukadev Bhattiprolu <sukadev@us.ibm.com>,
Paul Menage <menage@google.com>,
Linus Torvalds <torvalds@linux-foundation.org>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [Patch] Scale pidhash_shift/pidhash_size up based on num_possible_cpus().
Date: Mon, 04 Aug 2008 17:38:56 -0700 [thread overview]
Message-ID: <m163qgpa73.fsf@frodo.ebiederm.org> (raw)
In-Reply-To: <20080804235838.GJ7290@sgi.com> (Robin Holt's message of "Mon, 4 Aug 2008 18:58:38 -0500")
Robin Holt <holt@sgi.com> writes:
> But if we simply scale based upon num_possible_cpus(), we get a relatively
> representative scaling function. Usually, customers buy machines with 1,
> 2, or 4GB per cpu. I would expect a waste of 256k, 512k, or even 1m to
> be acceptable at this size of machine.
For your customers, and your kernel thread workload, you get a
reasonable representation. For other different people and different
workloads you don't. I happen to know of a completely different
class of workload that can do better.
> For 2.6.27, would you accept an upper cap based on the memory size
> algorithm you have now and adjusted for num_possible_cpus()? Essentially
> the first patch I posted.
I want to throw a screaming hissy fit.
The merge window has closed. This is not a bug. This is not a
regression. I don't see a single compelling reason to consider this
for 2.6.27. I asked for clarification so I could be certain you were
solving the right problem.
Why didn't these patches show up 3 months ago when the last merge
window closed? Why not even earlier?
I totally agree that what we are doing could be done better, however
at this point we should be looking at 2.6.28. In which case looking
at the general long term non-hack solution is the right way to go. Can
we scale to different workloads?
For everyone with less then 4K cpus the current behavior is fine, and
with 4k cpus it results in a modest slowdown. This sounds useable.
You have hit an extremely sore spot with me. Anytime someone makes an
argument that I hear as RHEL is going to ship 2.6.27 so we _need_ this
patch in 2.6.27 I want to stop listening. I just don't care. Unfortunately
I have heard that argument almost once a day for the last week, and I am
tired of it.
Why hasn't someone complained that waitpid is still slow?
Why haven't we seen patches to reduce the number of kernel threads since
last time you had problems with the pid infrastructure?
A very frustrated code reviewer.
So yes. If you are not interested in 2.6.28 and in the general problem,
I'm not interested in this problem.
Eric
next prev parent reply other threads:[~2008-08-05 0:43 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-31 17:00 [Patch] Scale pidhash_shift/pidhash_size up based on num_possible_cpus() Robin Holt
2008-07-31 18:35 ` Eric W. Biederman
2008-07-31 19:32 ` Robin Holt
2008-07-31 19:49 ` Eric W. Biederman
2008-07-31 20:08 ` Robin Holt
2008-07-31 22:04 ` Eric W. Biederman
2008-08-01 12:04 ` Robin Holt
2008-08-01 18:27 ` Eric W. Biederman
2008-08-01 19:13 ` Robin Holt
2008-08-01 19:59 ` Eric W. Biederman
2008-08-04 13:11 ` Stephen Champion
2008-08-04 20:36 ` Eric W. Biederman
2008-08-04 23:58 ` Robin Holt
2008-08-05 0:38 ` Eric W. Biederman [this message]
2008-08-06 3:21 ` Stephen Champion
2008-08-01 18:49 ` Linus Torvalds
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=m163qgpa73.fsf@frodo.ebiederm.org \
--to=ebiederm@xmission.com \
--cc=akpm@linux-foundation.org \
--cc=holt@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=menage@google.com \
--cc=oleg@tv-sign.ru \
--cc=schamp@sgi.com \
--cc=sukadev@us.ibm.com \
--cc=torvalds@linux-foundation.org \
--cc=xemul@openvz.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.