I'm about to setup a video authoring station for a mate at work and have a few questions if anyone's willing to chip in:
I've never used a pure SSD pool before, and I've never used ZFS for video authoring before, so any suggestions/tips are most welcome.
1:
Two pools:
Pool1 (Work In Progress) = OWC Thunderbolt 4Bay Mini/2.5" JBOD using 4 x 250GB Samsung EVO 850 SSDs
Pool2 (Archive) = OWC Thunderbolt 4Bay 3.5" JBOD using 4 x 4TB Seagate ST4000DM000 drives.
2.
iMac has 32GB RAM so will limit ARC to 12GB.
3.
I'm wondering about the ashift value for the SSD pool.
Typically I'd use ashift=12 and so is this okay for SSDs as well? (loss of space is not an issue here as file sizes are typically in the GBs)
4.
Being a video authoring setup, (which is at the opposite end of the spectrum when it comes to the size of reading/writing files when compared to databases) I'm thinking of using a 1MB recordsize value. I don't intend to compress either pool as the files are already compressed and I want CPU cycles for plugins that don't use the GPU for rendering.
But Reading https://www.joyent.com/blog/bruning-que ... ecord-size just throws things up in the air to me... anyone else care to comment here?
So, the syntax I intend to use is:
1. Prep the SSDs:
- Code: Select all
sudo diskutil partitiondisk /dev/disk(1-4) GPTFormat "Free Space" "Free Space" 100%
sudo zpool create -f -o ashift=12(?) -O checksum=skein -O casesensitivity=insensitive -O atime=off -O normalization=formD WIP mirror disk1 disk2 mirror disk3 disk4
sudo zfs create WIP/WorkInProgress
sudo zfs set reservation=1m WIP; sudo set recordsize=1m WIP/WorkInProgress
sudo chown -Rf <VideoUID>:staff /Volumes/WIP/WorkInProgress
sudo chmod o-rwx /Volumes/WIP/WorkInProgress
2. Prep the Rotationals:
- Code: Select all
sudo diskutil partitiondisk /dev/disk(5-8) GPTFormat "Free Space" "Free Space" 100%
sudo zpool create -f -o ashift=12 -O checksum=skein -O casesensitivity=insensitive -O atime=off -O normalization=formD Archive mirror disk5 disk6 mirror disk7 disk8
sudo zfs create Archive/ArchivedProjects
sudo zfs set reservation=1m Archive; sudo set recordsize=1m Archive/ArchivedProjects
sudo chown -Rf <VideoUID>:staff /Volumes/Archive/ArchivedProjects
sudo chmod o-rwx /Volumes/Archive/ArchivedProjects
3. and finally limit arc to 12GB:
- Code: Select all
sudo sysctl -w kstat.zfs.darwin.tunable.zfs_arc_max=12884901888
The hardware has already been ordered so that's all locked in.
It's a shame ZFS doesn't move data around like a fusion drive can, it would be neat to have just one pool and have zfs move data off the SSDs during idle periods... enhancement perhaps?
Anyway, any & and all guidance most welcome.