[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [edk2] The size of memory is wrong inside of virtual machine(VM) when using OVMF



On Mon, Jun 08, 2015 at 10:57:30PM +0200, Laszlo Ersek wrote:
[...]
> 
> The issue is real. I've been working on some patches today for this.
> I'll soon send an RFC series.
> 
> It's actually easy to *test* this scenario: just create a 128GB or so
> file, with "fallocate", on a sufficiently big filesystem. Then format it
> with mkswap and add it with swapon. I have strict memory overcommit
> settings on my laptop (/proc/sys/vm/overcommit_memory = 2), but with
> such a swap file, a >= 64GB guest can easily be started.
> 
> (I used my old spindle disk for the swap file. Since the guest is doing
> practically nothing, it doesn't cause the disk to thrash.)
> 

That is really neat trick. :-)

Only that Xen requires real ram to start a guest so I can't use it. :-/


Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.