From owner-freebsd-fs@FreeBSD.ORG Mon Oct 8 12:15:40 2007 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15ACB16A41B; Mon, 8 Oct 2007 12:15:40 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id A67C213C448; Mon, 8 Oct 2007 12:15:39 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 42C3C45E90; Mon, 8 Oct 2007 14:15:38 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id CE2BA45684; Mon, 8 Oct 2007 14:15:31 +0200 (CEST) Date: Mon, 8 Oct 2007 14:15:23 +0200 From: Pawel Jakub Dawidek To: freebsd-fs@FreeBSD.org Message-ID: <20071008121523.GM2327@garage.freebsd.pl> References: <20071005000046.GC92272@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Tnj+unmjHTqEM5y0" Content-Disposition: inline In-Reply-To: <20071005000046.GC92272@garage.freebsd.pl> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-current@FreeBSD.org Subject: Re: ZFS kmem_map too small. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2007 12:15:40 -0000 --Tnj+unmjHTqEM5y0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Here are some updates: I was able to reproduce the panic by rsyncing big files and trying bonnie++ test suggested in this thread. Can you guys retry with this patch: http://people.freebsd.org/~pjd/patches/vm_kern.c.2.patch It's a hack, yes, but allows to mitigate the problem quite well. I'm looking for a solution that can be used for 7.0 before we find a better fix. BTW. To use ZFS you _must_ increase vm.kmem_size/vm.kmem_size_max. If you have the problem discussed here and you're using standard values, please retry with vm.kmem_size/vm.kmem_size_max set to at least 600MB in /boot/loader.conf. I'm not sure if it's not too late to ask re@ about increasing the default kmem size at least on amd64. ~300MB we have there is silly small. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --Tnj+unmjHTqEM5y0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHCh9bForvXbEpPzQRAlLFAKD2Xo69Xid2JKshQ3ATi1m6MM/CrgCdFmN8 t4Ayssew0tklY0lh+iOSEFA= =sRS8 -----END PGP SIGNATURE----- --Tnj+unmjHTqEM5y0--