lkml.org 
[lkml]   [2008]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0 of 8] x86/smp function calls: convert x86 tlb flushes to use function calls
On Tue, Aug 05, 2008 at 08:33:24PM -0700, Jeremy Fitzhardinge wrote:
> Andi Kleen wrote:
> >Jeremy Fitzhardinge <jeremy@goop.org> writes:
> >
> >
> >>1. use smp_call_function_mask to implement cross-cpu TLB flushes
> >>
> >
> >
> >Do you have any measurements comparing performance of the old and
> >the new call? TLB flush is quite time critical so we should be very
> >careful here.
>
> No. What benchmark would you suggest?

Micro benchmark. Just stick RDTSC around the calls and trigger
a few remote flushes by e.g. doing mmap/munmap on a multithreaded program
running on different CPUs.

-Andi


\
 
 \ /
  Last update: 2008-08-06 05:39    [W:0.058 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site