qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC PATCH v2] PPC: smp: autodetect numbers of threads


From: Mike Day
Subject: Re: [Qemu-devel] [RFC PATCH v2] PPC: smp: autodetect numbers of threads per core
Date: Fri, 10 Jan 2014 09:29:18 -0500

On Fri, Jan 10, 2014 at 9:25 AM, Alexander Graf <address@hidden> wrote:
>>> On 01/11/2014 01:00 AM, Alexander Graf wrote:
>>
>>>> Can't we determine the number of "default threads" at a common place,
>>>> preferably derived from cpu type?
>>>
>>> We can do anything. I asked how exactly as I really (really) do not
>>> understand the details.
>>>
>>
>> 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?

Yes, very true. I'm just considering the eventual situation where each
cpu type has several or more child classes to represent different
configurations (threads, cores). That would be a lot more complicated
than now.

Mike



reply via email to

[Prev in Thread] Current Thread [Next in Thread]