Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2002 21:23:23 -0800
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        "Justin T. Gibbs" <gibbs@scsiguy.com>
Cc:        "M. Warner Losh" <imp@village.org>, 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>
In-Reply-To: <200202240512.g1O5CrI74063@aslan.scsiguy.com>
References:  <20020212.203809.85417796.imp@village.org> <200202240512.g1O5CrI74063@aslan.scsiguy.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020223212323.A79059>