From owner-cvs-all Sat Feb 23 21:23:59 2002 Delivered-To: cvs-all@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 7D03B37B404; Sat, 23 Feb 2002 21:23:53 -0800 (PST) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g1O5NNu79131; Sat, 23 Feb 2002 21:23:23 -0800 (PST) (envelope-from rizzo) Date: Sat, 23 Feb 2002 21:23:23 -0800 From: Luigi Rizzo To: "Justin T. Gibbs" Cc: "M. Warner Losh" , mi@aldan.algebra.com, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc rc.diskless1 rc.diskless2 Message-ID: <20020223212323.A79059@iguana.icir.org> References: <20020212.203809.85417796.imp@village.org> <200202240512.g1O5CrI74063@aslan.scsiguy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200202240512.g1O5CrI74063@aslan.scsiguy.com> User-Agent: Mutt/1.3.23i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Feb 23, 2002 at 10:12:53PM -0700, Justin T. Gibbs wrote: > >: As far as I remember, last time this was discussed, nobody was able to > >: offer any evidence of 4:1 actually causing problems -- there were only ... > >No. I have actual evidence. I can cause hangs very often and they go > >away when I change to 8:1 > > Then why don't we fix the issue instead of papering over this by > changing the default? If you don't have time to look at this it is a different story. The default in 4.5 is 16k/2k which causes a lot of waste in the small memory-based fs used to store a copy of /etc in diskless setups. I tried to revert the diskless config to what was before 4.5 and erroneously used 4k/1k instead of 8k/1k. The fact that there might be a problem with 4:1 ration likely depends on some of the code assuming a 8:1 ration somewhere and trying to access unmapped pages. Fixing this might require some major effort in looking up the relevant sources files to determine where this occurs. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message