From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 8 11:38:20 2013 Return-Path: Delivered-To: freebsd-hackers@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 3610FEA0; Tue, 8 Oct 2013 11:38:20 +0000 (UTC) (envelope-from davide.italiano@gmail.com) Received: from mail-vc0-x230.google.com (mail-vc0-x230.google.com [IPv6:2607:f8b0:400c:c03::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8A5A02B43; Tue, 8 Oct 2013 11:38:19 +0000 (UTC) Received: by mail-vc0-f176.google.com with SMTP id lf11so3444604vcb.21 for ; Tue, 08 Oct 2013 04:38:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=DtdxaSAVu0oktcCEgkGmYves7yulDyYjpWITeJaXbeU=; b=aUb8m80OAsbIfAHNx6JYjiGQXtJCkU8CFlUw8S0ryyUSdDrqaosHaH70oXm3er8dsA ab/TUk8B4IKMgdn3Sa2z35vBKF51YBEVCq0selTACiFNw1W1HwQb8pg7xY4FPJu10MEN Mi64i7HsxhJ1a20UDCA2HLnMzo0BXVimaXG7M/KrcHkWPFyJ27wcMZ8SPbOqv/yn3lfx NuCsED5JnweHDEJBRvj/TxdU9XvOQoxsyAVulDEkytqbBw1E51r5iZRUkxDV9mQsQn5g ziEPx7IGtVGlaa7JMt/0HQ6OeFBPBnklLafsZ2S4S4xh6ifSvxc3agoBTixQBDUCqftF 4DwQ== MIME-Version: 1.0 X-Received: by 10.221.64.17 with SMTP id xg17mr685978vcb.5.1381232298597; Tue, 08 Oct 2013 04:38:18 -0700 (PDT) Sender: davide.italiano@gmail.com Received: by 10.220.94.71 with HTTP; Tue, 8 Oct 2013 04:38:18 -0700 (PDT) In-Reply-To: References: <20130828181228.0d3618dd@ernst.home> <201309031507.33098.jhb@freebsd.org> <20131008063433.GA47506@x2.osted.lan> Date: Tue, 8 Oct 2013 13:38:18 +0200 X-Google-Sender-Auth: HazPPss71MrSAW3kYkcAXl1fkrA Message-ID: Subject: Re: Call fo comments - raising vfs.ufs.dirhash_reclaimage? From: Davide Italiano To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 Cc: Kirk McKusick , Alan Cox , Peter Holm , freebsd-fs@freebsd.org, Ivan Voras , freebsd-hackers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Oct 2013 11:38:20 -0000 On Tue, Oct 8, 2013 at 1:32 PM, Davide Italiano wrote: > On Tue, Oct 8, 2013 at 1:25 PM, Adrian Chadd wrote: >> Hi, >> > > Hi Adrian, > >> Please try it out on a -10 VM with something RAM limited - say, 128mb w/ >> GENERIC. See how it behaves. >> >> I've successfully done buildworlds on 10-i386 with 128mb RAM. Let's try not >> to break that before releng/10 is cut. >> >> thanks, >> >> > > This is not supposed to hit 10-STABLE, at least not before proper > review. This is the reason why it was proposed on mailing lists. Also, > if you read the patch you'll end up with realizing this should behave > better on low memory environment because it unconditionally cleans 10% > of the cache every time. Previous changes in this area just did the > opposite keeping a lot more of memory around. I hope this makes sense > to you. > > Thanks, > > -- > Davide > > "There are no solved problems; there are only problems that are more > or less solved" -- Henri Poincare Also, right now you can set up a value which indicates the percentage of memory you can reclaim. It's 10% by default, but we can discuss if this could be adjusted to a more reasonable default. Feel free to give your opinion. -- Davide "There are no solved problems; there are only problems that are more or less solved" -- Henri Poincare