Long format VHPT and TLB sharing patches
As part of research we did at UNSW, we implemented the long format VHPT as well as some experimental features to improve TLB coverage (sharing of RIDs for text regions, and a global shared mmap region with protection keys for protection). We are now making these patches available.
The long format VHPT patch should be fairly stable. It could be used as a basis for future work on superpages etc.
The sharing patches are experimental, and were intended to evaluate the performance effects of such changes. They are not ready for "prime time".
All of the relevant information is at:
http://www.gelato.unsw.edu.au/sharedtlb/
Thanks in particular to Ian Wienand for his excellent help in testing, benchmarking, and preparing the above page.
Matt
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Matt Chapman
Matt> As part of research we did at UNSW, we implemented the long Matt> format VHPT as well as some experimental features to improve Matt> TLB coverage (sharing of RIDs for text regions, and a global Matt> shared mmap region with protection keys for protection). We Matt> are now making these patches available.
Matt> The long format VHPT patch should be fairly stable. It could Matt> be used as a basis for future work on superpages etc.
It's good to see this! I haven't had a chance to review it closely, but it's definitely an area that should be interesting to experiment with.
My preference would be to maintain this as a separate patch for now. Once 2.7 opens up, we can consider it for the main tree (at least if superpage work picks up and suggests that it's overall the better way to go or if there is some other killer application for long format).
--david