Received: from eggs.gnu.org ([2001:4830:134:3::10]:43582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1d1v-0006TZ-Lk for qemu-devel@nongnu.org; Fri, 10 Jan 2014 09:25:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1d1q-00060S-92 for qemu-devel@nongnu.org; Fri, 10 Jan 2014 09:25:47 -0500 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) From: Alexander Graf In-Reply-To: Date: Fri, 10 Jan 2014 15:25:37 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1389245648-10300-1-git-send-email-aik@ozlabs.ru> <87ppo0na45.fsf@pixel.localdomain> <52CF1ECC.3040208@ozlabs.ru> <52CF4F37.4050306@ozlabs.ru> <878uuof0pu.fsf@pixel.localdomain> <84B5F34E-6072-4E56-8493-AAC69B9F7DAE@suse.de> <52CFF8B8.7010605@ozlabs.ru> <03847015-B363-4234-BF34-BB034D0BBE08@suse.de> <52D00002.7020208@ozlabs.ru> Subject: Re: [Qemu-devel] [RFC PATCH v2] PPC: smp: autodetect numbers of threads per core List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mike Day Cc: Alexey Kardashevskiy , Paul Mackerras , "qemu-ppc@nongnu.org" , "qemu-devel@nongnu.org" On 10.01.2014, at 15:21, Mike Day wrote: > On Fri, Jan 10, 2014 at 9:13 AM, Alexey Kardashevskiy = wrote: >> On 01/11/2014 01:00 AM, Alexander Graf wrote: >=20 >>> Can't we determine the number of "default threads" at a common = place, >>> preferably derived from cpu type? >>=20 >> We can do anything. I asked how exactly as I really (really) do not >> understand the details. >>=20 >=20 > Are you suggesting we create a dictionary with all the cpu type > information stored in it > (stepping, cores, threads, memory channels, caches) that we need to > keep updated? We can always talk in extremes :). Today we have a dictionary of core = types in QEMU. If a certain core type comes with a specific number of = threads, that's a property of the core, no? Alex