Hello I have trouble with Quard Core Opteron and windows 2008(x86). By the way Windows device manager show 4 processors, BUT task manager show only one core. I found that my problem is not new. But solutions, provided by those people did not helped me. By the way, my windows is enterprise version, and as far as I know, it allows up to 8 processor sockets, so the trouble is not, that windows treats 4 cores as 4 different processors. My machine config file is next: [root@loft1569 ~]# cat /etc/xen/win1 name = "win1" uuid = "c95bf204-b312-5f1b-0784-da44c9cb63f3" maxmem = 3584 memory = 3584 vcpus = 4 timer = 1 #I tried ALL variants of CPUID provided here #cpuid = [''1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxxxxxxxxxxxxx''] #cpuid = [''1:ebx=xxxxxxxx00001010xxxxxxxxxxxxxxxx,edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx'', ''0x80000001:ecx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1x'', ''0x80000008:ecx=xxxxxxxxxxxxxxxxxxxxxxxxxx001001''] #cpuid = [''1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebxxxxxxxxx00010000xxxxxxxxxxxxxxxx'',''4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxxx''] cpuid=[''1:edx=xxx0xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00000100xxxxxxxxxxxxxxxx'',''4,0:eax=000011xxxxxxxxxxxxxxxxxxxxxxxxxx''] #cpuid=[''1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00001000xxxxxxxxxxxxxxxx'',''4,0:eax=000111xxxxxxxxxxxxxxxxxxxxxxxxxx''] builder = "hvm" kernel = "/usr/lib/xen/boot/hvmloader" boot = "c" pae = 1 acpi = 1 apic = 1 localtime = 0 on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" device_model = "/usr/lib64/xen/bin/qemu-dm" sdl = 0 vnc = 1 vncunused = 1 disk = [ "file:/xen/win/disk.img,hda,w", ",hdc:cdrom,r" ] #vif = [ "mac=00:16:3e:5d:4c:5c,bridge=xenbr0" ] vif = [''type=ioemu, bridge=xenbr0, mac=00:40:D0:BF:FD:77''] #type=ioemu, ip=85.25.75.229 mac=00:40:D0:BF:FD:77 #serial = "pty" vncdisplay = "0" vnclisten = "0.0.0.0" Direct auto launch of machine, xm list shows this: [root@loft1569 ~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 390 4 r----- 59402.5 win1 18 3591 1 ------ 0.4 ////Why not 4 VCPUS? Can anybody tell me, WHY windows can not use all 4 cores of processor? -- Regards, Andrey _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thomas Halinka
2008-Dec-10 19:46 UTC
Re: [Xen-users] WIndows 2008, Quard Core Opteron, xen
Hello Andrey,> Can anybody tell me, WHY windows can not use all 4 cores of processor?cpus = 4 should do the job for you Thomas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andrey Chursin
2008-Dec-10 19:50 UTC
Re: [Xen-users] WIndows 2008, Quard Core Opteron, xen
Thank you for answer, but when i entering cpus = 4 I see next error message on xm create win1: Using config file "/etc/xen/win1". Error: (22, ''Invalid argument'') Is there any way to obtain addiional information about exception? 2008/12/10 Thomas Halinka <lists@thohal.de>:> Hello Andrey, > >> Can anybody tell me, WHY windows can not use all 4 cores of processor? > > cpus = 4 > > should do the job for you > > Thomas > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Regards, Andrey _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thomas Halinka
2008-Dec-10 20:01 UTC
Re: [Xen-users] WIndows 2008, Quard Core Opteron, xen
Hi Andrey, Am Mittwoch, den 10.12.2008, 22:50 +0300 schrieb Andrey Chursin:> Thank you for answer, but when i entering > > cpus = 4 > > I see next error message on xm create win1: > > Using config file "/etc/xen/win1". > Error: (22, ''Invalid argument'')no idea, whats going wrong, but i use both under xen 3.2-1/xen3.3 vcpus = ''2'' or cpus = ''4'' Does this work? which xen-version do u use? Any helpful in Logs? Regards, Thomas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dustin Henning
2008-Dec-10 21:22 UTC
RE: [Xen-users] WIndows 2008, Quard Core Opteron, xen
Andrey, I believe ACPI is necessary to use multiple processors. However, something you read somewhere may have recommended disabling it. As I really don''t remember for sure, it may be APIC that is necessary. It appears that ACPI & APIC are both enabled in your config (unless I got my 1s and 0s backwards), however, under computer in device manager, you should definitely see multiprocessor if you want multiple cores/cpus to be used. If it doesn''t say multiprocessor, you probably need to do some searching and determine how to install a new HAL in Server 2003 in order to resolve the problem. Dustin -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Andrey Chursin Sent: Wednesday, December 10, 2008 14:27 To: xen-users@lists.xensource.com Subject: [Xen-users] WIndows 2008, Quard Core Opteron, xen Hello I have trouble with Quard Core Opteron and windows 2008(x86). By the way Windows device manager show 4 processors, BUT task manager show only one core. I found that my problem is not new. But solutions, provided by those people did not helped me. By the way, my windows is enterprise version, and as far as I know, it allows up to 8 processor sockets, so the trouble is not, that windows treats 4 cores as 4 different processors. My machine config file is next: [root@loft1569 ~]# cat /etc/xen/win1 name = "win1" uuid = "c95bf204-b312-5f1b-0784-da44c9cb63f3" maxmem = 3584 memory = 3584 vcpus = 4 timer = 1 #I tried ALL variants of CPUID provided here #cpuid [''1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxxxxxxxxxxxx x''] #cpuid [''1:ebx=xxxxxxxx00001010xxxxxxxxxxxxxxxx,edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxx x'', ''0x80000001:ecx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1x'', ''0x80000008:ecx=xxxxxxxxxxxxxxxxxxxxxxxxxx001001''] #cpuid = [''1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebxxxxxxxxx00010000xxxxxxxxxxxxxxxx'',''4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxxx ''] cpuid=[''1:edx=xxx0xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00000100xxxxxxxxx xxxxxxx'',''4,0:eax=000011xxxxxxxxxxxxxxxxxxxxxxxxxx''] #cpuid=[''1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00001000xxxxxxxx xxxxxxxx'',''4,0:eax=000111xxxxxxxxxxxxxxxxxxxxxxxxxx''] builder = "hvm" kernel = "/usr/lib/xen/boot/hvmloader" boot = "c" pae = 1 acpi = 1 apic = 1 localtime = 0 on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" device_model = "/usr/lib64/xen/bin/qemu-dm" sdl = 0 vnc = 1 vncunused = 1 disk = [ "file:/xen/win/disk.img,hda,w", ",hdc:cdrom,r" ] #vif = [ "mac=00:16:3e:5d:4c:5c,bridge=xenbr0" ] vif = [''type=ioemu, bridge=xenbr0, mac=00:40:D0:BF:FD:77''] #type=ioemu, ip=85.25.75.229 mac=00:40:D0:BF:FD:77 #serial = "pty" vncdisplay = "0" vnclisten = "0.0.0.0" Direct auto launch of machine, xm list shows this: [root@loft1569 ~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 390 4 r----- 59402.5 win1 18 3591 1 ------ 0.4 ////Why not 4 VCPUS? Can anybody tell me, WHY windows can not use all 4 cores of processor? -- Regards, Andrey _______________________________________________ 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
Andrey Chursin
2008-Dec-10 21:24 UTC
Re: [Xen-users] WIndows 2008, Quard Core Opteron, xen
If i set vcpus = 2, the windows device manager shows 2 cpus, instead of 4 before. But task manager still shows only one cpu cpus = ''4'' remaing error message. About logs qemu log file contains: domid: 24 qemu: the number of cpus is 4 Watching /local/domain/24/logdirty/next-active xs_read(): vncpasswd get error. /vm/c95bf204-b312-5f1b-0784-da44c9cb63f3/vncpasswd. qemu_map_cache_init nr_buckets = 10000 shared page at pfn dffff buffered io page at pfn dfffd xs_read(/vm/c95bf204-b312-5f1b-0784-da44c9cb63f3/rtc/timeoffset): read error I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 Triggered log-dirty buffer switch I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 xs_write(/vm/c95bf204-b312-5f1b-0784-da44c9cb63f3/rtc/timeoffset, rtc/timeoffset): write error shutdown requested in cpu_handle_ioreq Issued domain 24 poweroff And in xend log there is not anything interesting About xen version: [root@loft1569 xen]# xm info host : loft1569.serverloft.com release : 2.6.18-92.1.18.el5xen version : #1 SMP Wed Nov 12 09:48:10 EST 2008 machine : x86_64 nr_cpus : 4 nr_nodes : 1 sockets_per_node : 1 cores_per_socket : 4 threads_per_core : 1 cpu_mhz : 1695 hw_caps : 178bfbff:efd3fbff:00000000:00000110:00802009:00000000:000007ff total_memory : 4094 free_memory : 3625 node_to_cpu : node0:0-3 xen_major : 3 xen_minor : 1 xen_extra : .2-92.1.18.el5 xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : unavailable cc_compiler : gcc version 4.1.2 20071124 (Red Hat 4.1.2-42) cc_compile_by : mockbuild cc_compile_domain : centos.org cc_compile_date : Wed Nov 12 09:13:10 EST 2008 xend_config_format : 2 Is there anything can determine the problem? 2008/12/10 Thomas Halinka <lists@thohal.de>:> Hi Andrey, > > Am Mittwoch, den 10.12.2008, 22:50 +0300 schrieb Andrey Chursin: >> Thank you for answer, but when i entering >> >> cpus = 4 >> >> I see next error message on xm create win1: >> >> Using config file "/etc/xen/win1". >> Error: (22, ''Invalid argument'') > > no idea, whats going wrong, but i use both under xen 3.2-1/xen3.3 > > vcpus = ''2'' > or > cpus = ''4'' > > Does this work? which xen-version do u use? > > Any helpful in Logs? > > Regards, > > Thomas > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Regards, Andrey _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andrey Chursin
2008-Dec-10 22:39 UTC
Re: [Xen-users] WIndows 2008, Quard Core Opteron, xen
Hello Dustin you were absolutly right. I reinstalled windows and it now have all 4 cores. Previous installation was made with 1 vcpus, i changed it to 4 only after installation, and it seems cause windows to see only one core. Dustin, Thomas, thank you for help! 2008/12/11 Dustin Henning <Dustin.Henning@prd-inc.com>:> Andrey, > I believe ACPI is necessary to use multiple processors. However, > something you read somewhere may have recommended disabling it. As I really > don''t remember for sure, it may be APIC that is necessary. It appears that > ACPI & APIC are both enabled in your config (unless I got my 1s and 0s > backwards), however, under computer in device manager, you should definitely > see multiprocessor if you want multiple cores/cpus to be used. If it > doesn''t say multiprocessor, you probably need to do some searching and > determine how to install a new HAL in Server 2003 in order to resolve the > problem. > Dustin > > -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Andrey Chursin > Sent: Wednesday, December 10, 2008 14:27 > To: xen-users@lists.xensource.com > Subject: [Xen-users] WIndows 2008, Quard Core Opteron, xen > > Hello > > I have trouble with Quard Core Opteron and windows 2008(x86). > > By the way Windows device manager show 4 processors, BUT task manager > show only one core. > I found that my problem is not new. But solutions, provided by those > people did not helped me. > By the way, my windows is enterprise version, and as far as I know, it > allows up to 8 processor sockets, so the trouble is not, that windows > treats 4 cores as 4 different processors. > > My machine config file is next: > > [root@loft1569 ~]# cat /etc/xen/win1 > name = "win1" > uuid = "c95bf204-b312-5f1b-0784-da44c9cb63f3" > maxmem = 3584 > memory = 3584 > vcpus = 4 > timer = 1 > > #I tried ALL variants of CPUID provided here > > #cpuid > [''1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxxxxxxxxxxxx > x''] > #cpuid > [''1:ebx=xxxxxxxx00001010xxxxxxxxxxxxxxxx,edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxx > x'', > ''0x80000001:ecx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1x'', > ''0x80000008:ecx=xxxxxxxxxxxxxxxxxxxxxxxxxx001001''] > #cpuid = [''1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx> xxxxxxxx00010000xxxxxxxxxxxxxxxx'',''4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxxx > ''] > cpuid=[''1:edx=xxx0xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00000100xxxxxxxxx > xxxxxxx'',''4,0:eax=000011xxxxxxxxxxxxxxxxxxxxxxxxxx''] > #cpuid=[''1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00001000xxxxxxxx > xxxxxxxx'',''4,0:eax=000111xxxxxxxxxxxxxxxxxxxxxxxxxx''] > builder = "hvm" > kernel = "/usr/lib/xen/boot/hvmloader" > boot = "c" > pae = 1 > acpi = 1 > apic = 1 > localtime = 0 > on_poweroff = "destroy" > on_reboot = "restart" > on_crash = "restart" > device_model = "/usr/lib64/xen/bin/qemu-dm" > sdl = 0 > vnc = 1 > vncunused = 1 > disk = [ "file:/xen/win/disk.img,hda,w", ",hdc:cdrom,r" ] > #vif = [ "mac=00:16:3e:5d:4c:5c,bridge=xenbr0" ] > vif = [''type=ioemu, bridge=xenbr0, mac=00:40:D0:BF:FD:77''] > #type=ioemu, ip=85.25.75.229 mac=00:40:D0:BF:FD:77 > #serial = "pty" > vncdisplay = "0" > vnclisten = "0.0.0.0" > > Direct auto launch of machine, xm list shows this: > [root@loft1569 ~]# xm list > Name ID Mem(MiB) VCPUs State Time(s) > Domain-0 0 390 4 r----- 59402.5 > win1 18 3591 1 ------ > 0.4 ////Why not 4 VCPUS? > > > Can anybody tell me, WHY windows can not use all 4 cores of processor? > > -- > Regards, > Andrey > > _______________________________________________ > 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 >-- Regards, Andrey _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users