This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: SMP does not work as expected - was: Re: [Xen-users] Checking for SM

To: "Dirk H. Schulz" <dirk.schulz@xxxxxxxxxxxxx>
Subject: Re: SMP does not work as expected - was: Re: [Xen-users] Checking for SMP usage in xen stable
From: Tom Brown <tbrown@xxxxxxxxxxxxx>
Date: Sun, 6 Nov 2005 23:51:18 -0800 (PST)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 07 Nov 2005 07:54:31 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <436F0128.8000808@xxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, 7 Nov 2005, Dirk H. Schulz wrote:

> Tom Brown schrieb:
> >this is just the normal P4/xeon hyperthreading isn't it? I don't know what
> >an IBM x335 is... so I'm just guessing that hyperthreading is available.
> >
> >
> Yes, this is a Xeon that can do hyperthreading - but does SMP in Xen
> also work on hyperthreaded single cpus? I thought that hyperthreading is
> different from SMP.

it is different ... hyperthreading only "looks" like SMP. I am no expert
on it, but ran across something recently that indicated it was something
Intel introduced to reduce the effect of the deep pipeline in their
processors.  The idea is that the processor can be working on two
"programs" at the same time, and if the data or instructions for one of
the programs is not available, the other one might be ready and able to
make productive use of the CPU core.

> If that works I can distribute CPU power in finer chunks on a dual
> processor hyperthreading machine.

My understanding is that in the context of "task switching", it _is_
usefull, I would assume it is like having an extra set of registers. I
believe the Xen docs suggest that you dedicate one thread of one CPU to


tbrown@xxxxxxxxxxxxx   | Courage is doing what you're afraid to do.
http://BareMetal.com/  | There can be no courage unless you're scared.
                       | - Eddie Rickenbacker

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>