On Mon, 6 Mar 2000, Kenn Humborg wrote:
> I don't know about the other Unices, but Linux overcommits memory.
as does solaris in lazy VM mode.
> It can, by being more stingy with memory.
indeed. that's one way of dealling with it. And i'd love to have this as
an option on linux. I'd love to have the linux equivalent of solaris
hard mode VM.
> For example, VMS won't
> let the total allocated memory exceed RAM+swap. In practice, this
> means that you end up needing more swap space for a given workload,
> even though the additional space (over what Linux would need) is
> never actually used.
>> Given the price of disk these days, this doesn't seem at all
> unreasonable to me. And, in fact, I think there is a sysctl
> that can disable memory overcommit. Hmm,
> /proc/sys/vm/overcommit_memory...
>
actually, iirc, /proc/.../overcommit_memory actually disables overcommit
checking altogether. ie it disables the already meagre malloc() resource
checking in linux altogether.
not what you'd expect, but anyway...
> Later,
> Kenn
>>>>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!