linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] powerpc/booke64: wrap tlb lock and search in htw miss with FTR_SMT
       [not found] <1401461955-18007-1-git-send-email-Laurentiu.Tudor@freescale.com>
@ 2014-05-30 20:56 ` Scott Wood
  2014-05-30 22:39 ` Patch not showing up in patchwork (was Re: [PATCH] powerpc/booke64: wrap tlb lock and search in htw miss with FTR_SMT) Scott Wood
  1 sibling, 0 replies; 2+ messages in thread
From: Scott Wood @ 2014-05-30 20:56 UTC (permalink / raw)
  To: Laurentiu Tudor; +Cc: linuxppc-dev

On Fri, 2014-05-30 at 17:59 +0300, Laurentiu Tudor wrote:
> Virtualized environments expose a e6500 dual-threaded core
> as two single-threaded e6500 cores.

s/expose/may expose/

I'll fix when applying.

>  Take advantage of this and get rid of the tlb lock and the trap-causing tlbsx in
> the htw miss handler by guarding with CPU_FTR_SMT, as it's
> already being done in the bolted tlb1 miss handler.

It's also possible that some non-virtualized workloads may also benefit
from getting rid of the lock more than they benefit from enabling SMT
(or perform better without SMT for other reasons).

-Scott

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Patch not showing up in patchwork (was Re: [PATCH] powerpc/booke64: wrap tlb lock and search in htw miss with FTR_SMT)
       [not found] <1401461955-18007-1-git-send-email-Laurentiu.Tudor@freescale.com>
  2014-05-30 20:56 ` [PATCH] powerpc/booke64: wrap tlb lock and search in htw miss with FTR_SMT Scott Wood
@ 2014-05-30 22:39 ` Scott Wood
  1 sibling, 0 replies; 2+ messages in thread
From: Scott Wood @ 2014-05-30 22:39 UTC (permalink / raw)
  To: Laurentiu Tudor; +Cc: linuxppc-dev

On Fri, 2014-05-30 at 17:59 +0300, Laurentiu Tudor wrote:
> Virtualized environments expose a e6500 dual-threaded core
> as two single-threaded e6500 cores. Take advantage of this
> and get rid of the tlb lock and the trap-causing tlbsx in
> the htw miss handler by guarding with CPU_FTR_SMT, as it's
> already being done in the bolted tlb1 miss handler.
> 
> As seen in the results below, measurements done with lmbench
> random memory access latency test running under Freescale's
> Embedded Hypervisor, there is a ~34% improvement.
> 
> Memory latencies in nanoseconds - smaller is better
>     (WARNING - may not be correct, check graphs)
> ----------------------------------------------------
> Host       Mhz   L1 $   L2 $    Main mem    Rand mem
> ---------  ---   ----   ----    --------    --------
> smt       1665 1.8020   13.2    83.0         1149.7
> nosmt     1665 1.8020   13.2    83.0          758.1
> 
> Signed-off-by: Laurentiu Tudor <Laurentiu.Tudor@freescale.com>
> Cc: Scott Wood <scottwood@freescale.com>
> ---
>  arch/powerpc/mm/tlb_low_64e.S | 4 ++++
>  1 file changed, 4 insertions(+)

Any idea why this patch isn't showing up on the mailing list?  I see my
reply in the archives, but not the original patch.

-Scott

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-30 22:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1401461955-18007-1-git-send-email-Laurentiu.Tudor@freescale.com>
2014-05-30 20:56 ` [PATCH] powerpc/booke64: wrap tlb lock and search in htw miss with FTR_SMT Scott Wood
2014-05-30 22:39 ` Patch not showing up in patchwork (was Re: [PATCH] powerpc/booke64: wrap tlb lock and search in htw miss with FTR_SMT) Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).