Re: [kvm-devel] windows 2003 smp guest
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* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 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* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]] 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/vse012070mrt/direct/01/ http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net mailto:kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel 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/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net 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/vse012070mrt/direct/01/___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] windows 2003 smp guest
Dor Laor wrote: 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. can you tell me what does the HAL means here? and what's kind of HAL exists what are the advantage/disadvantages them. how can i change/configure this? -- Levente Si vis pacem para bellum! - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] windows 2003 smp guest
On 9/20/07, Farkas Levente [EMAIL PROTECTED] wrote: Dor Laor wrote: 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. can you tell me what does the HAL means here? and what's kind of HAL exists what are the advantage/disadvantages them. how can i change/configure this? Hardware Abstraction Layer. See: http://support.microsoft.com/kb/99588 http://en.wikipedia.org/wiki/Architecture_of_Windows_NT Luca - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] windows 2003 smp guest
Luca wrote: On 9/20/07, Farkas Levente [EMAIL PROTECTED] wrote: Dor Laor wrote: 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. can you tell me what does the HAL means here? and what's kind of HAL exists what are the advantage/disadvantages them. how can i change/configure this? Hardware Abstraction Layer. See: http://support.microsoft.com/kb/99588 http://en.wikipedia.org/wiki/Architecture_of_Windows_NT but if it's part of the windows, how can a user of kvm can change or use different version? or windows itself has more hal inside and if we run single cpu versus smp kvm for windows the use different hal? and what other hel can be indirectly selected by this way? -- Levente Si vis pacem para bellum! - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] windows 2003 smp guest
2007/9/20, Farkas Levente [EMAIL PROTECTED]: can you tell me what does the HAL means here? and what's kind of HAL exists what are the advantage/disadvantages them. how can i change/configure this? Hardware Abstraction Layer. See: http://support.microsoft.com/kb/99588 http://en.wikipedia.org/wiki/Architecture_of_Windows_NT but if it's part of the windows, how can a user of kvm can change or use different version? or windows itself has more hal inside and if we run single cpu versus smp kvm for windows the use different hal? and what other hel can be indirectly selected by this way? http://kvm.qumranet.com/kvmwiki/Windows_ACPI_Workaround - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] windows 2003 smp guest
From: Dor Laor [mailto:[EMAIL PROTECTED] Sent: 2007年9月21日 5:09 To: Haydn Solomon Cc: He, Qing; kvm-devel; Avi Kivity Subject: Re: [kvm-devel] windows 2003 smp guest 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] 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/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel 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/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net 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/vse012070mrt/direct/01/___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] windows 2003 smp guest
Dor Laor wrote: 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. It is possible that 64 bit SMP windows have much less overhead than 32 bit, e.g if the processors are later than Core 2 My guess is that you better use -smp 2. Dor. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
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? 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? -- 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/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
[kvm-devel] windows 2003 smp guest
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? 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? Thanks for any help in advance. Haydn - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] windows 2003 smp guest
On 9/18/07, Avi Kivity [EMAIL PROTECTED] wrote: Haydn Solomon wrote: On 9/18/07, *Avi Kivity* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: 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? My workload medium to high. Running full cisco labs using cisco emulator. Well, no idea what that is. Didn't think you would as this is more on the networking side. You may find it interesting as it actually an emulator emulating mips architecture ( which cisco ios runs on ) on x86. You can check it out at http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator if you care to. Good question. What HALs are available for Windows 2003 SMP? The following are available... acpi multiprocessor pc acpi uniprocessor pc acpi pc mps uniprocessor pc mps multiprocessor pc standard pc other mps multiprocessor may give the best performance, though I've never tested it. I'll try this and provide some feedback. -- error compiling committee.c: too many arguments to function One other question. I'm doing this a core 2 duo and am wondering about number vcpu. I know xen for example can have more vcpus than physical cpus, example 4 vcpus on 2 physical cpus/cores. What is the recommendation for best performance? I would imagine a one to one ie. 2 vcpus on 2 cores/cpus? Yes, 1:1 (or less) is best. Overcommitting cpus will definitely degrade performance drastically. ok. -- 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/vse012070mrt/direct/01/___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] windows 2003 smp guest
On 9/18/07, Avi Kivity [EMAIL PROTECTED] wrote: 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? My workload medium to high. Running full cisco labs using cisco emulator. Good question. What HALs are available for Windows 2003 SMP? The following are available... acpi multiprocessor pc acpi uniprocessor pc acpi pc mps uniprocessor pc mps multiprocessor pc standard pc other -- error compiling committee.c: too many arguments to function One other question. I'm doing this a core 2 duo and am wondering about number vcpu. I know xen for example can have more vcpus than physical cpus, example 4 vcpus on 2 physical cpus/cores. What is the recommendation for best performance? I would imagine a one to one ie. 2 vcpus on 2 cores/cpus? - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] windows 2003 smp guest
Haydn Solomon wrote: On 9/18/07, *Avi Kivity* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: 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? My workload medium to high. Running full cisco labs using cisco emulator. Well, no idea what that is. Good question. What HALs are available for Windows 2003 SMP? The following are available... acpi multiprocessor pc acpi uniprocessor pc acpi pc mps uniprocessor pc mps multiprocessor pc standard pc other mps multiprocessor may give the best performance, though I've never tested it. -- error compiling committee.c: too many arguments to function One other question. I'm doing this a core 2 duo and am wondering about number vcpu. I know xen for example can have more vcpus than physical cpus, example 4 vcpus on 2 physical cpus/cores. What is the recommendation for best performance? I would imagine a one to one ie. 2 vcpus on 2 cores/cpus? Yes, 1:1 (or less) is best. Overcommitting cpus will definitely degrade performance drastically. -- 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/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] windows 2003 smp guest
Good question. What HALs are available for Windows 2003 SMP? The following are available... acpi multiprocessor pc acpi uniprocessor pc acpi pc mps uniprocessor pc mps multiprocessor pc standard pc other mps multiprocessor may give the best performance, though I've never tested it. I'll try this and provide some feedback. First attempt at this and qemu process hung during install.. it went to sleep and never woke up. Any suggestions on what to try next? My parameters for install were as follows: /usr/local/kvm/bin/qemu-system-x86_64 \ -hda server2k3r2smp.img \ -m 512 \ -no-rtc \ -localtime \ -smp 2 \ -no-kvm-irqchip \ -net nic,model=rtl8139 \ -net user \ -boot d \ -cdrom /home/hsolomon/isos/en_win_srv_2003_r2_enterprise_cd1.iso - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] windows 2003 smp guest
Haydn Solomon wrote: Good question. What HALs are available for Windows 2003 SMP? The following are available... acpi multiprocessor pc acpi uniprocessor pc acpi pc mps uniprocessor pc mps multiprocessor pc standard pc other mps multiprocessor may give the best performance, though I've never tested it. I'll try this and provide some feedback. First attempt at this and qemu process hung during install.. it went to sleep and never woke up. Any suggestions on what to try next? My parameters for install were as follows: /usr/local/kvm/bin/qemu-system-x86_64 \ -hda server2k3r2smp.img \ -m 512 \ -no-rtc \ -localtime \ -smp 2 \ -no-kvm-irqchip \ -net nic,model=rtl8139 \ -net user \ -boot d \ -cdrom /home/hsolomon/isos/en_win_srv_2003_r2_enterprise_cd1.iso I'll just have to debug this. Looks like no one tried it before. -- 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/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] windows 2003 smp guest
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net 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/vse012070mrt/direct/01/___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] windows 2003 smp guest
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 [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net 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/vse012070mrt/direct/01/___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel