From owner-freebsd-questions@FreeBSD.ORG Fri Apr 16 21:52:45 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D758816A4CF for ; Fri, 16 Apr 2004 21:52:45 -0700 (PDT) Received: from linda-1.paradise.net.nz (bm-1a.paradise.net.nz [202.0.58.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48F0A43D48 for ; Fri, 16 Apr 2004 21:52:45 -0700 (PDT) (envelope-from markir@paradise.net.nz) Received: from smtp-2.paradise.net.nz (smtp-2b.paradise.net.nz [202.0.32.211]) by linda-1.paradise.net.nz (Paradise.net.nz) with ESMTP id <0HWA00GHVTJWO2@linda-1.paradise.net.nz> for freebsd-questions@freebsd.org; Sat, 17 Apr 2004 16:52:44 +1200 (NZST) Received: from paradise.net.nz (203-96-145-185.adsl.paradise.net.nz [203.96.145.185]) by smtp-2.paradise.net.nz (Postfix) with ESMTP id 05A659E20A for ; Sat, 17 Apr 2004 16:52:44 +1200 (NZST) Date: Sat, 17 Apr 2004 16:54:27 +1200 From: Mark Kirkwood In-reply-to: <408077AD.4070203@paradise.net.nz> Cc: freebsd-questions@freebsd.org Message-id: <4080B883.6090605@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040404 References: <40807520.6070405@paradise.net.nz> <408077AD.4070203@paradise.net.nz> Subject: Re: Increase max data segment size? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2004 04:52:46 -0000 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? > >