From owner-freebsd-arm@FreeBSD.ORG Thu Oct 14 20:29:27 2010 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B74D61065670 for ; Thu, 14 Oct 2010 20:29:27 +0000 (UTC) (envelope-from marktinguely@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 707948FC1C for ; Thu, 14 Oct 2010 20:29:27 +0000 (UTC) Received: by yxe42 with SMTP id 42so27558yxe.13 for ; Thu, 14 Oct 2010 13:29:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=N7PPQGfy80CVSrg5V84McQOze2RZ94Ae89lKiaY86lU=; b=n3ahB3AbBnBfVZoDAJMqAXSRj0hF0GcVcXEQeh7fttY8XejkFfNtsz5823jrdlxc2j xWlfyd2B9V9yP64N/fYwW1Ntri3Z+Rdk/ZD5s8ISrxRHtjXtYQA+rv40KTK+HVdV8jxW LJAEkBu544o/mJmsTcGnGTR2tZdupHV8So0e0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=PUH72f6s1F2/zRKbUpqmJUBYQRg4OkXVVBmNffwHHttrf9mu8aNfiWVhgk+2QrxS+l GYAV3Ila+vAOfc6tNqVINBBRyVprysMK7wGNSU1eUc6yJaJc/LWZ5ozIp+KYe/yglUDE 8cmLcmspUhnrFsigZ+uK2D6e004MzlcPUWO2o= Received: by 10.100.207.7 with SMTP id e7mr36063ang.247.1287087748342; Thu, 14 Oct 2010 13:22:28 -0700 (PDT) Received: from [192.168.0.100] (71-38-48-15.frgo.qwest.net [71.38.48.15]) by mx.google.com with ESMTPS id z9sm14730663ank.27.2010.10.14.13.22.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 14 Oct 2010 13:22:27 -0700 (PDT) Message-ID: <4CB7667E.2090401@gmail.com> Date: Thu, 14 Oct 2010 15:22:22 -0500 From: Mark Tinguely User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-arm@FreeBSD.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Request for test: Concurrent l1 allocated X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2010 20:29:27 -0000 There are about 35 static l1 page tables allocated per 64MB of RAM. I was curious how many of the static allocated level 1 page tables are really being used in a real environment. I would appreciate it if the following patch was compiled into your next kernel: http://www.tinguelys.info/mark/freebsd/pmapInUse.diff The amount of RAM that you have and environment (embedded, mini-server, etc) would help. The results can be gathered with the command: $ sysctl vm.pmap.pmap_l1u vm.pmap.pmap_l1s vm.pmap.pmap_l1m vm.pmap.pmap_l1u is the total number of level 1 page tables allocated since rebooting. vm.pmap.pmap_l1s is the number of times the level 1 page tables that had to share with an existing l1 pagetable. vm.pmap.pmap_l1m is the max number of level 1 pagetables at any given time. --Mark Tinguely