From: Daniel Kiper on
On Fri, Jul 09, 2010 at 02:34:09AM +0200, Andi Kleen wrote:
> > > The only advantage of using memory hotadd is that the mem_map doesn't
> > > need to be pre-allocated, but that's only a few percent of the memory.
> > >
> > > So it would only help if you want to add gigantic amounts of memory
> > > to a VM (like >20-30x of what it already has).
> >
> > That's not wildly unreasonable on the face of it; consider a domain
> > which starts at 1GB but could go up to 32GB as demand requires. But
>
> The programs which need 32GB will probably not even start in 1GB :)

I am able to run program which allocates 32GB on machine 1GB... :-)))
Do not underestimate memory overcommit...

Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/