From owner-freebsd-questions@FreeBSD.ORG Wed Dec 30 05:30:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E19B1065679 for ; Wed, 30 Dec 2009 05:30:00 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id 32DC18FC16 for ; Wed, 30 Dec 2009 05:29:59 +0000 (UTC) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.3/8.14.3) with ESMTP id nBU5TtIP022768 for ; Tue, 29 Dec 2009 23:29:55 -0600 (CST) Date: Tue, 29 Dec 2009 23:29:55 -0600 (CST) From: Scott Bennett Message-Id: <200912300529.nBU5TtoK022767@mp.cs.niu.edu> To: freebsd-questions@freebsd.org Subject: Re: questions about superpages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2009 05:30:00 -0000 A short while ago, I wrote: > I poked around in the stuff in /sys/i386/vm looking for the threshholds That should have said, "/sys/vm", not what I wrote. Sorry for any confusion. >of process memory size for promotion to 4 MB pages and for demotion back to >4 KB pages, but didn't see them. Can someone tell me what those threshholds >are? I'm assuming there must be a larger threshhold for promotion than for >demotion on the basis that hysteresis is necessary to keep the VM system >continual oscillation of processes with memory requirements close to the >promotion thresshold. If someone who knows can also point me toward the >place that these values appear in the source code, I'd appreciate that, too. > Thanks in advance! Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * **********************************************************************