Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Sep 2007 12:40:10 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: raidtest for zfs
Message-ID:  <20070925104010.GA1572@garage.freebsd.pl>
In-Reply-To: <fd6m6n$neh$1@sea.gmane.org>
References:  <dcf881c30709210406j59603347vba8494eb5105932c@mail.gmail.com> <20070921143318.GC5690@garage.freebsd.pl> <dcf881c30709210933s6d92cb2dh830be87fb067037c@mail.gmail.com> <20070921170506.GB9445@garage.freebsd.pl> <1310567292.20070921235802@gmail.com> <20070922011847.GH9445@garage.freebsd.pl> <1231480340.20070922112446@gmail.com> <20070922111958.GA1614@garage.freebsd.pl> <fd6m6n$neh$1@sea.gmane.org>

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

--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Sep 23, 2007 at 11:35:15PM +0200, Ivan Voras wrote:
> Pawel Jakub Dawidek wrote:
>=20
> > ZFS ZVOL doesn't present raw blocks to use, like graid3/graid5, so it's
> > quite possible that because of how the data was written and how ZFS
> > prefetches the data it's faster than one disk.
>=20
> So does ZVOL actually offer "cooked" data to its users (caching, lazy
> allocation?), similar to what would happen if the entire ZVOL was one
> big file in a "normal" ZFS file system?

Yes.

> Slightly off-topic: for most file systems, it used to be recommended
> that "lots of smallish files" be distributed in lots of directories in a
> radix-like fashion instead of keeping all files in one huge directory.
> Do you know if ZFS does something to help this situation, or are the old
> rules of thumb still applicable?

ZFS uses extendable hash data structure for directory entires, but you
would need to test it on your own to see if its fast enough for your
needs.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--qMm9M+Fa2AknHoGS
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFG+OWKForvXbEpPzQRAiAVAKCgwqtqJa6Q5Lgprmf+uppPgjK1uQCfWX1e
WMHjWMkhux6w+PZL7Eo4Gs4=
=P3Ge
-----END PGP SIGNATURE-----

--qMm9M+Fa2AknHoGS--



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