From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 18 21:11:59 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43B7B1065683; Mon, 18 Aug 2008 21:11:59 +0000 (UTC) (envelope-from nikhil.rao@intel.com) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx1.freebsd.org (Postfix) with ESMTP id EC1728FC0A; Mon, 18 Aug 2008 21:11:58 +0000 (UTC) (envelope-from nikhil.rao@intel.com) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 18 Aug 2008 13:41:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.32,230,1217833200"; d="scan'208";a="371651552" Received: from orsmsx335.amr.corp.intel.com (HELO orsmsx335.jf.intel.com) ([10.22.226.40]) by fmsmga002.fm.intel.com with ESMTP; 18 Aug 2008 13:40:40 -0700 Received: from orsmsx419.amr.corp.intel.com ([10.22.226.88]) by orsmsx335.jf.intel.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 18 Aug 2008 13:43:08 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 18 Aug 2008 13:42:10 -0700 Message-ID: <12A5C15467D5B94F8E0FF265D9498ADD0383F1CA@orsmsx419.amr.corp.intel.com> In-Reply-To: <20080818120021.751FB106568E@hub.freebsd.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Multiple page support Thread-Index: AckBKhQLd0o4eU90ToGWJVTn0UwbjwAMB09w References: <20080818120021.751FB106568E@hub.freebsd.org> From: "Rao, Nikhil" To: , X-OriginalArrivalTime: 18 Aug 2008 20:43:08.0185 (UTC) FILETIME=[057F1090:01C90173] Cc: Subject: Multiple page support X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 21:11:59 -0000 What is the current status of multiple page sizes for applications (4K and 2MB) in FreeBSD 8-CURRENT ? It is enabled by default for the amd64 arch and only available in the amd64 and i386 architectures. >From reading the source code, there is support for "reservations" as described in the original paper (http://www.cs.rice.edu/~jnavarro/papers/phdthesis.pdf)=20 Is the feature implementation complete apart from bug fixes etc ? Couple of features that I am referring to=20 1) I haven't seen any code for the "population map" radix tree that is supposed to help with reservation preemption (It enables you to lazily update the reservation pointer in struct vm_page, but this pointer itself doesn't exist anyways) 2) The original paper describes modification to the paging daemon to handle fragmentation, are these modifications implemented ? 3) Say the hardware were able to support an additional page size, How easy would it be to add an additional page size ?=20 Nikhil