Re: PATCH: rewritten bdflush -> hang

Kurt Garloff (garloff@suse.de)
Fri, 14 May 1999 06:54:46 +0200


--SUOF0GtieIMvvwua
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

On Wed, May 12, 1999 at 06:53:46PM -0400, Zack Weinberg wrote:
> Yes - and 5000 is as high as that parameter will go, so it won't keep
> up with a heavier load. I'm a little worried about your vmstat
> numbers still, the repeated 2500 figure indicates that the per-cycle
> write limit is getting halved somewhere. =20
>=20
> There was an age limit (35 secs, tunable) in the previous (2.2.7)
> version of this code. I removed it accidentally. Your self-tuning
> ideas are interesting, but for now let's just put back the age limit.
>=20
> The appended patch *should* correct the problem. I have not even
> compiled it; if I get a chance, I'll try later tonight. Linus, since
> you put my patch into 2.2.8, this needs to be considered for 2.2.9 and
> 2.3.1. And could you please look at what I've done and make sure I
> haven't missed something else? I don't know the buffer cache all that
> well, and I was not expecting the patch to get incorporated without a
> few rounds of testing first.
>=20
> zw
>=20
> --- buffer.c.228 Wed May 12 18:23:34 1999
> +++ buffer.c Wed May 12 18:39:03 1999
> [SNIP]

Are you sure?

I got my SMP box hanging in processes writing to disk (one of which was rm),
spending 200% CPU in system. Some processes were in D state.

Removing this patch cured the problem.=20
As opposed to what Christian Balzer reports, I can't get my system hanging
just doing some bonnies, now.

I'll reapply the patch and reproduce the problem, if you want to debug it .=
..

Regards,
--=20
Kurt Garloff <garloff@suse.de> SuSE GmbH, N=FCrnberg, FRG
Linux kernel development; SCSI driver: DC390 (tmscsim/AM53C974)

--SUOF0GtieIMvvwua
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3in

iQCVAwUBNzuslRaQN/7O/JIVAQGhyQQAltBuHWS4jQ7A0kw/dy/8igSKq87I6ghv
xoIQeVpNg6VoQlS74IGTkL4/yIdgg3+dBbMad3NIDEtdy6IpP6zxD4tGO63T9XFd
NkHB9PCPE+JU6f7LLddJSfUvwIB80+/xPuZ1UZel9U5eZ+ep10cF3SE5IrrXKUR1
JMKbt0U/IXE=
=SZz3
-----END PGP SIGNATURE-----

--SUOF0GtieIMvvwua--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/