From owner-freebsd-questions Thu Mar 13 7: 9:18 2003 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 DB19937B401 for ; Thu, 13 Mar 2003 07:09:16 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FD6943F85 for ; Thu, 13 Mar 2003 07:09:16 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.7/8.12.7) id h2DF9FPK086356; Thu, 13 Mar 2003 09:09:15 -0600 (CST) (envelope-from dan) Date: Thu, 13 Mar 2003 09:09:15 -0600 From: Dan Nelson To: Ted Wisniewski Cc: freebsd-questions@FreeBSD.ORG Subject: Re: MMAP 2GB Limit Message-ID: <20030313150914.GL2336@dan.emsphone.com> References: <200303131304.h2DD4bBY046723@ness.plymouth.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200303131304.h2DD4bBY046723@ness.plymouth.edu> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.3i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Mar 13), Ted Wisniewski said: > Currently mmap(2) is limited to 2GB as described in the man pages; > does anyone know if that limitation will be lifted in the near future > either in the 4.X branch or in the 5.X branch? We have a package > called "ldm" which uses mmap on large files and we are concerned > about this limit for the future. If someone knows and can get back > to me it would be a big help. You will probably want to use smaller windows (256MB say) and just map tha areas that you need. What happens when you want to process a 20gb file? The i386 only has 4gb of total addressable space, and on FreeBSD that's shared between userland and kernel. If you're on an alpha or sparc CPU, then the warning in the manpage probably doesn't even apply to you. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message