Re:Initial Hammer2 filesystem implementation
by aidenn0 on Monday August 21, 2017 @11:51PM
(#15069559)
You can run ZFS with megabytes of ram, it's just slow, so it is pick 2. That being said, ZFS metadata is much bigger than it needs to be (most infamously dedupe has this issue).
[ Parent
| on HN ]
Re:Initial Hammer2 filesystem implementation
by chongli on Tuesday August 22, 2017 @03:44AM
(#15070429)
Right, but to then compare the memory use of ZFS with dedupe turned on against another fs without that feature would be disingenuous since dedupe is optional in ZFS. That was the whole point of my original comment.
Re:Initial Hammer2 filesystem implementation
by mrighele on Tuesday August 22, 2017 @04:17AM
(#15070542)
deduplication doesn't have necessarily to be expensive; HAMMER (the first version, not HAMMER2) has offline deduplication that is usually scheduled to run at night. This allows regular use to be quite performant and with a low memory footprint.
Of course there are tradeoffs, in particular heavy disk usage at certain hours (which can be an issue depending on the workload) and the fact that space is reclaimed only after some time that it has been wasted.