Hi all! I''m trying to create a Windows domU setting vcpu=2 and cpus= "0,2", but xm vcpu-list show the second vcpu in paused state all the time. Is it necessary to use any additional parameter? Thanks in advance. Regards, Daniel -- Daniel Bareiro - System Administrator Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Etch - Linux user #188.598 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Daniel Bareiro > Sent: 19 April 2007 10:23 > To: Xen-Users > Subject: [Xen-users] SMP support in Windows domU > > Hi all! > > I''m trying to create a Windows domU setting vcpu=2 and cpus= > "0,2", but > xm vcpu-list show the second vcpu in paused state all the time. Is it > necessary to use any additional parameter?That should work if you have a modern enough Xen-version. Most likely, you''re using 3.0.3, which doesn''t support SMP guests very well (it can be done, but it requires a bunch of hand-patching hvmloader and such, as it''s not dynamically building the ACPI tables). -- Mats> > Thanks in advance. > > Regards, > Daniel > -- > Daniel Bareiro - System Administrator > Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 > Powered by Debian GNU/Linux Etch - Linux user #188.598 >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thursday, 19 April 2007 11:30:33 +0200, Petersson, Mats wrote:> > I''m trying to create a Windows domU setting vcpu=2 and cpus= "0,2", > > but xm vcpu-list show the second vcpu in paused state all the time. > > Is it necessary to use any additional parameter?> That should work if you have a modern enough Xen-version. Most likely, > you''re using 3.0.3, which doesn''t support SMP guests very well (it can > be done, but it requires a bunch of hand-patching hvmloader and such, > as it''s not dynamically building the ACPI tables).Yes. I''m using Xen 3.0.3 from Debian stable repositories. Should I install 3.0.4? I''m using 3.0.2 in a productive environment with GNU/Linux SMP guests and these works fine, but this guests works in paravirtualized mode. Maybe the problem with SMP support is on full virtualization mode. Thanks for speedy reply. Regards, Daniel -- Daniel Bareiro - System Administrator Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Etch - Linux user #188.598 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Daniel Bareiro > Sent: 19 April 2007 14:58 > To: xen-users@lists.xensource.com > Subject: Re: [Xen-users] SMP support in Windows domU > > On Thursday, 19 April 2007 11:30:33 +0200, > Petersson, Mats wrote: > > > > I''m trying to create a Windows domU setting vcpu=2 and > cpus= "0,2", > > > but xm vcpu-list show the second vcpu in paused state all > the time. > > > Is it necessary to use any additional parameter? > > > That should work if you have a modern enough Xen-version. > Most likely, > > you''re using 3.0.3, which doesn''t support SMP guests very > well (it can > > be done, but it requires a bunch of hand-patching hvmloader > and such, > > as it''s not dynamically building the ACPI tables). > > Yes. I''m using Xen 3.0.3 from Debian stable repositories. Should I > install 3.0.4? I''m using 3.0.2 in a productive environment with > GNU/Linux SMP guests and these works fine, but this guests works in > paravirtualized mode. Maybe the problem with SMP support is on full > virtualization mode.Yes, exactly, the HVM-support for SMP is not yet in 3.0.3 - PV-guests had SMP-support in 3.0.0, I believe. -- Mats> > Thanks for speedy reply. > > Regards, > Daniel > -- > Daniel Bareiro - System Administrator > Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 > Powered by Debian GNU/Linux Etch - Linux user #188.598 >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thursday, 19 April 2007 16:01:56 +0200, Petersson, Mats wrote:> > > That should work if you have a modern enough Xen-version. Most > > > likely, you''re using 3.0.3, which doesn''t support SMP guests very > > > well (it can be done, but it requires a bunch of hand-patching > > > hvmloader and such, as it''s not dynamically building the ACPI > > > tables).> > Yes. I''m using Xen 3.0.3 from Debian stable repositories. Should I > > install 3.0.4? I''m using 3.0.2 in a productive environment with > > GNU/Linux SMP guests and these works fine, but this guests works in > > paravirtualized mode. Maybe the problem with SMP support is on full > > virtualization mode.> Yes, exactly, the HVM-support for SMP is not yet in 3.0.3 - PV-guests > had SMP-support in 3.0.0, I believe.Oh, ok. Do you know if The HVM-support for SMP is present in Xen >= 3.0.4? Regards, Daniel -- Daniel Bareiro - System Administrator Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Etch - Linux user #188.598 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > Yes, exactly, the HVM-support for SMP is not yet in 3.0.3 - PV-guests > > had SMP-support in 3.0.0, I believe. > > Oh, ok. Do you know if The HVM-support for SMP is present in Xen >= 3.0.4?I believe so. Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thursday, 19 April 2007 18:58:11 +0100, Mark Williamson wrote:> > > Yes, exactly, the HVM-support for SMP is not yet in 3.0.3 - > > > PV-guests had SMP-support in 3.0.0, I believe.> > Oh, ok. Do you know if The HVM-support for SMP is present in Xen >> > 3.0.4?> I believe so.Ok. Thanks, Mark. Regards, Daniel -- Daniel Bareiro - System Administrator Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Etch - Linux user #188.598 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Because it is my first post to the list i want to say Hello to everybody. Currently, at work, I try to establish the environment based on XEN virtualization solution. We want to us it to host Windows 2003 systems in SMP mode and as primary requirement it need to support more the one CPU. So I''m very interested how this discussion ended. Daniel, did you run SMP Windows in DOMU with more than one vCPU? It''s work well on Xen 3.0.4 version? I try the gentoo 2006.1 with XEN 3.0.2 and while its fail I try openSUSE with XEN 3.0.3 witch work well without acpi and one VCPU. While I try to set acpi and apic it run installer using two VCPUs well but hang when it try to detect the hardware. So I consider to try porting the Xen 3.0.4 to do that and answer for the posted question will be very useful while it save my time while I will know if it still "worth to fight". If not for a while I will use only one VCPU instant. Thanks for the answer ore some suggestion about how to archive the goal. I seating on this more than two weeks and I start to lose my patent. Best, Bart. -- ASEC S.A. Bartłomiej Dubas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > bdubas@asec.com.pl.amd.com > Sent: 09 May 2007 13:03 > To: xen-users@lists.xensource.com > Subject: Re: [Xen-users] SMP support in Windows domU > > Because it is my first post to the list i want to say Hello > to everybody.Hello to you.> > > > Currently, at work, I try to establish the environment based > on XEN virtualization solution. We want to us it to host > Windows 2003 systems in SMP mode and as primary requirement > it need to support more the one CPU. So I''m very interested > how this discussion ended. > > > > Daniel, did you run SMP Windows in DOMU with more than one > vCPU? It''s work well on Xen 3.0.4 version? > > > > I try the gentoo 2006.1 with XEN 3.0.2 and while its fail I > try openSUSE with XEN 3.0.3 witch work well without acpi and > one VCPU. While I try to set acpi and apic it run installer > using two VCPUs well but hang when it try to detect the > hardware. So I consider to try porting the Xen 3.0.4 to do > that and answer for the posted question will be very useful > while it save my time while I will know if it still "worth to > fight". If not for a while I will use only one VCPU instant. >Xen 3.0.2 definitely doesn''t have the relevant code to give the guest info on number of CPU''s. 3.0.4 supports SMP ACPI tables from the hvmloader, which is what SMP guests need. 3.0.3, I don''t believe has any improvement on the SMP-guest capabilities, but there are some other improvements in the HVM support. -- Mats _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mats, thanks for fast answer...> ... 3.0.4 supports SMP ACPI tables from the hvmloader, which is what SMP > guests need....at lest some concretes. I want to try openSuse 10.3 alpha3 witch port Xen 3.0.5 only to try that increase the XEN release version is the good direction. Generally I try to find some person that successfully run Windows with more than one working VCPU, and can answer "It work on my machine, on Linux XXX, Xen version X.X.X.X", because for now I don''t find in the net such "declaration".> 3.0.3, I don''t believe has any improvement on the SMP-guestcapabilities, > but there are some other improvements in the HVM support. I was half successfully run the Windows with two VCPS working with acpi=1 and apic=1 and vcpus=2 on mentioned XEN 3.0.3 version. Here is the scenario how the guest behave (for this ones that will try to the same as me) : 1. Booting install CD, partition disk, copy required files, rebot. 2. Booting form HDD and when the splash show the ''xm vcpus-list'' inform that my quest using both VCPUs. But whne the progress bar is shown and the text ''installing drivers'' it''s hang. If I found or herd that someone have "physical" success with this issue my hope, to run the environment as I wont, will grove dramatically. For now is good to hear that the 3.0.4 version support SMP ACPI...so I go to try it, but still waiting for somebody that write the sentence mentioned before :). Best, Bart. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > bdubas@asec.com.pl > Sent: 09 May 2007 13:54 > To: xen-users@lists.xensource.com > Subject: RE: [Xen-users] SMP support in Windows domU > > Mats, thanks for fast answer... > > > ... 3.0.4 supports SMP ACPI tables from the hvmloader, > which is what SMP > > guests need. > > ...at lest some concretes. > > I want to try openSuse 10.3 alpha3 witch port Xen 3.0.5 only > to try that > increase the XEN release version is the good direction.3.0.5 (which has just a few days ago been renamed 3.1.0) is quite stable at the moment, so it''s worth a try. If you''re not using "special" features, I believe that a reasonably recent version of 3.0.5 (like in the last several weeks) would be good enough [I''m working on HVM save/restore, which has been broken/fixed several times during the last few weeks, but that''s a new feature for 3.1.0, so not surprising that it''s a bit more fragile than the standard "create/destroy domain" commands].> > Generally I try to find some person that successfully run Windows with > more than one working VCPU, and can answer "It work on my machine, on > Linux XXX, Xen version X.X.X.X", because for now I don''t find > in the net > such "declaration".This particular scenario is almost completely related to which version of Xen used. Whilst there are different versions of Xen included in different distributions, the distribution itself is of negligable impact of whether you can run (for example) Windows SMP.> > > 3.0.3, I don''t believe has any improvement on the SMP-guest > capabilities, > but there are some other improvements in the > HVM support. > > I was half successfully run the Windows with two VCPS working > with acpi=1 > and apic=1 and vcpus=2 on mentioned XEN 3.0.3 version. Here is the > scenario how the guest behave (for this ones that will try to > the same as > me) : > 1. Booting install CD, partition disk, copy required files, rebot. > 2. Booting form HDD and when the splash show the ''xm > vcpus-list'' inform > that my quest using both VCPUs. But whne the progress bar is > shown and the > text ''installing drivers'' it''s hang.You''ll probably find that there''s some information in "xm dmesg" that tells you that some opcode isn''t supported in the MMIO handling - I think that''s the case here. -- Mats _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> 3.0.5 (which has just a few days ago been renamed 3.1.0) is quite stable > at the moment, so it''s worth a try. If you''re not using "special" > features, I believe that a reasonably recent version of 3.0.5 (like in > the last several weeks) would be good enough [I''m working on HVM > save/restore, which has been broken/fixed several times during the last > few weeks, but that''s a new feature for 3.1.0, so not surprising that > it''s a bit more fragile than the standard "create/destroy domain" > commands].I''m still to fresh in installing XEN so I need to first base on some working example form the installation CD or someone tutorials. This will probably be hard form my to setup XEN 3.1 manually.> This particular scenario is almost completely related to which version > of Xen used. Whilst there are different versions of Xen included in > different distributions, the distribution itself is of negligable impact > of whether you can run (for example) Windows SMP.I suspecting this...but I think that there is more such newbie as I and thy success with some strict distribution, and have the know path to do it.> You''ll probably find that there''s some information in "xm dmesg" that > tells you that some opcode isn''t supported in the MMIO handling - I > think that''s the case here.I will try it, after I restore some working installation...my defiantly crash now after I try install XEN 3.0.4 from tgz on my openSuse installation :) Thanks for the information and some routes... I will notice if I establish working solution...while I found that in the net its is very hard to find the answers for the XEN question as you are newbie. Bart _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, At last I can notice that I run Windows 2003 in SMP mode on top of XEN 3.0.4 that is currently available on Gentoo 2007 profile. I have some minors problems with performance witch is: 1. Network use some CPU while I transfer big files (probably it is related to not using hardware CRC computing). Maximum transfer that I reached is some about 10mbps with 30% of processor usage. 2. When I install software lots of processor time is used by the kernel mode (this is probably related to disk IO operations). It use about 90% of processor while the application (user processor time) use about 10%. 3. When I use more than 2 processors for HVM quest, after it start XEN top show that it use 300% (for 4 processors) even if it don''t perform any operation. Inside the quest manager show that system use about 6% of processor resources. Any way in the normal work when all is installed the virtualization work very stabile and the performance its enough for what we do, but it will be good if it could be improved somehow. So if somebody have some experience and suggestion how to improve it I will be gratefully. Best Bart. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > bdubas@asec.com.pl > Sent: 14 May 2007 09:01 > To: xen-users@lists.xensource.com > Subject: RE: [Xen-users] SMP support in Windows domU > > Hi, > > At last I can notice that I run Windows 2003 in SMP mode on top of XEN > 3.0.4 that is currently available on Gentoo 2007 profile. I have some > minors problems with performance witch is: > 1. Network use some CPU while I transfer big files (probably > it is related > to not using hardware CRC computing). Maximum transfer that I > reached is > some about 10mbps with 30% of processor usage.Yes, that''s probably about par for the course. It will vary a little bit based on which network device type you use - but not much. The right solution is to install a Para-virtual driver, but for Windows, you can''t just build one yourself (unless you are experienced in Windows driver design), so you need one that matches your Xen version (easiest way to achieve that is to install a package with Xen and the PV driver, such as XenExpress). The para-virtual driver will install as a device driver in Windows, but instead of talking to a virtualized "true" network device, it just packs up the data to go on the network and sends it directly to the Dom0 network backend driver. The reason that you get poor performance without the PV driver is that the device-modeling is adding processor usage to the processing of the data going to the network, because each access to the network device will be intercepted by the hypervisor, sent off to Qemu-dm in Dom0, and then processed there, before the hypervisor re-awakens the guest. This is probably about 10x slower than doing a PCI-access on real hardware.> 2. When I install software lots of processor time is used by > the kernel > mode (this is probably related to disk IO operations). It use > about 90% of > processor while the application (user processor time) use about 10%.Yes, that''s probably correct. Again, you can get around this with PV drivers as described above (but now transferring Disk-packets to Dom0).> 3. When I use more than 2 processors for HVM quest, after it > start XEN top > show that it use 300% (for 4 processors) even if it don''t perform any > operation. Inside the quest manager show that system use about 6% of > processor resources.This doesn''t sound right to me. I''m not sure what could be wrong tho''. -- Mats> > Any way in the normal work when all is installed the > virtualization work > very stabile and the performance its enough for what we do, > but it will be > good if it could be improved somehow. So if somebody have > some experience > and suggestion how to improve it I will be gratefully. > > Best Bart. > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks Mats, What kind of entry I should have in quest config. Should I left it the same as is or pas them without qemu option? My carnet config looks like this: disk = [ ''phy:/dev/raid-0/serpiko,ioemu:hda,w'' ] memory = 512 vcpus = 2 cpus = "4-5" builder = ''hvm'' device_model = ''/usr/lib/xen/bin/qemu-dm'' kernel = ''/usr/lib/xen/boot/hvmloader'' name = ''win2003'' vif = [ ''type=ioemu,bridge=xenbr0'' ] stdvga = 0 sdl = 0 vnc = 1 vncviewer = 0 ne2000 = 0 localtime = 0 on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' boot = ''c'' acpi = 1 apic = 1 -- ASEC S.A. Bartłomiej Dubas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > bdubas@asec.com.pl > Sent: 14 May 2007 10:34 > To: xen-users@lists.xensource.com > Subject: RE: [Xen-users] SMP support in Windows domU > > > Thanks Mats, > > What kind of entry I should have in quest config. Should I left it the > same as is or pas them without qemu option?What is it you want to achieve. Your config looks pretty much like the one I''m using. -- Mats> > My carnet config looks like this: > disk = [ ''phy:/dev/raid-0/serpiko,ioemu:hda,w'' ] > memory = 512 > vcpus = 2 > cpus = "4-5" > builder = ''hvm'' > device_model = ''/usr/lib/xen/bin/qemu-dm'' > kernel = ''/usr/lib/xen/boot/hvmloader'' > name = ''win2003'' > vif = [ ''type=ioemu,bridge=xenbr0'' ] > stdvga = 0 > sdl = 0 > vnc = 1 > vncviewer = 0 > ne2000 = 0 > localtime = 0 > on_poweroff = ''destroy'' > on_reboot = ''restart'' > on_crash = ''restart'' > boot = ''c'' > acpi = 1 > apic = 1 > > > -- > ASEC S.A. > Bartłomiej Dubas > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I want to install drivers for Windows as you describe...> The right solution is to install a Para-virtual driver, but for Windows, > you can''t just build one yourself (unless you are experienced in Windows > driver design), so you need one that matches your Xen version (easiestway> to achieve that is to install a package with Xen and the PV driver, such> as XenExpress). The para-virtual driver will install as a device driverin > Windows, but instead of talking to a virtualized "true"> network device, it just packs up the data to go on the network and sends > it directly to the Dom0 network backend driver.-- ASEC S.A. Bartłomiej Dubas -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Petersson, Mats Sent: Monday, May 14, 2007 11:36 AM To: Bartlomiej Dubas; xen-users@lists.xensource.com Subject: RE: [Xen-users] SMP support in Windows domU> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > bdubas@asec.com.pl > Sent: 14 May 2007 10:34 > To: xen-users@lists.xensource.com > Subject: RE: [Xen-users] SMP support in Windows domU > > > Thanks Mats, > > What kind of entry I should have in quest config. Should I left it the > same as is or pas them without qemu option?What is it you want to achieve. Your config looks pretty much like the one I''m using. -- Mats> > My carnet config looks like this: > disk = [ ''phy:/dev/raid-0/serpiko,ioemu:hda,w'' ] > memory = 512 > vcpus = 2 > cpus = "4-5" > builder = ''hvm'' > device_model = ''/usr/lib/xen/bin/qemu-dm'' > kernel = ''/usr/lib/xen/boot/hvmloader'' > name = ''win2003'' > vif = [ ''type=ioemu,bridge=xenbr0'' ] > stdvga = 0 > sdl = 0 > vnc = 1 > vncviewer = 0 > ne2000 = 0 > localtime = 0 > on_poweroff = ''destroy'' > on_reboot = ''restart'' > on_crash = ''restart'' > boot = ''c'' > acpi = 1 > apic = 1 > > > -- > ASEC S.A. > Bartłomiej Dubas > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > bdubas@asec.com.pl > Sent: 14 May 2007 10:48 > To: xen-users@lists.xensource.com > Subject: RE: [Xen-users] SMP support in Windows domU > > > I want to install drivers for Windows as you describe... > > > The right solution is to install a Para-virtual driver, but > for Windows, > > you can''t just build one yourself (unless you are > experienced in Windows > > driver design), so you need one that matches your Xen > version (easiest > way > > to achieve that is to install a package with Xen and the PV > driver, such > > > as XenExpress). The para-virtual driver will install as a > device driver > in > Windows, but instead of talking to a virtualized "true" > > network device, it just packs up the data to go on the > network and sends > > it directly to the Dom0 network backend driver.I haven''t myself done this. I think you need to remove the "ioemu" from the network device. And you may have to have two disks (one to boot from that uses the "ioemu" model, and one that you use for applications/data that uses the PV driver). -- Mats> > > -- > ASEC S.A. > Bartłomiej Dubas > > -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Petersson, > Mats > Sent: Monday, May 14, 2007 11:36 AM > To: Bartlomiej Dubas; xen-users@lists.xensource.com > Subject: RE: [Xen-users] SMP support in Windows domU > > > > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > bdubas@asec.com.pl > > Sent: 14 May 2007 10:34 > > To: xen-users@lists.xensource.com > > Subject: RE: [Xen-users] SMP support in Windows domU > > > > > > Thanks Mats, > > > > What kind of entry I should have in quest config. Should I > left it the > > same as is or pas them without qemu option? > > What is it you want to achieve. Your config looks pretty much > like the one > I''m using. > > -- > Mats > > > > My carnet config looks like this: > > disk = [ ''phy:/dev/raid-0/serpiko,ioemu:hda,w'' ] > > memory = 512 > > vcpus = 2 > > cpus = "4-5" > > builder = ''hvm'' > > device_model = ''/usr/lib/xen/bin/qemu-dm'' > > kernel = ''/usr/lib/xen/boot/hvmloader'' > > name = ''win2003'' > > vif = [ ''type=ioemu,bridge=xenbr0'' ] > > stdvga = 0 > > sdl = 0 > > vnc = 1 > > vncviewer = 0 > > ne2000 = 0 > > localtime = 0 > > on_poweroff = ''destroy'' > > on_reboot = ''restart'' > > on_crash = ''restart'' > > boot = ''c'' > > acpi = 1 > > apic = 1 > > > > > > -- > > ASEC S.A. > > Bartłomiej Dubas > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello, I've followed your conversation... I'm trying too to run a windows hvm guest with several vcpus. I've Xen 3.0.4 installed and recompiled on a Debian Etch, and all works great, unless the SMP support in HVM windows guests. In my config file I have: .... vcpus=2 acpi=1 apic=1 ... But my HVM guest still don't detect 2 vcpus. I've tried it after the windows install, and then I've reinstalled windows with this config file, but nothing changes (thought windows detects it at install time). I've read a post in this mailing list (don't have the link) where someone says that the hvmloader firmware must be recomplied specifically. And I've understanded too that the recompilation is static, so all the vcpus number of all hvm guests will have to be identical. I haven't tried to do this, but I thought that xen 3.0.4 offered this feature. So like Bart, I would like to know if anyone have done it! :) Anyone have an HVM windows guest running with 2 vcpus? and if yes, how? Well, maybe the 3.1 release (3.0.5) will fix this, and maybe not, cause everyone says "it should", but I can't find someone really doing it. :) Thank you very much! And I would like to thanks Mats too, who's allways here, and answers a lot of questions very clearly. Cordialy, Jordi.S On 5/14/07, Petersson, Mats <Mats.Petersson@amd.com> wrote:> > > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > bdubas@asec.com.pl > > Sent: 14 May 2007 10:48 > > To: xen-users@lists.xensource.com > > Subject: RE: [Xen-users] SMP support in Windows domU > > > > > > I want to install drivers for Windows as you describe... > > > > > The right solution is to install a Para-virtual driver, but > > for Windows, > > > you can't just build one yourself (unless you are > > experienced in Windows > > > driver design), so you need one that matches your Xen > > version (easiest > > way > > > to achieve that is to install a package with Xen and the PV > > driver, such > > > > > as XenExpress). The para-virtual driver will install as a > > device driver > > in > Windows, but instead of talking to a virtualized "true" > > > network device, it just packs up the data to go on the > > network and sends > > > it directly to the Dom0 network backend driver. > > I haven't myself done this. I think you need to remove the "ioemu" from the network device. > > And you may have to have two disks (one to boot from that uses the "ioemu" model, and one that you use for applications/data that uses the PV driver). > > -- > Mats > > > > > > -- > > ASEC S.A. > > Bartłomiej Dubas > > > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Petersson, > > Mats > > Sent: Monday, May 14, 2007 11:36 AM > > To: Bartlomiej Dubas; xen-users@lists.xensource.com > > Subject: RE: [Xen-users] SMP support in Windows domU > > > > > > > > > -----Original Message----- > > > From: xen-users-bounces@lists.xensource.com > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > > bdubas@asec.com.pl > > > Sent: 14 May 2007 10:34 > > > To: xen-users@lists.xensource.com > > > Subject: RE: [Xen-users] SMP support in Windows domU > > > > > > > > > Thanks Mats, > > > > > > What kind of entry I should have in quest config. Should I > > left it the > > > same as is or pas them without qemu option? > > > > What is it you want to achieve. Your config looks pretty much > > like the one > > I'm using. > > > > -- > > Mats > > > > > > My carnet config looks like this: > > > disk = [ 'phy:/dev/raid-0/serpiko,ioemu:hda,w' ] > > > memory = 512 > > > vcpus = 2 > > > cpus = "4-5" > > > builder = 'hvm' > > > device_model = '/usr/lib/xen/bin/qemu-dm' > > > kernel = '/usr/lib/xen/boot/hvmloader' > > > name = 'win2003' > > > vif = [ 'type=ioemu,bridge=xenbr0' ] > > > stdvga = 0 > > > sdl = 0 > > > vnc = 1 > > > vncviewer = 0 > > > ne2000 = 0 > > > localtime = 0 > > > on_poweroff = 'destroy' > > > on_reboot = 'restart' > > > on_crash = 'restart' > > > boot = 'c' > > > acpi = 1 > > > apic = 1 > > > > > > > > > -- > > > ASEC S.A. > > > Bartłomiej Dubas > > > > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello again, I've spoke too fast, sorry :) After some tests, I finally have a Windows XP HVM guest running with 2 vcpus. I set it in the config file, and then installed windows with that config file. After the final reboot, windows says he have upgraded some features and that he needs a reboot to apply them. After the reboot, it detects new "hardware" with the little icon at the right with the "acpi" label. Then, doing a CTRL-ALT-SUP, I see 2 CPUs in the task manager/Performance. That's all :) I've tested with a 1 vcpu install too, upgrading it to 2 vcpu then in the config file, and I seems not to work, for the moment. Sorry again. Cordialy, Jordi.S On 5/15/07, Jordi Segues <jordisd.mailing@gmail.com> wrote:> Hello, > > I've followed your conversation... > I'm trying too to run a windows hvm guest with several vcpus. > > I've Xen 3.0.4 installed and recompiled on a Debian Etch, and all > works great, unless the SMP support in HVM windows guests. > > In my config file I have: > .... > vcpus=2 > acpi=1 > apic=1 > ... > > But my HVM guest still don't detect 2 vcpus. > I've tried it after the windows install, and then I've reinstalled > windows with this config file, but nothing changes (thought windows > detects it at install time). > > I've read a post in this mailing list (don't have the link) where > someone says that the hvmloader firmware must be recomplied > specifically. And I've understanded too that the recompilation is > static, so all the vcpus number of all hvm guests will have to be > identical. > > I haven't tried to do this, but I thought that xen 3.0.4 offered this feature. > So like Bart, I would like to know if anyone have done it! :) > Anyone have an HVM windows guest running with 2 vcpus? and if yes, how? > > Well, maybe the 3.1 release (3.0.5) will fix this, and maybe not, > cause everyone says "it should", but I can't find someone really doing > it. :) > > Thank you very much! > And I would like to thanks Mats too, who's allways here, and answers a > lot of questions very clearly. > > Cordialy, > > Jordi.S > > On 5/14/07, Petersson, Mats <Mats.Petersson@amd.com> wrote: > > > > > > > -----Original Message----- > > > From: xen-users-bounces@lists.xensource.com > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > > bdubas@asec.com.pl > > > Sent: 14 May 2007 10:48 > > > To: xen-users@lists.xensource.com > > > Subject: RE: [Xen-users] SMP support in Windows domU > > > > > > > > > I want to install drivers for Windows as you describe... > > > > > > > The right solution is to install a Para-virtual driver, but > > > for Windows, > > > > you can't just build one yourself (unless you are > > > experienced in Windows > > > > driver design), so you need one that matches your Xen > > > version (easiest > > > way > > > > to achieve that is to install a package with Xen and the PV > > > driver, such > > > > > > > as XenExpress). The para-virtual driver will install as a > > > device driver > > > in > Windows, but instead of talking to a virtualized "true" > > > > network device, it just packs up the data to go on the > > > network and sends > > > > it directly to the Dom0 network backend driver. > > > > I haven't myself done this. I think you need to remove the "ioemu" from the network device. > > > > And you may have to have two disks (one to boot from that uses the "ioemu" model, and one that you use for applications/data that uses the PV driver). > > > > -- > > Mats > > > > > > > > > -- > > > ASEC S.A. > > > Bartłomiej Dubas > > > > > > -----Original Message----- > > > From: xen-users-bounces@lists.xensource.com > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Petersson, > > > Mats > > > Sent: Monday, May 14, 2007 11:36 AM > > > To: Bartlomiej Dubas; xen-users@lists.xensource.com > > > Subject: RE: [Xen-users] SMP support in Windows domU > > > > > > > > > > > > > -----Original Message----- > > > > From: xen-users-bounces@lists.xensource.com > > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > > > bdubas@asec.com.pl > > > > Sent: 14 May 2007 10:34 > > > > To: xen-users@lists.xensource.com > > > > Subject: RE: [Xen-users] SMP support in Windows domU > > > > > > > > > > > > Thanks Mats, > > > > > > > > What kind of entry I should have in quest config. Should I > > > left it the > > > > same as is or pas them without qemu option? > > > > > > What is it you want to achieve. Your config looks pretty much > > > like the one > > > I'm using. > > > > > > -- > > > Mats > > > > > > > > My carnet config looks like this: > > > > disk = [ 'phy:/dev/raid-0/serpiko,ioemu:hda,w' ] > > > > memory = 512 > > > > vcpus = 2 > > > > cpus = "4-5" > > > > builder = 'hvm' > > > > device_model = '/usr/lib/xen/bin/qemu-dm' > > > > kernel = '/usr/lib/xen/boot/hvmloader' > > > > name = 'win2003' > > > > vif = [ 'type=ioemu,bridge=xenbr0' ] > > > > stdvga = 0 > > > > sdl = 0 > > > > vnc = 1 > > > > vncviewer = 0 > > > > ne2000 = 0 > > > > localtime = 0 > > > > on_poweroff = 'destroy' > > > > on_reboot = 'restart' > > > > on_crash = 'restart' > > > > boot = 'c' > > > > acpi = 1 > > > > apic = 1 > > > > > > > > > > > > -- > > > > ASEC S.A. > > > > Bartłomiej Dubas > > > > > > > > > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: Jordi Segues [mailto:jordisd.mailing@gmail.com] > Sent: 15 May 2007 10:38 > To: Petersson, Mats > Cc: bdubas@asec.com.pl; xen-users@lists.xensource.com > Subject: Re: [Xen-users] SMP support in Windows domU > > Hello again, > > I''ve spoke too fast, sorry :) > After some tests, I finally have a Windows XP HVM guest > running with 2 vcpus. > > I set it in the config file, and then installed windows with > that config file. > After the final reboot, windows says he have upgraded some features > and that he needs a reboot to apply them. > After the reboot, it detects new "hardware" with the little icon at > the right with the "acpi" label. > Then, doing a CTRL-ALT-SUP, I see 2 CPUs in the task > manager/Performance. > That''s all :) > > I''ve tested with a 1 vcpu install too, upgrading it to 2 vcpu then in > the config file, and I seems not to work, for the moment.This should work, but you may have to upgrade the HAL configuration in device manager, as the single-processor HAL doesn''t support even detecting the second processor. -- Mats> > Sorry again. > > Cordialy, > > Jordi.S > > On 5/15/07, Jordi Segues <jordisd.mailing@gmail.com> wrote: > > Hello, > > > > I''ve followed your conversation... > > I''m trying too to run a windows hvm guest with several vcpus. > > > > I''ve Xen 3.0.4 installed and recompiled on a Debian Etch, and all > > works great, unless the SMP support in HVM windows guests. > > > > In my config file I have: > > .... > > vcpus=2 > > acpi=1 > > apic=1 > > ... > > > > But my HVM guest still don''t detect 2 vcpus. > > I''ve tried it after the windows install, and then I''ve reinstalled > > windows with this config file, but nothing changes (thought windows > > detects it at install time). > > > > I''ve read a post in this mailing list (don''t have the link) where > > someone says that the hvmloader firmware must be recomplied > > specifically. And I''ve understanded too that the recompilation is > > static, so all the vcpus number of all hvm guests will have to be > > identical. > > > > I haven''t tried to do this, but I thought that xen 3.0.4 > offered this feature. > > So like Bart, I would like to know if anyone have done it! :) > > Anyone have an HVM windows guest running with 2 vcpus? and > if yes, how? > > > > Well, maybe the 3.1 release (3.0.5) will fix this, and maybe not, > > cause everyone says "it should", but I can''t find someone > really doing > > it. :) > > > > Thank you very much! > > And I would like to thanks Mats too, who''s allways here, > and answers a > > lot of questions very clearly. > > > > Cordialy, > > > > Jordi.S > > > > On 5/14/07, Petersson, Mats <Mats.Petersson@amd.com> wrote: > > > > > > > > > > -----Original Message----- > > > > From: xen-users-bounces@lists.xensource.com > > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > > > bdubas@asec.com.pl > > > > Sent: 14 May 2007 10:48 > > > > To: xen-users@lists.xensource.com > > > > Subject: RE: [Xen-users] SMP support in Windows domU > > > > > > > > > > > > I want to install drivers for Windows as you describe... > > > > > > > > > The right solution is to install a Para-virtual driver, but > > > > for Windows, > > > > > you can''t just build one yourself (unless you are > > > > experienced in Windows > > > > > driver design), so you need one that matches your Xen > > > > version (easiest > > > > way > > > > > to achieve that is to install a package with Xen and the PV > > > > driver, such > > > > > > > > > as XenExpress). The para-virtual driver will install as a > > > > device driver > > > > in > Windows, but instead of talking to a virtualized "true" > > > > > network device, it just packs up the data to go on the > > > > network and sends > > > > > it directly to the Dom0 network backend driver. > > > > > > I haven''t myself done this. I think you need to remove > the "ioemu" from the network device. > > > > > > And you may have to have two disks (one to boot from that > uses the "ioemu" model, and one that you use for > applications/data that uses the PV driver). > > > > > > -- > > > Mats > > > > > > > > > > > > -- > > > > ASEC S.A. > > > > Bartłomiej Dubas > > > > > > > > -----Original Message----- > > > > From: xen-users-bounces@lists.xensource.com > > > > [mailto:xen-users-bounces@lists.xensource.com] On > Behalf Of Petersson, > > > > Mats > > > > Sent: Monday, May 14, 2007 11:36 AM > > > > To: Bartlomiej Dubas; xen-users@lists.xensource.com > > > > Subject: RE: [Xen-users] SMP support in Windows domU > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: xen-users-bounces@lists.xensource.com > > > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > > > > bdubas@asec.com.pl > > > > > Sent: 14 May 2007 10:34 > > > > > To: xen-users@lists.xensource.com > > > > > Subject: RE: [Xen-users] SMP support in Windows domU > > > > > > > > > > > > > > > Thanks Mats, > > > > > > > > > > What kind of entry I should have in quest config. Should I > > > > left it the > > > > > same as is or pas them without qemu option? > > > > > > > > What is it you want to achieve. Your config looks pretty much > > > > like the one > > > > I''m using. > > > > > > > > -- > > > > Mats > > > > > > > > > > My carnet config looks like this: > > > > > disk = [ ''phy:/dev/raid-0/serpiko,ioemu:hda,w'' ] > > > > > memory = 512 > > > > > vcpus = 2 > > > > > cpus = "4-5" > > > > > builder = ''hvm'' > > > > > device_model = ''/usr/lib/xen/bin/qemu-dm'' > > > > > kernel = ''/usr/lib/xen/boot/hvmloader'' > > > > > name = ''win2003'' > > > > > vif = [ ''type=ioemu,bridge=xenbr0'' ] > > > > > stdvga = 0 > > > > > sdl = 0 > > > > > vnc = 1 > > > > > vncviewer = 0 > > > > > ne2000 = 0 > > > > > localtime = 0 > > > > > on_poweroff = ''destroy'' > > > > > on_reboot = ''restart'' > > > > > on_crash = ''restart'' > > > > > boot = ''c'' > > > > > acpi = 1 > > > > > apic = 1 > > > > > > > > > > > > > > > -- > > > > > ASEC S.A. > > > > > Bartłomiej Dubas > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > Xen-users mailing list > > > > > Xen-users@lists.xensource.com > > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Jordi, As Mats said this is related to the windows HAL version. I want to only Add that the best working solution could be made by Windows installation procedure. The inhalator then on witch hardware it is working and use proper HAL*.DLL. If run installer with vcpus set to 1 it will use HAL for one processor machine. Depending that you switch apic and acpi it will be Hal with apic support or not, but still only for single processor. So you need run installer with at least 2 vcpus. There is also possibility to upgrade HAL on already installed Windows system. I found some howto on the network but I never make it working. So the installer is best solution for me. On my gentoo 2007 Dom0 system with XEN 3.0.4. I also notice some strange behavior when I set vcpu to 4 (and more) the system is hanging when booting (just before switching form splash screen to login screen) or its run but it takes almost all cpu resources even it doing nothing. I also notice that the quest system are had very poor IO performance (net and disk). It is good to notice that XEN 3.0.4 have support for SMP Windows Quests (with this limitations on my machine I wrote), the version 3.0.3 don''t have it as well as 3.0.2...older I don''t know I don used them. What about 3.0.5 (3.1) as well I don''t know I hope they improve some performance and stability with more than 2 vcpus. It will be god if the made support for PV divers in HVM domains "from the box" as it is in XenSources commercial (and Express) editions. Best -- ASEC S.A. Bartłomiej Dubas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users