[OmniOS-discuss] [zfs] zpool/zfs settings optimization

Radio młodych bandytów radiomlodychbandytow at o2.pl
Thu May 30 16:51:41 EDT 2013


On 30/05/2013 01:11, Paul B. Henson wrote:
> There's going to be a wide variety of stuff stored on the storage pool,
> from mp3/flac/aac music, to DVD/bluray rips, and basic home directory
> stuff like documents and pictures. A big chunk will be dedicated to my
> mythtv system and contain OTA ATSC mpeg2 transport streams.
> 
> For the rpool I plan to enable lz4 compression for the entire pool. For
> the storage pool I will probably disable it for filesystems containing
> mostly noncompressible stuff and enable it for home directory like
> filesystems containing documents and other things more likely to be
> compressible. I think I'm going to set atime=off globally on both pools,
> I can't think of any reason that data would be worth the extra write load.

LZ4 runs GBytes/s/core on incompressible data, so it doesn't matter much
if you leave it or disable it. Sure, if you know it won't help, better
turn it off, but in case of doubt you can just have it running.

> If I understood correctly, there's really no value in changing the
> default recordsize unless you're using an application like a database
> that you know always reads in chunk sizes smaller and reading in the
> entire record would be a waste. I thought I remembered reading somewhere
> that one of the zfs forks had increased the maximum recordsize to
> something bigger, like 2M or 10M or something, but I can't seem to find
> a reference to it now.
Oracle added 1 MB blocks in zpool r32. Maybe there's something else, but
I haven't heard of it.
-- 
Twoje radio


More information about the OmniOS-discuss mailing list