From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Dunlap Subject: Re: [PATCH 0/2] Credit2: fix per-socket runqueue setup Date: Mon, 1 Sep 2014 14:59:23 +0100 Message-ID: <54047BBB.3050507@eu.citrix.com> References: <20140822165628.32764.15082.stgit@Solace.lan> <53FB1088020000780002D105@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XOS8y-0005jQ-J2 for xen-devel@lists.xenproject.org; Mon, 01 Sep 2014 13:59:40 +0000 In-Reply-To: <53FB1088020000780002D105@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich , Dario Faggioli Cc: Andrew Cooper , keir@xen.org, xen-devel List-Id: xen-devel@lists.xenproject.org On 08/25/2014 09:31 AM, Jan Beulich wrote: >>>> On 22.08.14 at 19:15, wrote: >> root@tg03:~# xl dmesg |grep -i runqueue >> (XEN) Adding cpu 0 to runqueue 1 >> (XEN) First cpu on runqueue, activating >> (XEN) Adding cpu 1 to runqueue 1 >> (XEN) Adding cpu 2 to runqueue 1 >> (XEN) Adding cpu 3 to runqueue 1 >> (XEN) Adding cpu 4 to runqueue 1 >> (XEN) Adding cpu 5 to runqueue 1 >> (XEN) Adding cpu 6 to runqueue 1 >> (XEN) Adding cpu 7 to runqueue 1 >> (XEN) Adding cpu 8 to runqueue 1 >> (XEN) Adding cpu 9 to runqueue 1 >> (XEN) Adding cpu 10 to runqueue 1 >> (XEN) Adding cpu 11 to runqueue 1 >> (XEN) Adding cpu 12 to runqueue 0 >> (XEN) First cpu on runqueue, activating >> (XEN) Adding cpu 13 to runqueue 0 >> (XEN) Adding cpu 14 to runqueue 0 >> (XEN) Adding cpu 15 to runqueue 0 >> (XEN) Adding cpu 16 to runqueue 0 >> (XEN) Adding cpu 17 to runqueue 0 >> (XEN) Adding cpu 18 to runqueue 0 >> (XEN) Adding cpu 19 to runqueue 0 >> (XEN) Adding cpu 20 to runqueue 0 >> (XEN) Adding cpu 21 to runqueue 0 >> (XEN) Adding cpu 22 to runqueue 0 >> (XEN) Adding cpu 23 to runqueue 0 >> >> Which makes a lot more sense. :-) > But it looks suspicious that the low numbered CPUs get assigned to > runqueue 1. Is there an explanation for this, or are surprises to be > expected on larger than dual-socket systems? Well the explanation is most likely from the cpu_topology info from the cover letter (0/2): On his machine, cpus 0-11 are on socket 1, and cpus 12-23 are on socket 0. Why that's the topology reported (I presume in ACPI?) I'm not sure. -George