From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 1 19:12:17 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8DF08A5A for ; Wed, 1 Apr 2015 19:12:17 +0000 (UTC) Received: from mx142.netapp.com (mx142.netapp.com [216.240.21.19]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mx142.netapp.com", Issuer "VeriSign Class 3 International Server CA - G3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 42D61C41 for ; Wed, 1 Apr 2015 19:12:16 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.11,505,1422950400"; d="scan'208";a="32403693" Received: from hioexcmbx04-prd.hq.netapp.com ([10.122.105.37]) by mx142-out.netapp.com with ESMTP; 01 Apr 2015 12:07:16 -0700 Received: from HIOEXCMBX03-PRD.hq.netapp.com (10.122.105.36) by hioexcmbx04-prd.hq.netapp.com (10.122.105.37) with Microsoft SMTP Server (TLS) id 15.0.995.29; Wed, 1 Apr 2015 12:07:15 -0700 Received: from HIOEXCMBX03-PRD.hq.netapp.com ([::1]) by hioexcmbx03-prd.hq.netapp.com ([fe80::4c9:7f9e:4b9f:2c9c%21]) with mapi id 15.00.0995.031; Wed, 1 Apr 2015 12:07:15 -0700 From: "Gumpula, Suresh" To: "Meyer, Conrad" , "Gumpula, Suresh" Subject: Re: BSD 8.1 and 9.1 memory increase Thread-Topic: BSD 8.1 and 9.1 memory increase Thread-Index: AQHQYN1kO9bXTk+QcE+8E2hd8pdV+Z0hK5sAgBZxt4CAAGlnAIAAnTGA///3mQCAACxGAIAARdkA///BDIA= Date: Wed, 1 Apr 2015 19:07:14 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.7.141117 x-originating-ip: [10.122.56.79] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "freebsd-hackers@freebsd.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2015 19:12:17 -0000 Ok thanks!. I just booted up a machine with and without the change. And after an hour or so, looked at top output. Thanks Suresh On 4/1/15, 2:52 PM, "Meyer, Conrad" wrote: >From: Gumpula, Suresh [Suresh.Gumpula@netapp.com] >Sent: Wednesday, April 01, 2015 11:42 AM >To: Gumpula, Suresh; Meyer, Conrad; Garrett Cooper >Cc: freebsd-hackers@freebsd.org; alc@freebsd.org >Subject: Re: BSD 8.1 and 9.1 memory increase > >I just tried the change you mentioned on unmapping unused entries , and >appears this saves good amount of real memory. On my idle machine it >shows ~20M + real memory savings. Specifically the inactive/wired pages >dropped down. >https://reviews.freebsd.org/D1263 > >And also drastic VSS size down for most of the processes. Is this >incomplete or Can I take this change ? > >Thanks >Suresh > >________________________________________ > >Hi, > >The criticisms in the comments on that review are still perfectly valid. >I would not use the patch as-is. > >It is surprising that you see rsz reductions with it. I think it's >probably an apples-to-oranges comparison and the application(s) have not >been warmed up yet. > >Best, >Conrad