Messages in this thread | | | Subject | Re: [PATCH 1/7] x86/mm/tlb: Always use lazy TLB mode | From | Rik van Riel <> | Date | Mon, 01 Oct 2018 12:07:12 -0400 |
| |
On Mon, 2018-10-01 at 17:58 +0200, Peter Zijlstra wrote: > On Tue, Sep 25, 2018 at 11:58:38PM -0400, Rik van Riel wrote: > > Now that CPUs in lazy TLB mode no longer receive TLB shootdown > > IPIs, except > > at page table freeing time, and idle CPUs will no longer get > > shootdown IPIs > > for things like mprotect and madvise, we can always use lazy TLB > > mode. > > But that's only so at the end of this patch series; either change the > Changelog or the location of this patch?
You are right, I should remove that from the changelog.
Want me to resend, or would you like to just replace it with something like this:
"On most workloads, the number of context switches far exceeds the number of TLB flushes sent. Optimizing the context switches, by always using lazy TLB mode, speeds up those workloads.
This patch results in about a 1% reduction in CPU use on a two socket Broadwell system running a memcache like workload."
-- All Rights Reversed. [unhandled content-type:application/pgp-signature] | |