Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Dec 2002 10:44:45 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Nate Lawson <nate@root.org>
Cc:        Kirk McKusick <mckusick@beastie.mckusick.com>, Archie Cobbs <archie@dellroad.org>, freebsd-current@FreeBSD.ORG
Subject:   Re: backgroud fsck is still locking up system (fwd)
Message-ID:  <20021206104445.A1950@Odin.AC.HMC.Edu>
In-Reply-To: <Pine.BSF.4.21.0212061023510.15885-100000@root.org>; from nate@root.org on Fri, Dec 06, 2002 at 10:27:10AM -0800
References:  <200212060101.gB611u59092060@beastie.mckusick.com> <Pine.BSF.4.21.0212061023510.15885-100000@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--zYM0uCDKw75PZbzx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Dec 06, 2002 at 10:27:10AM -0800, Nate Lawson wrote:
> On Thu, 5 Dec 2002, Kirk McKusick wrote:
> > Does the background fsck process continue to run, or does the whole
> > system come to a halt? If the fsck process continues to run, what=20
> > happens when it eventually finishes? Is the system still dead, or=20
> > does it come back to life? If the system does not come back to life
> > can you get me the output of `ps axl'? If not, can you break into
> > the debugger and get a ps output? (You will need to have the DDB
> > option specified in your config file).
>=20
> Sorry for butting in.  I think Archie is referring to bg fsck gaining an
> unfair share of cpu due to it running due to IO completions.  Last I
> heard, we were waiting until after 5.0 to experiment with scheduler
> changes to make it more fair.  I have not seen any hard locks or other
> problems with bg fsck after your commit.

My experience is that, at least with my laptop (which has a very slow
disk), bg fsck works OK, but starting applictions for the first time
while fsck is running is _very_ painful.  Even getty seems to have a
hard time.  I've found that adding a two minute delay before the fsck is
sufficent to allow the system to finish starting up and for me to load X
and my main applictions which lets me work while bg fsck is running.  I
posted a patch to add an optional delay in the rc scripts a while ago,
but Kirk was going to re-enable the priority stuff soon so I didn't
persue it.  If there's intrest, I'll regenerate it and repost it.

-- Brooks

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

--zYM0uCDKw75PZbzx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE98PAbXY6L6fI4GtQRAgZEAJ0YYz1mIi0M3iputsnjsFdUx1P42ACggCwe
jJOqiTKG4PCA1+ix2J3HkQU=
=47JJ
-----END PGP SIGNATURE-----

--zYM0uCDKw75PZbzx--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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