From: Keir Fraser Subject: Re: Question about hyper-threading of domains Date: Fri, 29 Apr 2005 20:59:26 +0100 Message-ID: References: <42728E37.2000502@diku.dk> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <42728E37.2000502@diku.dk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jacob Gorm Hansen Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On 29 Apr 2005, at 20:42, Jacob Gorm Hansen wrote: > is it possible, and will it make sense, to allow an SMP-domain access > to both SMT/Hyper threads of a CPU? > > My performance measurements of the small address spaces implementation > (SAS) seem to indicate that having the driver domain in a separate > hyper thread is still a little faster than SAS for a non-SMP/SMT domU. > I guess that means that that SMT IPIs are about the same cost as ring > switches. HT is designed to look almost identical to SMP, so it is no problem to give both HTs to a multi-processor domain. This will make sense if the domain is running a workload that benefits from HT (e.g., probably certain types of multi-threaded application). In most cases I expect it will give better overall performance to allocate the second HT solely to a driver domain. -- Keir