Re: performance tuning, problem with paravirtualized clock

Nikola Ciprich
2008-04-06T22:24:16Z

Anthony Liguori wrote:
> You won't see a gain with tmpfs. Make sure you reserve huge pages
> first. For a 1GB guest, you'll need something like:
>
> echo 540 > /proc/sys/vm/nr_hugepages
>
> When you create a VM, you need a bit more memory than 1GB for
> per-guest overhead. That's why I reserve 540 instead of 512. You can
> probably get away with 530 really.
>
> Check that it succeeded by cat'ing /proc/meminfo.
>
Well, I tried various values now, and booting fails immediately:
Decompressing Linux...

invalid compressed format (err=1)

-- System halted

weird...
anyways I'll also give fresh kvm-65 a try now :)