| ▲ | mewse-hn 7 hours ago |
| ZFS uses a large amount of ram, i think the old rule of thumb was 1GB ram per 1TB of storage |
|
| ▲ | yjftsjthsd-h 6 hours ago | parent | next [-] |
| That's only for deduplication. https://superuser.com/a/993019 |
| |
| ▲ | Lammy 6 hours ago | parent | next [-] | | I do like to deduplicate my BitTorrent downloads/seeding directory with my media directories so I can edit metadata to my heart's content while still seeding forever without having to incur 2x storage usage. I tune the `recordsize` to 1MiB so it has vastly fewer blocks to keep track of compared to the default 128K, at the cost of any modification wasting very slightly more space. Really not a big deal though when talking about multi-gibibyte media containers, multi-megapixel art embeds, etc. | | | |
| ▲ | ekropotin 3 hours ago | parent | prev [-] | | ZFS also uses RAM for read through cache aka ARC.
However, I’m not sure how noticeable the effect from increased RAM would be - I assume it mostly benefit for read patterns with high data reuse, which is not that common. |
|
|
| ▲ | 01HNNWZ0MV43FF 7 hours ago | parent | prev [-] |
| Huh. More than just the normal page cache on other filesystems? |
| |
| ▲ | WarOnPrivacy 7 hours ago | parent | next [-] | | Yes. Parent's comment matches everything I've heard. 32GB is a common recommendation for home lab setups. I run 32 in my TrueNAS builds (36TB and 60TB). | | |
| ▲ | magicalhippo 4 hours ago | parent [-] | | You can run it with much less. I don't recall the bare minimum but with a bit of tweaking 2GB should be plenty[1]. I recall reading some running it on a 512MB system, but that was a while ago so not sure if you can still go that low. Performance can suffer though, for example low memory will limit the size of the transaction groups. So for decent performance you will want 8GB or more depending on workloads. [1]: https://openzfs.github.io/openzfs-docs/Project%20and%20Commu... |
| |
| ▲ | tekla 7 hours ago | parent | prev [-] | | ZFS will eat up as much RAM as you give it as it caches files in memory as accessed. | | |
| ▲ | ac29 7 hours ago | parent [-] | | All filesystems do this (at least all modern ones, on linux) |
|
|