Guidance for cache configuration #345
ephemeral-beep
started this conversation in
General
Replies: 1 comment 4 replies
-
|
ZeroFS doesn't yet have writeback caching; the cache is read-only, so you won't be able to achieve "trickle sync" that way. If you use external cache facilities, I'd still keep a small few-gigabyte cache so that the hottest data is fetched locally.
I think that would be unnecessary, especially if you use ZFS's L2ARC. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to use a large local cache (8TB) with a filesystem on top of zerofs.
zerofs should trickle-sync to S3 in the background.
The zerofs documentation has an example for "high performance" cache use,
but I would like some visibility into how much cache is in use and dirty, etc.
Should I use something like openCAS or bcache as a layer between zerofs and ZFS?
If so, should I configure the zerofs cache to be small? Is there any guidance I can look to when configuring this?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions