207
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 14 Jul 2023
207 points (98.1% liked)
Linux
48366 readers
1251 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
Just to be sure, what's wrong with ARC and L2ARC?
My issue is not with the ARC, it's a few things:
kernel integration is iffy; I don't want to attach a module to my system every time I compile the kernel and prey that the difference in pace between the release schedules of openZFS and Linux hasn't caused issues, and because of the licencing issues my options of having a distro with zfs built in are very limited.
it's performance isn't excellent from a NVME standpoint. It's not terrible, but it could be better.
it has a massive code base, making introducing things like performance improvements and new features quite a challenge (Though the openZFS team are doing a bang-up job despite this).
Ultimately if I was still holding on to 40+TB of important data, I'd be using ZFS and be happy about it. I want snapshots on my workstation, without all the strange issues I've had with btrfs. I'm sure bcachefs will have its own issues but it's better to have options.
Sure, I understand the part about having to compile the ZFS module every time alongside the kernel. But that must be some heavy-lifting you're doing if you're regularly compiling your own kernel. I'd be interested in what you're running that requires such efforts.
I don't understand why you would need NVMe for ARC. Doesn't it run in RAM only? Isn't L2ARC what runs on storage devices?
Not really heavy lifting, I'm just running the Xanmod kernel, and need to turn on some features I need for eBPF development. I'm also keeping up to date with kernel releases, so every 6 weeks or so I need to rebuild.
The ARC runs in RAM, but is generally best when it's given:
Conditions great for a server but not so much for a workstation. I don't intend for my cache misses to go to spinning rust, so I have 2 2TB NVME drives. SSDs are cheap as chips currently.
The L2ARC is a victim cache of the ARC, and while it is persistent it's still much more effective for me to just use a NVME drive for my pool.
Just went through Xanmod's page: the list of features provided seem exciting, although I don't really know much about some of them. Do you need these features for eBPF development?
Well, you're right: ARC is best used in a server. What problems did you have with BTRFS that prompted you to switch?
I use Xanmod for gaming (fsync & related tweaks), but need other flags for development on the same machine.
My issues with BTRFS were mainly in their userspace tooling; ZFS volume management is just glorious, it felt like a significant downgrade to use BTRFS.