From owner-freebsd-fs@FreeBSD.ORG Fri Jan 21 15:04:36 2011 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 81D2E1065674 for ; Fri, 21 Jan 2011 15:04:36 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 266878FC14 for ; Fri, 21 Jan 2011 15:04:34 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 6C06245E5C; Fri, 21 Jan 2011 16:04:31 +0100 (CET) Received: from localhost (pdawidek.whl [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 1F4E345685; Fri, 21 Jan 2011 16:04:24 +0100 (CET) Date: Fri, 21 Jan 2011 16:04:13 +0100 From: Pawel Jakub Dawidek To: jackie wang Message-ID: <20110121150413.GE1698@garage.freebsd.pl> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FoLtEtfbNGMjfgrs" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT amd64 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=4.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: Freebsd8.1 ZFS with mfi driver performance 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: Fri, 21 Jan 2011 15:04:36 -0000 --FoLtEtfbNGMjfgrs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 20, 2011 at 09:57:33PM +0800, jackie wang wrote: > more /boot/loader.conf >=20 > VS001# more /boot/loader.conf > zfs_load=3D"YES" > vfs.root.mountfrom=3D"zfs:zroot" > geom_mirror_load=3D"YES" > #vm.kmem_size=3D"4096M" > #vm.kmem_size_max=3D"3072M" Why you commented those out? Try adding: vm.kmem_size=3D"4096M" > vfs.zfs.arc_min=3D"1024M" > vfs.zfs.arc_max=3D"4096M" > #vfs.zfs.vdev.cache.size=3D"5M" > vfs.zfs.vdev.min_pending=3D"1" > vfs.zfs.vdev.max_pending=3D"1" > vfs.zfs.prefetch_disable=3D"1" > vfs.zfs.txg.timeout=3D"5" > vfs.zfs.txg.synctime=3D"1" > vfs.zfs.txg.write_limit_override=3D"524288000" >=20 > when the system slow there much mermory in wired status about 5GB, and > the system begin to use swap. >=20 > So,my question is why the zfs slow . Please Help ,now the box is in > production env. Could you explain all your settings there? I'd start from removing all of them and just leaving kmem_size. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --FoLtEtfbNGMjfgrs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk05oG0ACgkQForvXbEpPzTsGACgvc2tWQAGcxhRD1AOKukgmTlI Xv0AnRknd9E1Y66rRix5CE/DgKG7JI4G =UwBK -----END PGP SIGNATURE----- --FoLtEtfbNGMjfgrs--