From: Peter Zijlstra <peterz@infradead.org>
To: "Zhang, Yanmin" <yanmin_zhang@linux.intel.com>
Cc: Lin Ming <ming.m.lin@intel.com>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: hackbench [pthread mode] regression with 2.6.29-rc3
Date: Mon, 02 Feb 2009 09:53:38 +0100 [thread overview]
Message-ID: <1233564818.4787.107.camel@laptop> (raw)
In-Reply-To: <1233537134.2604.24.camel@ymzhang>
On Mon, 2009-02-02 at 09:12 +0800, Zhang, Yanmin wrote:
> process timer (by setitimer) isn't good. Is per-cpu itimer to improve it?
> So the per-cpu itimer could improve this situation when thread number is far bigger than
> cpu number. I didn't retry specweb2005 with 2.6.28.
1) process wide itimers are rubbish, 2) per-cpu itimers are rubbish too,
for the very simple reason they waste gobs of memory for sane programs.
I would rather go back to the old model where we iterate all threads,
and find a way to not make programs with too many threads for their own
good lock up the kernel, but instead get poor service.
Now the problems appears to be that I overlooked that we keep the itimer
clock running at all times, not only when we have a pending timer, and I
suppose that the standard mandates that behaviour :/
Anyway, I will try to sort something out, at worst we'll have to revert
to the .28 state and live with the per-cpu crap for another release.
next prev parent reply other threads:[~2009-02-02 8:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-01 7:30 hackbench [pthread mode] regression with 2.6.29-rc3 Zhang, Yanmin
[not found] ` <d3f22a0902010026q1db36381j36cb1c9803d48431@mail.gmail.com>
2009-02-01 8:29 ` Lin Ming
2009-02-01 9:17 ` Peter Zijlstra
2009-02-01 9:57 ` Peter Zijlstra
2009-02-01 10:04 ` Ingo Molnar
2009-02-02 1:12 ` Zhang, Yanmin
2009-02-02 8:53 ` Peter Zijlstra [this message]
2009-02-02 17:49 ` Bryon Roche
2009-02-02 20:50 ` Peter Zijlstra
2009-02-03 11:56 ` [RFC] process wide itimer cruft Peter Zijlstra
2009-02-03 17:23 ` Oleg Nesterov
2009-02-03 17:51 ` Peter Zijlstra
2009-02-03 18:22 ` Oleg Nesterov
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=1233564818.4787.107.camel@laptop \
--to=peterz@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ming.m.lin@intel.com \
--cc=yanmin_zhang@linux.intel.com \
/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