TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

ZFS Profiling on Arch Linux

183 pointsby wb14123over 1 year ago

6 comments

nisaover 1 year ago
Another fix for that is to switch the ZFS license to GPL before building:<p>Just put this line:<p>sed -i &quot;s&#x2F;CDDL&#x2F;GPL&#x2F;g&quot; META<p>in the prepare() section of the PKGBUILD.<p>This will use the in-kernel FPU functions for cryptography and other things like raidz calculations that got EXPORT_SYMBOL_GPL&#x27;ed later if the original plumbing is still in the codebase. It&#x27;s probably not offically recommend and I&#x27;m not sure how much these codepaths are tested anymore but I assume that quite a few people that don&#x27;t need to redistribute anything but need the performance use a hack like this or something similiar. It works fine for me.<p>Personally I lost a ton of respect for the Linux kernel developers after introducing that kernel fpu EXPORT_SYMBOL_GPL thing and backporting it to all kernels and Linus badmouthing ZFS and somehow assuming Oracle is still involved in OpenZFS which is mostly FreeBSD and some sponsors spread out over the world but not related to Oracle.
评论 #38678814 未加载
评论 #38678252 未加载
评论 #38687937 未加载
InvaderFizzover 1 year ago
This is a great read. It explains in detail the process of enabling debug symbols and using perf to root cause a performance issue.<p>I&#x27;ve never done this type of work, but probably will in the future now that I have an example to follow.
tjoffover 1 year ago
It is refreshing to see the author explain how and why all the pieces were gathered. Most guides&#x2F;instructions&#x2F;bug-reports only lists the end result, omitting information that helps the reader to get a better understanding and be better equipped to solve related issues.
predmijatover 1 year ago
On Arch, zfs-linux package has an exact version of linux as a dependency. linux package gets updated fairly often, and by the time zfs-linux package catches up, linux is already on a newer version and you are unable to upgrade.<p>Sometimes it takes quite a while before those two are in sync and you can upgrade your system.
评论 #38673682 未加载
评论 #38673486 未加载
评论 #38674083 未加载
评论 #38676486 未加载
评论 #38673388 未加载
sneakover 1 year ago
I heard a rumor that ZFS native encryption is somewhat abandoned by its maintainer following it having landed in the release, that it was one person and they moved on&#x2F;lost interest. I don’t know if this is true or not.<p>I’m still using ZFS on LUKS2 for now, given the issues like this. (You also can’t specify multiple keys in ZFS native encryption.)
评论 #38673419 未加载
评论 #38674100 未加载
评论 #38673843 未加载
评论 #38673972 未加载
b33j0rover 1 year ago
Channelling Erik Dubious: “it’s ok, you see the error message, and you navigate to etsy.<p>This config we find is the answer. I lean into neovim this time, today, because it’s all a lessons. And then we type update, and it’s all okay!”<p>The thing he humbly leaves out is “why aren’t you an arcolinux fanboy yet!?”
评论 #38674814 未加载