Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2007 16:25:40 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Johan =?iso-8859-1?Q?Str=F6m?= <johan@stromnet.se>
Cc:        freebsd-fs@freebsd.org, zfs-discuss@opensolaris.org
Subject:   Re: ZFS (and quota)
Message-ID:  <20070921142540.GB5690@garage.freebsd.pl>
In-Reply-To: <8B5FB4B1-2398-491C-95F4-E79361606916@stromnet.se>
References:  <BE54DA53-0353-4EB3-B232-6A7193522582@stromnet.se> <20070920115621.GF4517@garage.freebsd.pl> <8B5FB4B1-2398-491C-95F4-E79361606916@stromnet.se>

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

--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--



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