On Mon, 21 Sep 2015 17:00:51 +0200 Paolo Bonzini email@example.com wrote:
On 21/09/2015 16:38, Marc Marí wrote:
True. Tried with 2M. The memory used went down from 8M to 24K more or less, and the time for the copying went down by 4ms (from 15ms to 11ms). The other option is 1GB. I'll test later if it's enabled in QEMU CPUs.
Only in some AMD CPUs (plus "-cpu host" if supported by your machine) because Intel only makes 1GB pages available on Xeons. But you can just check the guest CPUID inside SeaBIOS, and test on a suitable machine.
And I forgot to mention that CPUID checking for long mode support is also missing. So I'll need to check the CPUID anyway.