From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
To: "J.A. Magallón" <jamagallon@ono.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: Hyperthreading on Core i7s: To use or not to use?
Date: Fri, 29 Jan 2010 20:59:16 -0200 [thread overview]
Message-ID: <20100129225916.GC19420@khazad-dum.debian.net> (raw)
In-Reply-To: <20100127015018.42793269@werewolf.home>
On Wed, 27 Jan 2010, J.A. Magallón wrote:
> On Tue, 26 Jan 2010 10:56:57 +0000, Daniel J Blueman <daniel.blueman@gmail.com> wrote:
> Well, with that i7 you have:
> - 1 processor
> - 4 cores
> - 8 threads (4x2)
And Turbo Boost, let's not forget it.
> What does 'within the noise' mean for you ?
> With the 4-on mode, it just takes 2x the time to do the work...(look at elapsed!)
> So, assuming the kernel is 'intelligent':
> - Using 4 threads, it takes 17.44, and scheduler is using 4 threads located
> on different cores.
> - Using 8 threads, it takes 9.50. So effciency is 17.44/(2*9.50) = 91%
> Very good! So this HyperThreading is not like that old in P4s, works much
> better. Even with each couple threads competing for registers and L1 (or L2?)
> cache.
>
> So hyper threading is good, why should you disable it ?
When for some reason it gives you less 'automatic overclocking' and your
workload happens to benefit more from less cores with a higher clock, than
more cores with a lower clock, I suppose.
Which might just mean one in that situation should try the 'power aware
scheduler' since it supposedly tries to idle threads/cores a lot more, which
should make it easier for the active cores to overclock themselves.
Using Len's userspace utility to track the real freq. of boosted cores might
give some insights. It is in his pmtools package, available at:
http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
next prev parent reply other threads:[~2010-01-29 22:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-26 10:56 Daniel J Blueman
2010-01-26 13:11 ` peng huang
2010-01-27 0:50 ` J.A. Magallón
2010-01-29 22:59 ` Henrique de Moraes Holschuh [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-01-26 10:02 Justin Piszcz
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=20100129225916.GC19420@khazad-dum.debian.net \
--to=hmh@hmh.eng.br \
--cc=jamagallon@ono.com \
--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®