[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] cpu pinning not working correctly in xen-4.2 unstable
On Fri, Jun 22, 2012 at 10:37 AM, Dieter Bloms <xensource.com@xxxxxxxx> wrote: > Hi, > > I'm running xen 4.2 unstable (last commit > e605d60923bf128dab6bd567d9fde54d001b0c24) > and try to do some cpu pining. Hey Deiter, did you mean to post this to xen-devel instead? > > 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. Glad to know it works well for you -- that's exactly the kind of workload it's aimed at. Unfortunately it's still experimental: pinning is not implemented yet in credit2. You should be able to implement something similar using cpupools. There's a blog post on that here: http://blog.xen.org/index.php/2012/04/23/xen-4-2-cpupools/ Another feature introduced in 4.2 is the ability to set credit1's credit timeslice. The default is still 30ms, which is *far* too long for real-time; you might try setting it to something between 1 and 5 and see if that works well enough for you. There's a blog post on that here: http://blog.xen.org/index.php/2012/04/10/xen-4-2-new-scheduler-parameters-2/ -George _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |