Re: [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: Nick Piggin
Date: Tuesday, August 19, 2008 - 4:04 am

On Tuesday 19 August 2008 20:31, Andi Kleen wrote:

Yes, smallish mmaps. But larger ones weren't much better.



It wasn't actually the TLB flushing side of it that was causing
the slowdown IIRC. It's just all over the map.

Notifier hooks; accounting statistics; 4lpt; cond_resched and
low latency code causing functions to spill more to stack; cache
misses from data structures increasing or becoming unaligned...

Basically just lots of little straws that added up to kill the
camel. I didn't even get to the bottom of the whole thing. But
my point is that even 1% here and there eventually adds up to a
big headache for someone. For some features it is obviously
inevitable to slowdown, but in all other cases we should always
be aiming to make the kernel faster rather than slower.
--
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 ..., Nick Piggin, (Tue Aug 19, 4: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)