From: "J.A. Magallon" <jamagallon@able.es>
To: Artemio <artemio@artemio.net>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: SMP question
Date: Thu, 12 Jun 2003 00:54:01 +0200 [thread overview]
Message-ID: <20030611225401.GE2712@werewolf.able.es> (raw)
In-Reply-To: <200306112313.30903.artemio@artemio.net>; from artemio@artemio.net on Wed, Jun 11, 2003 at 22:13:30 +0200
On 06.11, Artemio wrote:
> Hello!
>
> > > How much performance will I loose this way? Is SMP *THAT* critical?
> >
> > You will lose about half your CPU power.
>
> Hmmm... So, you mean uni-processor Linux kernel can't see two processors as
> one "big" processor?
>
No, but it will work as if it does...explain below.
You have 2 processor packages, each one is HyperThreading capable. This
means you have two 'CPUs' inside each package, so that sums up your 4 CPUs.
But there is a flaw. The 2 'CPUs' inside each processor package are not
full real CPUs, just two register sets that share cache, FP units, integer
units and so on. So let's say your Xeon has 8 FP units, and you want to
run a FPU intensive task with low or null disk IO. If you activate
hyperthreading each of the 2 'cpus' has 4 FP units, so half the computation
power. If you deactivate HT, you have 1 CPU with 8 FP units.
In short, for FP intensive tasks, hyperthreading is a big lie...
You can't run 2 computations in parallel.
--
J.A. Magallon <jamagallon@able.es> \ Software is like sex:
werewolf.able.es \ It's better when it's free
Mandrake Linux release 9.2 (Cooker) for i586
Linux 2.4.21-rc7-jam1 (gcc 3.3 (Mandrake Linux 9.2 3.3-1mdk))
next prev parent reply other threads:[~2003-06-11 22:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-11 17:43 SMP question Artemio
2003-06-11 18:04 ` Tigran Aivazian
2003-06-11 19:38 ` Samuel Flory
2003-06-11 19:52 ` Artemio
2003-06-11 20:14 ` David Schwartz
2003-06-11 20:13 ` Artemio
2003-06-11 22:34 ` David Schwartz
2003-06-11 22:54 ` J.A. Magallon [this message]
2003-06-12 5:37 ` Artemio
2003-06-12 12:49 ` Matt Reppert
2003-06-12 17:25 ` Artemio
2003-06-12 14:02 ` Scott Robert Ladd
2003-06-12 20:59 ` J.A. Magallon
2003-06-11 21:25 ` Zwane Mwaikambo
[not found] <Pine.LNX.4.44.0306111838360.20310-100000@coffee.psychology.mcmaster.ca>
2003-06-12 5:42 ` Artemio
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=20030611225401.GE2712@werewolf.able.es \
--to=jamagallon@able.es \
--cc=artemio@artemio.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