[PATCH v2 0/6] Implement split core for POWER8

Michael Neuling mikey at neuling.org
Fri May 23 20:11:58 EST 2014


> >> Also, is there any performance penalty associated with split core mode?
> >> If not, could we just always default to split-by-4 on POWER8 bare metal?
> > Yeah, there is a performance hit .  When you are split (ie
> > subcores_per_core = 2 or 4), the core is stuck in SMT8 mode.  So if you
> > only have 1 thread active (others napped), you won't get the benefit of
> > ST mode in the core (more register renames per HW thread, more FXUs,
> > more FPUs etc).
> 
> Ok, imagine I have 1 core with SMT8. I have one process running at 100% 
> occupying one thread, the other 7 threads are idle.
> 
> Do I get performance benefits from having the other threads idle? Or do 
> I have to configure the system into SMT1 mode to get my ST benefits?

You automatically get the performance benefit when they are idle.  When
threads enter nap, the core is able to reduce it's SMT mode
automatically. 

> If it's the latter, we could just have ppc64_cpu --smt=x also set the 
> subcore amount in parallel to the thread count.

FWIW on powernv we just nap the threads on hotplug.

> The reason I'm bringing this up is that I'm not quite sure who would be 
> the instance doing these performance tweaks. So I'd guess the majority 
> of users will simply miss out on them.

Everyone, it's automatic on idle... except for split core mode
unfortunately.

Mikey



More information about the Linuxppc-dev mailing list