[PATCH 0 of 9] x86/smp function calls: convert x86 tlb flushes to use function calls [POST 2]

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeremy Fitzhardinge
Date: Monday, August 18, 2008 - 11:23 am

This series:
 - adds a simple debugfs profiling entry for cross-cpu tlb flushes
 - converts them to using smp_call_function_mask
 - unifies 32 and 64-bit tlb flushes
 - converts smp_call_function to using multiple queues (using the now
   freed vectors)
 - allows config-time adjustment of the number of queues
 - adds a kernel parameter to disable multi-queue in case it causes
   problems

The main concern is whether using smp_call_function adds an
unacceptible performance hit to cross-cpu tlb flushes.  My limited
measurements show a ~35% regression in latency for a particular flush;
it would be interesting to try this on a wider range of hardware.  I
gather the effect tlb flush performance is very application specific
as well, but I'm not sure what benchmarks show what effects.

Trading off agains the latency of a given flush, the smp_function_call
mechanism allows multiple requests to be queued, and so may improve
throughput on a system-wide basis.

So, I'd like people to try this out and see what performance effects it
has.

Thanks,
	J


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0 of 9] x86/smp function calls: convert x86 tlb flu ..., Jeremy Fitzhardinge, (Mon Aug 18, 11:23 am)
[PATCH 1 of 9] x86: put tlb_flush_others() stats in debugfs, Jeremy Fitzhardinge, (Mon Aug 18, 11:23 am)
[PATCH 2 of 9] x86-32: use smp_call_function_mask for SMP ..., Jeremy Fitzhardinge, (Mon Aug 18, 11:23 am)
[PATCH 3 of 9] x86-64: use smp_call_function_mask for SMP ..., Jeremy Fitzhardinge, (Mon Aug 18, 11:23 am)
[PATCH 4 of 9] x86: make tlb_32|64 closer, Jeremy Fitzhardinge, (Mon Aug 18, 11:23 am)
[PATCH 5 of 9] x86: unify tlb.c, Jeremy Fitzhardinge, (Mon Aug 18, 11:23 am)
[PATCH 6 of 9] smp_function_call: add multiple queues for ..., Jeremy Fitzhardinge, (Mon Aug 18, 11:23 am)
[PATCH 7 of 9] x86: add multiple smp_call_function queues, Jeremy Fitzhardinge, (Mon Aug 18, 11:23 am)
[PATCH 8 of 9] x86: make number of smp_call_function queue ..., Jeremy Fitzhardinge, (Mon Aug 18, 11:23 am)
[PATCH 9 of 9] smp function calls: add kernel parameter to ..., Jeremy Fitzhardinge, (Mon Aug 18, 11:23 am)
Re: [PATCH 0 of 9] x86/smp function calls: convert x86 tlb ..., Jeremy Fitzhardinge, (Mon Aug 18, 10:37 pm)
Re: [PATCH 0 of 9] x86/smp function calls: convert x86 tlb ..., Jeremy Fitzhardinge, (Mon Aug 18, 11:18 pm)
Re: [PATCH 0 of 9] x86/smp function calls: convert x86 tlb ..., Jeremy Fitzhardinge, (Tue Aug 19, 12:44 am)
Re: [PATCH 0 of 9] x86/smp function calls: convert x86 tlb ..., Jeremy Fitzhardinge, (Tue Aug 19, 1:04 am)
Re: [PATCH 0 of 9] x86/smp function calls: convert x86 tlb ..., Jeremy Fitzhardinge, (Tue Aug 19, 7:58 am)
Re: [PATCH 0 of 9] x86/smp function calls: convert x86 tlb ..., Jeremy Fitzhardinge, (Tue Aug 19, 7:58 am)