0 Replies Latest reply: Aug 12, 2013 3:12 AM by 9eba8da0-fb68-489c-a1ad-52f76e4a0267 RSS

    OVM3.2.2 Unexpected CPU Pinning for Win2008EntR2

    9eba8da0-fb68-489c-a1ad-52f76e4a0267

      Hi all,

       

      I installed OVM 3.2.2 on HP Gen 8 server with 16 cores for testing. Then :

      1. Windows 2008 r2 Enterprise edition is installed.

      2. No CPU pinning was set

      3. When I tried to check the CPU allocation with the "xm vcpu-list" command, the information show that the Windows guest was pinned to core 16-31 while dom0 pinned to core 0-19

      4. The vm.cfg file was checked. No pinning setting found

      5. The information about the OVS and the guest is attached.

       

      The setup was originally for testing/learning CPU pinning of the Windows guest to 4 cpu cores (8 vCPU) and come across the above scenario.

      Is it normal that the Windows guest pinned to core 16-31 unexpectedly? and why?

      Can I rectify it by adding the clause "cpus=0-31" to the vm.cfg ?

      Any official recommandation for the dom0 CPU allocation? more appropriate the delicate certain number of core for the exclusive use of dom0?

       

      Thanks!

       

      [root@ACTOVM3 ~]# xm info

      host                   : ACTOVM3

      release                : 2.6.39-300.29.1.el5uek

      version                : #1 SMP Thu Feb 14 03:32:54 PST 2013

      machine                : x86_64

      nr_cpus                : 32

      nr_nodes               : 2

      cores_per_socket       : 8

      threads_per_core       : 2

      cpu_mhz                : 2893

      hw_caps                : bfebfbff:2c100800:00000000:00003f40:13bee3ff:00000000:00000001:00000000

      virt_caps              : hvm hvm_directio

      total_memory           : 131037

      free_memory            : 27138

      free_cpus              : 0

      xen_major              : 4

      xen_minor              : 1

      xen_extra              : .3OVM

      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_scheduler          : credit

      xen_pagesize           : 4096

      platform_params        : virt_start=0xffff800000000000

      xen_changeset          : unavailable

      xen_commandline        : dom0_mem=3112M dom0_vcpus_pin dom0_max_vcpus=20

      cc_compiler            : gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)

      cc_compile_by          : mockbuild

      cc_compile_domain      : us.oracle.com

      cc_compile_date        : Mon Feb  4 16:40:15 PST 2013

      xend_config_format     : 4

      [root@ACTOVM3 ~]# xm vcpu-list

       

      Name                                ID  VCPU   CPU State   Time(s) CPU Affinity

      0004fb0000060000ced304339d443bb2    17     0    21   -b-    2323.9 16-31

      0004fb0000060000ced304339d443bb2    17     1    31   -b-     566.7 16-31

      0004fb0000060000ced304339d443bb2    17     2    17   -b-     522.1 16-31

      0004fb0000060000ced304339d443bb2    17     3    23   -b-     398.1 16-31

      0004fb0000060000ced304339d443bb2    17     4    24   -b-     398.6 16-31

      0004fb0000060000ced304339d443bb2    17     5    30   -b-     397.7 16-31

      0004fb0000060000ced304339d443bb2    17     6    27   -b-     395.2 16-31

      0004fb0000060000ced304339d443bb2    17     7    22   -b-     391.9 16-31

      0004fb0000060000ced304339d443bb2    17     8    20   -b-     896.1 16-31

      0004fb0000060000ced304339d443bb2    17     9    25   -b-     886.5 16-31

      0004fb0000060000ced304339d443bb2    17    10    17   -b-     873.8 16-31

      0004fb0000060000ced304339d443bb2    17    11    26   -b-     858.1 16-31

      0004fb0000060000ced304339d443bb2    17    12    28   -b-     406.5 16-31

      0004fb0000060000ced304339d443bb2    17    13    19   -b-     381.6 16-31

      0004fb0000060000ced304339d443bb2    17    14    29   -b-     379.6 16-31

      0004fb0000060000ced304339d443bb2    17    15    31   -b-     387.6 16-31

      0004fb0000060000ced304339d443bb2    17    16    16   -b-     390.6 16-31

      0004fb0000060000ced304339d443bb2    17    17    23   -b-     404.8 16-31

      0004fb0000060000ced304339d443bb2    17    18    24   -b-     405.5 16-31

      0004fb0000060000ced304339d443bb2    17    19    25   -b-     409.9 16-31

      0004fb0000060000ced304339d443bb2    17    20    20   -b-     450.8 16-31

      0004fb0000060000ced304339d443bb2    17    21    30   -b-     399.3 16-31

      0004fb0000060000ced304339d443bb2    17    22    27   -b-     405.2 16-31

      0004fb0000060000ced304339d443bb2    17    23    22   -b-     404.0 16-31

      0004fb0000060000ced304339d443bb2    17    24    26   -b-     401.5 16-31

      0004fb0000060000ced304339d443bb2    17    25    24   -b-     400.0 16-31

      0004fb0000060000ced304339d443bb2    17    26    19   -b-     396.6 16-31

      0004fb0000060000ced304339d443bb2    17    27    23   -b-     392.8 16-31

      0004fb0000060000ced304339d443bb2    17    28    28   -b-     390.6 16-31

      0004fb0000060000ced304339d443bb2    17    29    29   -b-     385.1 16-31

      0004fb0000060000ced304339d443bb2    17    30    16   -b-     380.8 16-31

      0004fb0000060000ced304339d443bb2    17    31    31   -b-     379.1 16-31

      Domain-0                             0     0     0   r--   49039.0 0

      Domain-0                             0     1     1   -b-    5905.4 1

      Domain-0                             0     2     2   -b-    4027.7 2

      Domain-0                             0     3     3   -b-    3730.0 3

      Domain-0                             0     4     4   -b-    3774.0 4

      Domain-0                             0     5     5   -b-    3670.9 5

      Domain-0                             0     6     6   -b-    4164.2 6

      Domain-0                             0     7     7   -b-    7899.6 7

      Domain-0                             0     8     8   -b-    4327.0 8

      Domain-0                             0     9     9   -b-    4338.5 9

      Domain-0                             0    10    10   -b-    3675.4 10

      Domain-0                             0    11    11   -b-    3955.2 11

      Domain-0                             0    12    12   -b-    3602.0 12

      Domain-0                             0    13    13   -b-    3573.3 13

      Domain-0                             0    14    14   rb-    3527.1 14

      Domain-0                             0    15    15   -b-    3938.3 15

      Domain-0                             0    16    16   -b-    3420.6 16

      Domain-0                             0    17    17   -b-    3811.1 17

      Domain-0                             0    18    18   -b-    3778.1 18

      Domain-0                             0    19    19   -b-    3772.4 19

      [root@ACTOVM3 ~]# xm vcpu-list 17

       

      [root@ACTOVM3 0004fb0000060000ced304339d443bb2]# cat vm.cfg

      vif = ['mac=00:21:f6:00:00:01,bridge=0a02df00']

      OVM_simple_name = 'ovm3w2008orcl'

      vnclisten = '127.0.0.1'

      serial = 'pty'

      disk = ['file:/OVS/Repositories/0004fb0000030000a380c83c58856e64/ISOs/0004fb000015000074c2fd28f5be2cf6.iso,xvda:cdrom,r', 'file:/OVS/Repositories/0004fb0000030000a380c83c58856e64/VirtualDisks/0004fb0000120000bbc7ce0865ef19c1.img,xvdb,w!']

      vncunused = 1

      uuid = '0004fb00-0006-0000-ced3-04339d443bb2'

      on_reboot = 'restart'

      boot = 'dc'

      name = '0004fb0000060000ced304339d443bb2'

      cpu_weight = 27500

      memory = 98304

      cpu_cap = 0

      maxvcpus = 32

      OVM_high_availability = False

      vnc = 1

      OVM_description = 'Windows 2008 R2 on Oracle VM 3.2.2 with Oracle 11g'

      on_poweroff = 'destroy'

      on_crash = 'restart'

      guest_os_type = 'windows'

      usbdevice = 'tablet'

      builder = 'hvm'

      vcpus = 32

      keymap = 'en-us'

      OVM_os_type = 'Microsoft Windows Server 2008'

      OVM_cpu_compat_group = ''

      OVM_domain_type = 'xen_hvm'

       

      --- end