Richard Elling <richard.ell...@gmail.com> writes:

> On Feb 8, 2010, at 6:04 PM, Kjetil Torgrim Homme wrote:
>> the size of [a DDT] entry is much larger:
>> 
>> | From: Mertol Ozyoney <mertol.ozyo...@sun.com>
>> | 
>> | Approximately it's 150 bytes per individual block.
>
> "zdb -D poolname" will provide details on the DDT size.  FWIW, I have a
> pool with 52M DDT entries and the DDT is around 26GB.

wow, that's much larger than Mertol's estimate: 500 bytes per block.

>    $ pfexec zdb -D tank
>    DDT-sha256-zap-duplicate: 19725 entries, size 270 on disk, 153 in core
>    DDT-sha256-zap-unique: 52284055 entries, size 284 on disk, 159 in core
>
>    dedup = 1.00, compress = 1.00, copies = 1.00, dedup * compress / copies = 
> 1.00

how do you calculate the 26 GB size from this?

-- 
Kjetil T. Homme
Redpill Linpro AS - Changing the game

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to