Date: Tue, 8 Oct 2013 13:38:18 +0200 From: Davide Italiano <davide@freebsd.org> To: Adrian Chadd <adrian@freebsd.org> Cc: Kirk McKusick <mckusick@freebsd.org>, Alan Cox <alc@freebsd.org>, Peter Holm <peter@holm.cc>, freebsd-fs@freebsd.org, Ivan Voras <ivoras@freebsd.org>, freebsd-hackers <freebsd-hackers@freebsd.org> Subject: Re: Call fo comments - raising vfs.ufs.dirhash_reclaimage? Message-ID: <CACYV=-F-Gkmxm0Nc7Mcf-PN76viCRwBNNG-R3DpV=FMG1m7CjQ@mail.gmail.com> In-Reply-To: <CACYV=-HYCNeuP70JdFBrG9vXXj-E6E%2BOHcJ7Ov-Dzazx_59cag@mail.gmail.com> References: <kvkvi7$iv7$1@ger.gmane.org> <20130828181228.0d3618dd@ernst.home> <CAF-QHFU80YC3W-k%2BTKM=y3JiVYi=1fp5CJjbCCk1y0VKXzcRQg@mail.gmail.com> <201309031507.33098.jhb@freebsd.org> <CACYV=-GZPbC03stS6PsihfJ688kbjna2-n0%2BPdctr3L9hvSvag@mail.gmail.com> <20131008063433.GA47506@x2.osted.lan> <CAJ-VmonngDnZuphdsSP%2B4qGaz4u%2B%2B-bxzqrP5pqi80OOj64GSQ@mail.gmail.com> <CACYV=-HYCNeuP70JdFBrG9vXXj-E6E%2BOHcJ7Ov-Dzazx_59cag@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 8, 2013 at 1:32 PM, Davide Italiano <davide@freebsd.org> wrote: > On Tue, Oct 8, 2013 at 1:25 PM, Adrian Chadd <adrian@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACYV=-F-Gkmxm0Nc7Mcf-PN76viCRwBNNG-R3DpV=FMG1m7CjQ>