Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Mar 2007 21:02:47 +0200
From:      "Dima Sorkin" <dima.sorkin@gmail.com>
To:        "Chuck Swiger" <cswiger@mac.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: limitiation on memory allocation
Message-ID:  <e40293600703121202xf00a13fxa4ecbda7e8020797@mail.gmail.com>
In-Reply-To: <E47B8943-BB90-4E12-9CFD-278952B6B73F@mac.com>
References:  <e40293600703090632v3f25742g16e75708ded632ee@mail.gmail.com> <6.0.0.22.2.20070309094909.024c9dd0@mail.computinginnovations.com> <e40293600703090906n6f648580p5d46f45455ee707b@mail.gmail.com> <6.0.0.22.2.20070309133935.024b8fd0@mail.computinginnovations.com> <e40293600703121120w7a013919l36103a19a930440a@mail.gmail.com> <E47B8943-BB90-4E12-9CFD-278952B6B73F@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi.
 Something is probably wrong.
kern.dfldsiz on my machine does not influence.
I.e. after booting I run
$ limits
and it shows me the old 500M.

Now, a point about 'maxdsiz'= 3.0-3.5G instead of 4G - this one I must check.
I tried 3.9G   :)

Thanks,
Dima.

On 3/12/07, Chuck Swiger wrote:

> It is certainly possible to configure FreeBSD to allow a single
> process to access more memory than is phyiscally installed.  For
> example, I have a machine with 512MB of RAM, and set:
>
>    kern.dfldsiz="1G"
>
> ...in /boot/loader.conf, and this works just fine.  Admittedly, when
> a process does exceed 512MB in dsize, the system starts swapping
> quite a bit, but that's how virtual memory works.
>
> However, you cannot set maxdsiz greater than 4GB [1] if you are
> running a 32-bit version of FreeBSD.  Enabling PAE will let the
> kernel access more than 4GB of physical RAM, but nothing is going to
> let a 32-bit system give more than 4 GB [1] to a single process...if
> you want to do that, then you'll need to switch to running a 64-bit
> version of FreeBSD.
>
> --
> -Chuck
>
> [1]: Well, 3.5GB or 3GB, actually...due to the top portion of address
> space being occupied by PCI device space and the kernel.
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e40293600703121202xf00a13fxa4ecbda7e8020797>