Re: [PATCH v3] TLB flush optimization

From: HATAYAMA Daisuke
Date: Thu May 10 2012 - 03:51:12 EST


From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
Subject: Re: [PATCH v3] TLB flush optimization
Date: Wed, 9 May 2012 16:45:12 -0700

>> Have you tried what happens if you get rid of the funny multi-vector-ipi
>> scheme and use the generic smp_call functions?
>
> Yes we did. It's much faster on larger systems.
>
> But haven't sent the patch yet because wasn't sure if it wasn't slower
> on small systems.
>
> -Andi

I'm not sure the reason of performance gain. I'm guessing that the
performance gain depends on waiting time of specific multi-vector-ipi
vs wasting time of generic code consumed for the processing actually
unnecessary for TLB flushing, and on small systems the specific one is
shorter than the generic one, and on large systems the converse
holds. Is this correct?

Thanks.
HATAYAMA, Daisuke

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/