From owner-freebsd-current Sun Feb 27 17:52:44 2000 Delivered-To: freebsd-current@freebsd.org Received: from cs.rice.edu (cs.rice.edu [128.42.1.30]) by hub.freebsd.org (Postfix) with ESMTP id D3A7E37B7C8 for ; Sun, 27 Feb 2000 17:52:38 -0800 (PST) (envelope-from alc@cs.rice.edu) Received: (from alc@localhost) by cs.rice.edu (8.9.0/8.9.0) id TAA05494; Sun, 27 Feb 2000 19:52:35 -0600 (CST) Date: Sun, 27 Feb 2000 19:52:35 -0600 From: Alan Cox To: Arun Sharma Cc: current@freebsd.org Subject: Re: 64bit OS? Message-ID: <20000227195235.C4600@cs.rice.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5us Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Arun Sharma wrote: > I just did some investigation into seeing if this (balanced binary trees) > is a useful optimization. It doesn't look like one. > > I instrumented the kernel and collected some stats. On booting the kernel > into KDE and running xemacs and netscape, I got: The applications you mention may use a lot of memory, but not in particularly "interesting" ways. Instead, look for applications that perform any of mmap, mprotect, and certain forms of madvise in non-trivial amounts, e.g., cvsup. (The Modula-3 garbage collector performs a lot of mprotects to trap write accesses.) In these cases, the hint occasionally works, but frequently it doesn't. Alan P.S. My recollection is that Linux doesn't build the AVL tree until it has ~50 "vm_map_entries". To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message