[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AMD64 1GB limit
Making, drinking tea and reading an opus magnum from Matt Hamilton:
[Charset ISO-8859-1 unsupported, filtering to ASCII...]
> Michael Shalayeff wrote:
>
> > assuming you mean data size limit it's hard-limited to 1g
>
> Yes that is what I meant. From reading your post and posts from others,
> it seems that a change to vmparam.h alone might not be a good thing.
>
> Any idea when this might change or become an more easily (or
> recommended) tunable? It's come of a bit of a shock moving from
> FreeBSD/i386 to OpenBSD/AMD64 and finding the memory available per
> process has gone down. :( I understand the 4GB limit and the fact that
> AMD64 boots in i386 mode when the memory is being probed etc. But what
> is limiting the process size to 1GB?
MAX constants will never become a tunable.
those are the absolute maximums supported for
the given architecture.
however w/ some effort they can be changed
in the mentioned headers assuming the rest
of the code can cope w/ it.
now
MAXDSIZ only limits your data+bss+heap
you can always mmap more files and anons...
cu
--
paranoic mickey (my employers have changed but, the name has remained)