Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 2004 16:54:27 +1200
From:      Mark Kirkwood <markir@paradise.net.nz>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Increase max data segment size?
Message-ID:  <4080B883.6090605@paradise.net.nz>
In-Reply-To: <408077AD.4070203@paradise.net.nz>
References:  <40807520.6070405@paradise.net.nz> <408077AD.4070203@paradise.net.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
Bit sad replying to myself again....:-)

Anyway - no it does not... still 512M

A bit of grepping through the 4.9 source finds that the beast 
controlling all this is:

$ grep  MAXDSIZ /usr/src/sys/i386/include/vmparam.h
#ifndef MAXDSIZ
#define MAXDSIZ         (512UL*1024*1024)       /* max data size */

so is there any reason *not* to amend this and recompile?

e.g.

#define MAXDSIZ         (1024UL*1024*1024)       /* max data size now 1G */

any opinions out there?

regards

Mark

Mark Kirkwood replied to himself:

> I should have mentioned that I built the kernel when the machine had 
> either 512M or 1G of ram, and have subsequently added another 1G. 
> Would rebuilding the kernel result in this limit being recalculated?
>
>



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