[OpenIndiana-discuss] ZFS improvements.

Jesus Cea jcea at jcea.es
Tue Nov 23 18:08:05 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 23/11/10 18:55, Maurilio Longo wrote:
> maurilio at rsync:~$ ls -lR /nas/test/snv_143/ | wc -l
> 175184
> 
> At 2Kb, mean, per file, we have 360Mb, more or less, but here we go from
> 2,73Gb to 3,81 so it is more than 1Gb, or, nearly 8Kb per file!

If the znodes are 512 bytes too, they waste 3584 in a 4KB harddisk. So
adding both you have extra 5632 bytes wasted per file.

Do you use the same blocksize?. Same compression?.

Anyway, I think that ZFS will try to align everything to 4KB, so it is
going to waste space for every on-disk datastructure.

- -- 
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
.                              _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQCVAwUBTOwDBZlgi5GaxT1NAQJP5gQAi6FG5kJXYCQ2EdeRD7s8ZOcwqzH6c/zY
k84N8yuo4iPom7mFVDYKPO/mgIAS5+OqRcP0DLmbkxYyOvEWuCG7Ih7LbYWhjQxB
PTWIBtYfyYehwwiH+izaSCjKOu1L9TKfUxhLCnLnevmfKc9qdH5SZ1tH7qTCnAYY
2IvP427j6KA=
=pe9v
-----END PGP SIGNATURE-----



More information about the OpenIndiana-discuss mailing list