Subject: Re: momentary freezes in -current
To: NetBSD Users Discussion List <netbsd-users@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-users
Date: 07/26/2006 14:41:55
--pgp-sign-Multipart_Wed_Jul_26_14:41:52_2006-1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
At Wed, 26 Jul 2006 07:33:27 +1000,
Daniel Carosone wrote:
>=20
> This is the same issue Thor described just a few days ago in response
> to another question on, I think, tech-kern.
>=20
> Softdep is generating a huge flood of metadata writes, many more than
> the disk subsystem can process, and ~everything gets jammed waiting
> for those to clear. Processes blocking directly on the disk get
> starved, and other processes can get stuck on the vnode lock for the
> root of the filesystem.
>=20
> It's not hung, though it can seem that way especially if you're
> running X and the Xserver is one of the processes that gets stuck.
That reminds me.... assuming the Xserver process doesn't have any pages
out on disk, maybe there should be an option on disk-full workstations
to handle mouse interrupts at the same priority level as disk interrupts
(if they're not already) so that the user won't perceive such apparent
hangs quite so easily. I.e. at least they'll be able to move the mouse
cursor around, even if doing so continuously and quickly could slow down
the disk throughput, and even if clicking on things doesn't always have
any immediate effect, though perhaps if the window manager is ready to
run then at least it'll be able to show a menu, etc. too.
(of course this is where "having enough memory" comes into play so that
one's Xserver process and window manager, xclock, etc. don't have to
fight with the disk cache just to give a perception of decent
interactive response)
--=20
Greg A. Woods
H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com> Secrets of the Weird <woods@weird.com>
--pgp-sign-Multipart_Wed_Jul_26_14:41:52_2006-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: Dlnd5wb+RBXN5No4dNPnX9gMR0/VZJVs
iQA/AwUBRMe3cmJ7XxTCWceFEQJbUwCg+FvpqXKYy9GpyJDfRwfYcWXYigIAoLxD
NFy5lpq/kqFk19RDT3zmuehg
=Z3px
-----END PGP SIGNATURE-----
--pgp-sign-Multipart_Wed_Jul_26_14:41:52_2006-1--