[PATCH v4 00/10] PCID and improved laziness

2017-06-29 Thread Andy Lutomirski
*** Ingo, even if this misses 4.13, please apply the first patch before *** the merge window. There are three performance benefits here: 1. TLB flushing is slow. (I.e. the flush itself takes a while.) This avoids many of them when switching tasks by using PCID. In a stupid little benchmar

Re: [PATCH v4 00/10] PCID and improved laziness

2017-09-12 Thread Sai Praneeth Prakhya
> From: Andy Lutomirski > Date: Thu, Jun 29, 2017 at 8:53 AM > Subject: [PATCH v4 00/10] PCID and improved laziness > To: x...@kernel.org > Cc: linux-kernel@vger.kernel.org, Borislav Petkov , > Linus Torvalds , Andrew Morton > , Mel Gorman , > "linux...@kvack.org&q

Re: [PATCH v4 00/10] PCID and improved laziness

2017-09-12 Thread Sai Praneeth Prakhya
> > > Hi Andy, > > I have booted Linus's tree (8fac2f96ab86b0e14ec4e42851e21e9b518bdc55) on > Skylake server and noticed that it reboots automatically. > > When I booted the same kernel with command line arg "nopcid" it works > fine. Please find below a snippet of dmesg. Please let me know if y

Re: [PATCH v4 00/10] PCID and improved laziness

2017-09-13 Thread Ingo Molnar
* Andy Lutomirski wrote: > I'm on my way to LPC, so I can't easily work on this right this instant. > > Can you try this branch, though? > > https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git/commit/?h=x86/fixes&id=cb88ae619b4c3d832d224f2c641849dc02aed864 Any objections against m

Re: [PATCH v4 00/10] PCID and improved laziness

2017-09-13 Thread Ingo Molnar
* Ingo Molnar wrote: > > * Andy Lutomirski wrote: > > > I'm on my way to LPC, so I can't easily work on this right this instant. > > > > Can you try this branch, though? > > > > https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git/commit/?h=x86/fixes&id=cb88ae619b4c3d832d224f2c64

Re: [PATCH v4 00/10] PCID and improved laziness

2017-07-05 Thread Ingo Molnar
* Andy Lutomirski wrote: > *** Ingo, even if this misses 4.13, please apply the first patch before > *** the merge window. > Andy Lutomirski (10): > x86/mm: Don't reenter flush_tlb_func_common() > x86/mm: Delete a big outdated comment about TLB flushing > x86/mm: Give each mm TLB flush ge

Re: [PATCH v4 00/10] PCID and improved laziness

2017-07-05 Thread Linus Torvalds
On Wed, Jul 5, 2017 at 1:56 AM, Ingo Molnar wrote: > > If it's all super stable I plan to tempt Linus with a late merge window pull > request for all these preparatory patches. (Unless he objects that is. Hint, > hint.) I don't think I'll object. At some point the best testing is "lots of users"

Re: [PATCH v4 00/10] PCID and improved laziness

2017-06-30 Thread Matt Fleming
On Thu, 29 Jun, at 08:53:12AM, Andy Lutomirski wrote: > *** Ingo, even if this misses 4.13, please apply the first patch before > *** the merge window. > > There are three performance benefits here: > > 1. TLB flushing is slow. (I.e. the flush itself takes a while.) >This avoids many of them

Re: [PATCH v4 00/10] PCID and improved laziness

2017-07-13 Thread Matt Fleming
On Tue, 11 Jul, at 08:00:47AM, Andy Lutomirski wrote: > > https://git.kernel.org/pub/scm/linux/kernel/git/luto/misc-tests.git/ > > I did: > > $ ./context_switch_latency_64 0 process same Ah, that's better. I see about a 3.3% speedup with your patches when running the context-switch benchmark.

Re: [PATCH v4 00/10] PCID and improved laziness

2017-07-17 Thread Mel Gorman
On Wed, Jul 05, 2017 at 10:56:57AM +0200, Ingo Molnar wrote: > > * Andy Lutomirski wrote: > > > *** Ingo, even if this misses 4.13, please apply the first patch before > > *** the merge window. > > > Andy Lutomirski (10): > > x86/mm: Don't reenter flush_tlb_func_common() > > x86/mm: Delete

Re: [PATCH v4 00/10] PCID and improved laziness

2017-07-17 Thread Ingo Molnar
* Mel Gorman wrote: > On Wed, Jul 05, 2017 at 10:56:57AM +0200, Ingo Molnar wrote: > > > > * Andy Lutomirski wrote: > > > > > *** Ingo, even if this misses 4.13, please apply the first patch before > > > *** the merge window. > > > > > Andy Lutomirski (10): > > > x86/mm: Don't reenter flus

Re: [PATCH v4 00/10] PCID and improved laziness

2017-07-17 Thread Mel Gorman
On Mon, Jul 17, 2017 at 05:06:25PM +0200, Ingo Molnar wrote: > > > I'll push it all out when it passes testing. > > > > > > If it's all super stable I plan to tempt Linus with a late merge window > > > pull > > > request for all these preparatory patches. (Unless he objects that is. > > > Hint,

Re: [PATCH v4 00/10] PCID and improved laziness

2017-07-11 Thread Matt Fleming
On Fri, 30 Jun, at 01:44:22PM, Matt Fleming wrote: > On Thu, 29 Jun, at 08:53:12AM, Andy Lutomirski wrote: > > *** Ingo, even if this misses 4.13, please apply the first patch before > > *** the merge window. > > > > There are three performance benefits here: > > > > 1. TLB flushing is slow. (I.

Re: [PATCH v4 00/10] PCID and improved laziness

2017-07-11 Thread Andy Lutomirski
On Tue, Jul 11, 2017 at 4:32 AM, Matt Fleming wrote: > On Fri, 30 Jun, at 01:44:22PM, Matt Fleming wrote: >> On Thu, 29 Jun, at 08:53:12AM, Andy Lutomirski wrote: >> > *** Ingo, even if this misses 4.13, please apply the first patch before >> > *** the merge window. >> > >> > There are three perfo