Earlier quoted context omitted.
Deduplication requires an absolutely enormous amount of memory, unless you have a dataset that has a huge amount of duplication for some reason (maybe a company or school where a lot of people have their own network storage and put the same large files in?) it is usually never the right choice to enable dedup. It is cheaper to buy more disk than the memory to enable dedup (somebody could run the numbers). ZFS ARC als…
Deduplication in ZFS can be pushed onto dedicated flash storage now instead of requiring gobs of RAM.
In OpenZFS and Btrfs, everyone was just guessing
111–120 of 172 posts
Re: In OpenZFS and Btrfs, everyone was just guessing
#112I see a lot of comments here using the terms ZFS and Open ZFS interchangeably. But to my understanding, these are 2 different things. - ZFS is the very stable, non open source project that only works on BSD. - Open ZFS is an effort to rewrite ZFS in a totally open and free format that now runs on Linux. This was the idea I had, but I might be incorrect.
Re: In OpenZFS and Btrfs, everyone was just guessing
#113I don't know about BTRFS, but with ZFS there's a lot of bad information and assumptions floating around. It's one of my favorite topics to ask AI about because it shows the obvious deficiencies in AI as it regurgitates all the bad info. So when you go to the issue tracker, it seems plausible to me that you're going to find issues where the devs can't explain what's happening because the user(s) might be doing somethi…
A lot of end users run ZFS through TrueNAS/FreeNAS and I indeed found that community to spread a lot of misinfo and un-actionable advice. I liken them to gamers lapping up any snake oil solution to get 0.1 fps more. I would suggest anyone trying to learn about ZFS to avoid it, it definitely was counter-productive to me. Reddit, random blogs and official documentation (often that by Oracle) turned out to be much bette…
Eventually, someone explains: “just try it, or stop complaining.”
30s later, they exclaim: “holy ** I’m getting 60 fps now!”
Sometimes, what looks like misinformation isn’t misinformation.
TL;DR: this game switches to a software rendering pipeline on “medium” or lower. You have to set it on “high” to switch to the hardware rendering pipeline.
Re: In OpenZFS and Btrfs, everyone was just guessing
#114Somewhat related, RedHat withdrew from the attempt to productionize BRTFS, apparently it was fully removed in RHEL 8: - https://access.redhat.com/solutions/197643 Also, there's a PDF doc (from a conference presentation), covering many layers of potential alternatives for ZFS features: - https://news.ycombinator.com/item?id=38484598 But "just" slapping all these layers on each other (configuring each individually and…
Re: In OpenZFS and Btrfs, everyone was just guessing
#115Earlier quoted context omitted.
Deduplication in ZFS can be pushed onto dedicated flash storage now instead of requiring gobs of RAM.
Great channel for side attacks btw.
Re: In OpenZFS and Btrfs, everyone was just guessing
#116Somewhat related, RedHat withdrew from the attempt to productionize BRTFS, apparently it was fully removed in RHEL 8: - https://access.redhat.com/solutions/197643 Also, there's a PDF doc (from a conference presentation), covering many layers of potential alternatives for ZFS features: - https://news.ycombinator.com/item?id=38484598 But "just" slapping all these layers on each other (configuring each individually and…
Re: In OpenZFS and Btrfs, everyone was just guessing
#117Earlier quoted context omitted.
Using it through something like TrueNAS with sensible defaults is probably a better idea for the average person than trying to roll their own deployment, no?
Im not sure running TrueNAS counts as learning ZFS, which I think is GP's point. If you want to use ZFS, then TrueNAS with sensible defaults is a great way to go. If you want to learn ZFS enough to roll your own deployment, change the configuration correctly and understand the changes you make then don't start with TrueNAS, and definitely don't listen to the TrueNAS community. Or at least, that's how I read the GP co…
I evaluated TrueNAS Scale about 6 months ago and bailed on it very quickly. My install with their "sensible defaults" ended up having swap partitions on all my spinning disks. That alone was enough for me to decide against using it. One bad choice likely means other bad choices in my experience. They also trampled / reset my 'zfs_zrc_max' tunable every time a VM got started (I think) and it wasn't obvious what was doing it.
I didn't think there was any value in learning the quirks of TrueNAS over doing a setup from scratch, so I ended up going with Ubuntu LTS and doing all my own config / testing.
Re: In OpenZFS and Btrfs, everyone was just guessing
#118Earlier quoted context omitted.
On the other hand there are a couple of things in ZFS that can make a big difference. For instance: changing the page size to be the same size as Postgresql uses (8kb); disabling the writing of 'last accessed' timestamps; or whether or not the filesystem attempts deduplication. From what I remember (it's been a while) these can be configured on a per-dataset basis, where a dataset is a lightweight filesystem more aki…
For Postgres just follow the original doc: https://openzfs.github.io/openzfs-docs/Performance%20and%20T... compression=lz4 recordsize=32K In postgres -> full_page_writes=off
Re: In OpenZFS and Btrfs, everyone was just guessing
#119Re: In OpenZFS and Btrfs, everyone was just guessing
#120The bug was finally fixed with the following commit: https://github.com/openzfs/zfs/pull/15579/commits/679738cc40... It looks like they managed to exactly pin down what was happening.
A more "correct" fix has been posted https://github.com/openzfs/zfs/pull/15615