From owner-freebsd-arm@FreeBSD.ORG Thu Aug 22 07:19:07 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 43B4A95B for ; Thu, 22 Aug 2013 07:19:07 +0000 (UTC) (envelope-from iz-rpi03@hs-karlsruhe.de) Received: from smtp.hs-karlsruhe.de (smtp.HS-Karlsruhe.DE [193.196.64.25]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 058C9245E for ; Thu, 22 Aug 2013 07:19:07 +0000 (UTC) Received: from iz-wera01.hs-karlsruhe.de ([193.196.65.46]) by smtp.hs-karlsruhe.de with esmtp (Exim 4.80.1) (envelope-from ) id 1VCPAf-008tzu-F9; Thu, 22 Aug 2013 09:19:05 +0200 X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.5 From: Ralf Wenk To: Zbyszek Bodek Subject: Re: Introduction to the superpages support for ARMv6/v7 In-reply-to: <5214EAE6.6040300@semihalf.com> References: <5214EAE6.6040300@semihalf.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 22 Aug 2013 09:18:56 +0200 Message-Id: Cc: freebsd-arm@FreeBSD.org, Alan Cox X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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, 22 Aug 2013 07:19:07 -0000 Hi, on my 512 MB raspberry pi I had to reduce params.HPLMaxProcMem to 400 MB to avoid killing of the GUPS benchmark. After this small change everything looks fine. FreeBSD raspberry-pi 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r254596M $ ./gups Main table size = 2^25 = 33554432 words Number of updates = 134217728 CPU time used = 40.437500 seconds Real time used = 41.355471 seconds 0.003245465 Billion(10^9) Updates per second [GUP/s] Found 0 errors in 33554432 locations (passed). $ sysctl vm.pmap vm.pmap.sp_enabled: 1 vm.pmap.pv_entry_count: 5396 vm.pmap.pv_entry_max: 946260 vm.pmap.shpgperproc: 200 vm.pmap.section.demotions: 1109 vm.pmap.section.mappings: 0 vm.pmap.section.p_failures: 67 vm.pmap.section.promotions: 1342 $ 2nd run $ ./gups Main table size = 2^25 = 33554432 words Number of updates = 134217728 CPU time used = 40.421875 seconds Real time used = 41.314968 seconds 0.003248647 Billion(10^9) Updates per second [GUP/s] Found 0 errors in 33554432 locations (passed). $ sysctl vm.pmap vm.pmap.sp_enabled: 1 vm.pmap.pv_entry_count: 4274 vm.pmap.pv_entry_max: 946260 vm.pmap.shpgperproc: 200 vm.pmap.section.demotions: 1137 vm.pmap.section.mappings: 0 vm.pmap.section.p_failures: 119 vm.pmap.section.promotions: 1599 $ Tank you for your nice work Ralf