[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] cpu pinning not working correctly in xen-4.2 unstable



Hi,

I'm running xen 4.2 unstable (last commit 
e605d60923bf128dab6bd567d9fde54d001b0c24)
and try to do some cpu pining.

But my domUs changed the cpus from time to time like:

--snip--
xen:~# xl vcpu-list
Name                                ID  VCPU   CPU State   Time(s) CPU Affinity
Domain-0                             0     0    0   -b-    2833.2  any cpu
Domain-0                             0     1    1   r--    1772.3  any cpu
gateway                              1     0    0   ---     421.6  0
appserver                            2     0    1   -b-      57.7  0
filer                                3     0    1   -b-    1819.5  0
backup                               5     0    1   -b-    2082.5  0
dvdconvert                           6     0    0   ---    3546.1  any cpu
dvdconvert                           6     1    0   ---    3320.6  any cpu
vdrserver                            7     0    0   -b-      14.7  1
--snip--

I've pinned vdrserver to cpu 1 and it runs an cpu 0 for example.

Is this a bug, or did I something wrong ?

Btw: I use the credit2 scheduler, because it is better for my dvb broadcasting 
stuff.

Here the output of xl dmesg:

--snip--
host                   : xen
release                : 3.3.8-grsec
version                : #1-Alpine SMP Tue Jun 5 12:56:58 UTC 2012
machine                : x86_64
nr_cpus                : 2
max_cpu_id             : 1
nr_nodes               : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 1781
hw_caps                : 
178bf3ff:2fd3fbff:00000000:00001710:00802201:00000000:000035ff:00000000
virt_caps              : hvm
total_memory           : 7789
free_memory            : 3089
sharing_freed_memory   : 0
sharing_used_memory    : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 2
xen_extra              : -unstable
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          : credit2
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
xen_commandline        : dom0_mem=1024M sched=credit2 loglvl=all 
guest_loglvl=all
cc_compiler            : gcc version 4.6.3 (Alpine 4.6.3-r0) 
cc_compile_by          : root
cc_compile_domain      : intern.loc
cc_compile_date        : Wed Jun 13 15:54:36 CEST 2012
xend_config_format     : 4
--snip--


-- 
best regards

  Dieter Bloms

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.