Re: [Qemu-devel] TCG region page guards and transparent huge pages

2018-06-14 Thread Richard Henderson
On 06/13/2018 03:54 PM, Emilio G. Cota wrote: > So, what to do based on all this? > > I think the current implementation makes sense. That said, two > things we could consider doing are: Thanks for checking. > - Remove the guard pages. I'd rather keep them in though, since > their cost is

[Qemu-devel] TCG region page guards and transparent huge pages

2018-06-13 Thread Emilio G. Cota
After a discussion with Richard yesterday on IRC, I ran some numbers on the performance impact of the guard pages added at the end of TCG regions. These 4kB guard pages prevent the use of transparent huge pages for the last 2MB of a region. The benchmark I used is the bootup+shutdown of debian on