From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dor Laor Subject: Re: windows 2003 smp guest Date: Thu, 20 Sep 2007 23:09:18 +0200 Message-ID: <46F2E17E.20607@qumranet.com> References: <46EFDB2C.30601@qumranet.com> <37E52D09333DE2469A03574C88DBF40FA9C23E@pdsmsx414.ccr.corp.intel.com> Reply-To: dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0835499048==" Cc: kvm-devel , Avi Kivity , "He, Qing" To: Haydn Solomon Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org This is a multi-part message in MIME format. --===============0835499048== Content-Type: multipart/alternative; boundary="------------070000030806090507040903" This is a multi-part message in MIME format. --------------070000030806090507040903 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Haydn Solomon wrote: > I have a question on guest smp performance. If I have a host with core > 2 duo, should a kvm guest perform better using -smp 2 as opposed to > not using -smp 2? > Well, it depends: In general Avi measured 40% performance increase for using a second cpu in the guest. This was long time ago, before the in-kernel-apic implementation. It might improve the gain of the additional cpu. On the other hand, for 32 bit windows, using ACPI HAL has pretty big overhead at the moment. Since it is a must for smp guest, it might be slower than running non-acpi single cpu VM. My guess is that you better use -smp 2. Dor. > On 9/18/07, *Haydn Solomon* > wrote: > > I'm going to try the acpi multiprocessor HAL and see how that > works. What kind of performance do you get with it? > > > On 9/18/07, * He, Qing* < qing.he-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org > > wrote: > > > > >-----Original Message----- > >From: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > > >[mailto:kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > ] On Behalf Of > Avi Kivity > >Sent: 2007年9月18日 22:06 > >To: Haydn Solomon > >Cc: kvm-devel > >Subject: Re: [kvm-devel] windows 2003 smp guest > > > >Haydn Solomon wrote: > >> I am interested in installing smp windows 2003 server guest > and have > >> some questions. > >> > >> 1.Is windows smp guest working and performing well at this > point in kvm? > > > >It's working will with -no-kvm-irqchip.Not so sure without the > switch, > >but we're improving things. > > > >I haven't tested performance very thoroughly.What's your workload? > > It's also working well on my side if the option is not > presented :-) > > > > >> 2.If question 1 above is true, then what HAL should I choose > during > >> installation and what other flags should I use when running it? > >> > > > >Good question.What HALs are available for Windows 2003 SMP? > > I'm using ACPI multiprocessor HAL, don't know how MPS > multiprocessor HAL works. > > > > >-- > >error compiling committee.c: too many arguments to function > > > > > >------------------------------------------------------------------------- > >This SF.net email is sponsored by: Microsoft > >Defy all challenges. Microsoft(R) Visual Studio 2005. > >http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > >_______________________________________________ > >kvm-devel mailing list > >kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > > > https://lists.sourceforge.net/lists/listinfo/kvm-devel > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > kvm-devel mailing list > kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/kvm-devel > --------------070000030806090507040903 Content-Type: text/html; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Haydn Solomon wrote:
I have a question on guest smp performance. If I have a host with core 2 duo, should a kvm guest perform better using -smp 2 as opposed to not using -smp 2?

Well, it depends:
In general Avi measured 40% performance increase for using a second cpu in the guest. This was long time ago,
before the in-kernel-apic implementation. It might improve the gain of the additional cpu.

On the other hand, for 32 bit windows, using ACPI HAL has pretty big overhead at the moment. Since it is a must
for smp guest, it might be slower than running non-acpi single cpu VM.

My guess is that you better use -smp 2.
Dor.
On 9/18/07, Haydn Solomon <haydn.solomon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
I'm going to try the acpi multiprocessor HAL and see how that works. What kind of performance do you get with it?


On 9/18/07, He, Qing < qing.he-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:


>-----Original Message-----
>From: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>[mailto:kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org ] On Behalf Of Avi Kivity
>Sent: 2007年9月18日 22:06
>To: Haydn Solomon
>Cc: kvm-devel
>Subject: Re: [kvm-devel] windows 2003 smp guest
>
>Haydn Solomon wrote:
>> I am interested in installing smp windows 2003 server guest and have
>> some questions.
>>
>> 1.  Is windows smp guest working and performing well at this point in kvm?
>
>It's working will with -no-kvm-irqchip.  Not so sure without the switch,
>but we're improving things.
>
>I haven't tested performance very thoroughly.  What's your workload?

It's also working well on my side if the option is not presented :-)

>
>> 2.  If question 1 above is true, then what HAL should I choose during
>> installation and what other flags should I use when running it?
>>
>
>Good question.  What HALs are available for Windows 2003 SMP?

I'm using ACPI multiprocessor HAL, don't know how MPS multiprocessor HAL works.

>
>--
>error compiling committee.c: too many arguments to function
>
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by: Microsoft
>Defy all challenges. Microsoft(R) Visual Studio 2005.
>http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>_______________________________________________
>kvm-devel mailing list
>kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/kvm-devel



------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel

--------------070000030806090507040903-- --===============0835499048== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --===============0835499048== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --===============0835499048==--