From owner-freebsd-fs@FreeBSD.ORG Fri Sep 21 14:27:15 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 23BCF16A417 for ; Fri, 21 Sep 2007 14:27:15 +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 AC5CB13C455 for ; Fri, 21 Sep 2007 14:27:14 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 704C045F44; Fri, 21 Sep 2007 16:27:12 +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 2482145EE5; Fri, 21 Sep 2007 16:27:07 +0200 (CEST) Date: Fri, 21 Sep 2007 16:25:40 +0200 From: Pawel Jakub Dawidek To: Johan =?iso-8859-1?Q?Str=F6m?= Message-ID: <20070921142540.GB5690@garage.freebsd.pl> References: <20070920115621.GF4517@garage.freebsd.pl> <8B5FB4B1-2398-491C-95F4-E79361606916@stromnet.se> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VV4b6MQE+OnNyhkM" Content-Disposition: inline In-Reply-To: <8B5FB4B1-2398-491C-95F4-E79361606916@stromnet.se> 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-fs@freebsd.org, zfs-discuss@opensolaris.org Subject: Re: ZFS (and quota) 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 Sep 2007 14:27:15 -0000 --VV4b6MQE+OnNyhkM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm CCing zfs-discuss@opensolaris.org, as this doesn't look like FreeBSD-specific problem. It looks there is a problem with block allocation(?) when we are near quota limit. tank/foo dataset has quota set to 10m: Without quota: FreeBSD: # dd if=3D/dev/zero of=3D/tank/test bs=3D512 count=3D20480 time: 0.7s Solaris: # dd if=3D/dev/zero of=3D/tank/test bs=3D512 count=3D20480 time: 4.5s With quota: FreeBSD: # dd if=3D/dev/zero of=3D/tank/foo/test bs=3D512 count=3D20480 dd: /tank/foo/test: Disc quota exceeded time: 306.5s Solaris: # dd if=3D/dev/zero of=3D/tank/foo/test bs=3D512 count=3D20480 write: Disc quota exceeded time: 602.7s CPU is almost entirely idle, but disk activity seems to be high. Any ideas? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --VV4b6MQE+OnNyhkM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFG89RkForvXbEpPzQRAh11AJ9aW0rUjUaXygtCzztm2i91nNdRtQCfV2Zn EvR4Pc+G1wI1BoKP3tdujgM= =pdDv -----END PGP SIGNATURE----- --VV4b6MQE+OnNyhkM--