Hey all
I've a media server with:
For the storage, I set things up this way:
Here I'm using the spare SSD as a
This system is replacing an older media server which had a similar HW configuration but only 4 storage drives and 16G RAM and a 4-core CPU, but in this case the "performance" SSD was set up as a
However, I'm noticing that streaming certain files from this new setup can have some hiccups, with the media player often crashing. The media streaming service on the system has recently started crashing too. It isn't only 4K files that are having problems.
So, I'd like some advice on how to tweak my current setup. Some things I'm wondering:
I've a media server with:
- 2 × 466GB NVMe drives for OS
- 12 × 5TB HDDs for storage
- 1 × 699GB SSD for "performance" (Crucial CT750MX300SSD1, which may be relevant for questions below)
- 32GB RAM
- 12-core CPU
For the storage, I set things up this way:
Code:
# zpool create media raidz2 ada0 ada1 ada2 ada3 ada4 ada5 ada6 ada7 ada8 ada9 ada10 ada11 log ada12
# zfs set compress=lz4 atime=off xattr=sa recordsize=1M logbias=throughput dedup=on autotrim=on media
Here I'm using the spare SSD as a
log
device to improve performance/safety of writes.This system is replacing an older media server which had a similar HW configuration but only 4 storage drives and 16G RAM and a 4-core CPU, but in this case the "performance" SSD was set up as a
cache
. I rarely noticed issues other than streaming some very large 4K files.However, I'm noticing that streaming certain files from this new setup can have some hiccups, with the media player often crashing. The media streaming service on the system has recently started crashing too. It isn't only 4K files that are having problems.
So, I'd like some advice on how to tweak my current setup. Some things I'm wondering:
- Whether I should enable
sync=always
for the media pool - Whether I should switch the
log
drive to be acache
drive (like my prior setup) - Can I use the "performance" SSD for both
log
andcache
?