On Fri, Jan 10, 2014 at 9:25 AM, Alexander Graf <ag...@suse.de> 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