Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 2010 07:06:12 +1100
From:      Peter Jeremy <peterjeremy@acm.org>
To:        "Eugene M. Zheganin" <emz@norma.perm.ru>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: 8.1 livelock/hangup: possible actions
Message-ID:  <20101213200611.GA61140@server.vk2pj.dyndns.org>
In-Reply-To: <4D037934.6080401@norma.perm.ru>
References:  <4D037934.6080401@norma.perm.ru>

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

--0OAP2g/MAC+5xKAE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2010-Dec-11 18:14:28 +0500, "Eugene M. Zheganin" <emz@norma.perm.ru> wro=
te:
>I'm having problems with 8.1-REL/zfs/amd64. It's a IMB x3250 m2 system,=20
>1Gb RAM, dualcore intel e3110, two bge(4) and LSI1064e disk controller.

1GB RAM is really light on for ZFS and there are some known ARC issues
in 8.1 that can lead to free memory starvation.  The most obvious
indicator of this issue is that "free" memory reported by "top" OR
"systat -v" drops _very_ low although there is plenty of "cache" and
"inactive" memory.

If you can't update to 8-stable, try changing arc_memory_throttle()
in /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
to have
        uint64_t available_memory =3D ptoa((uintmax_t)cnt.v_free_count
            + cnt.v_cache_count);
instead of
        uint64_t available_memory =3D ptoa((uintmax_t)cnt.v_free_count);
at the top of the function.  This fixes the worst bug but there are
lots of other fixes if you upgrade.

--=20
Peter Jeremy

--0OAP2g/MAC+5xKAE
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (FreeBSD)

iEYEARECAAYFAk0GfLMACgkQ/opHv/APuIcmqQCfcDHujyc+QQ7WhJXyXMexh/xO
Yl8AoJg7csaq3LMeUZROJ/Jpzxq+03X1
=NStw
-----END PGP SIGNATURE-----

--0OAP2g/MAC+5xKAE--



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