HomeFreeBSD

top: Change the way the ZFS ARC compression ratio is calculated

Description

top: Change the way the ZFS ARC compression ratio is calculated

Based on feedback from OpenZFS developers Matt Ahrens and George Wilson,
the calculation of the ratio no longer takes in to account overhead.

The old formula could result in reporting a negative compression ratio

This could confuse the user or give a false impression that there would be
an advantage to disabling the compressed ARC feature.

The new formula will more closely match an average of the on-disk
compression ratio, as reported by the ZFS property 'compressratio'

MFC after: 3 days
Sponsored by: ScaleEngine Inc.

Details

Provenance
allanjudeAuthored on
Parents
rS319865: remove stale dependencies for utimens* wrappers removed in r319663
Branches
Unknown
Tags
Unknown