On 24/02/2010 21:54, Bob Friesenhahn wrote:
On Wed, 24 Feb 2010, Robert Milkowski wrote:

except for one bug which has been fixed which had to do with consuming lots of CPU to find a free block I don't think you are right. You don't have to set recordsize to smaller value for small files. Recordsize property sets a maximum allowed recordsize but other than that it is being selected automatically when file is being created so for small files their recordsize will be small even if it is set to default 128KB.

Didn't we hear on this list just recently that zfs no longer writes short tail blocks (i.e. zfs behavior has been changed)? Did I misunderstand?

yep, but the last block will be the same as all the other block.
So if you have a small file where zfs used 1kb block the tail block will be 1kb as well and not 128kb even if the default recordsize is 128k.

I think that only if you would make the recordsize property considerably smaller than average blocksize you could in theory save some space on tail blocks.

--
Robert Milkowski
http://milek.blogspot.com
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to