From owner-freebsd-ia64 Thu Nov 8 9:40:31 2001 Delivered-To: freebsd-ia64@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [24.14.150.180]) by hub.freebsd.org (Postfix) with ESMTP id 0DE6A37B41D for ; Thu, 8 Nov 2001 09:40:28 -0800 (PST) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id fA8HeRM98762 for ; Thu, 8 Nov 2001 09:40:27 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id F0A953807; Thu, 8 Nov 2001 09:40:26 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Doug Rabson Cc: Marcel Moolenaar , ia64@FreeBSD.ORG Subject: Re: Region usage In-Reply-To: Date: Thu, 08 Nov 2001 09:40:26 -0800 From: Peter Wemm Message-Id: <20011108174026.F0A953807@overcee.netplex.com.au> Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Doug Rabson wrote: > On Wed, 7 Nov 2001, Marcel Moolenaar wrote: > > > On Wed, Nov 07, 2001 at 10:13:48AM +0000, Doug Rabson wrote: [..] > > > A truly 'large' application can always overflow into the other regions. > > > > The question is if this can be done automagically or if it requires > > compile-time options or even ELF object tuning (ie flags). > > This would happen automatically. If the elf sections were rooted in > specific regions, the loader would automatically put them there and the VM > system would allocate spaces as required. If a running app wants to use a > new region, its as simple as giving an explicit address to mmap(2). There appears to be some bugs here right now. I was able to mmap over 4500TB of data files into a single region, which is bigger than the number of bits implemented in a region. (2^51 on the itanium if I recall correctly) I dont think it should have returned addresses above 2048TB in the region. Secondly, pressing ^C takes quite some time.. I think its spending its time in pmap_invalidate_all().. This is with interrupts disabled. (where quite some time == ~10 minutes with a an 8TB file mmaped). Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message