Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1305085
| From | Andy Lutomirski <luto@amacapital.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC 00/13] x86/mm: PCID and INVPCID |
| Date | 2016-01-09 00:40 +0100 |
| Message-ID | <qOONs-5sr-9@gated-at.bofh.it> (permalink) |
| References | <qOOu6-5ka-5@gated-at.bofh.it> <qOONs-5sr-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Jan 8, 2016 at 3:31 PM, Linus Torvalds <torvalds@linux-foundation.org> wrote: > On Fri, Jan 8, 2016 at 3:15 PM, Andy Lutomirski <luto@kernel.org> wrote: >> >> Please play around and suggest (and run?) good benchmarks. It seems >> to save around 100ns on cross-process context switches for me. > > Interesting. There was reportedly (I never saw it) a test-patch to use > pcids inside of Intel a couple of years ago, and it never got outside > because it didn't make a difference. I have a copy of that patch, and my code works very differently. I only use 3 bits of PCID in this series. I could probably reduce that to 2 with little loss. 4 or more would be a waste. > > Either things have changed (newer hardware with more pcids perhaps?) > or you did a better job at it. On my Skylake laptop, all of the PCID bits appear to have at least some effect. Whether this means it gets hashed or whether this means that all of the bits are real, I don't know. I'll fiddle with it on an older machine. --Andy
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC 00/13] x86/mm: PCID and INVPCID Andy Lutomirski <luto@kernel.org> - 2016-01-09 00:20 +0100
Re: [RFC 00/13] x86/mm: PCID and INVPCID Linus Torvalds <torvalds@linux-foundation.org> - 2016-01-09 00:40 +0100
Re: [RFC 00/13] x86/mm: PCID and INVPCID Andy Lutomirski <luto@amacapital.net> - 2016-01-09 00:40 +0100
Re: [RFC 00/13] x86/mm: PCID and INVPCID Linus Torvalds <torvalds@linux-foundation.org> - 2016-01-09 00:50 +0100
csiph-web