Oracle Solaris File Systems and Disk Management (MOSC)

MOSC Banner

how zfs compression ratio is calculated?

edited Dec 19, 2015 10:00AM in Oracle Solaris File Systems and Disk Management (MOSC) 3 commentsAnswered

Hi people:

I'm helping to request storage and can't find how zfs compression ratio is calculated. I mean all my zpool are compressed using gzip-9. But when I query my zpool (Myrpool506)

zfs get compressratio Myrpool506 it says

Myrpool506 compressratio 2.65x

So I assume it was an average of all compression ratios on all descendants zfs. Got the values put them on a spreadsheet  and find out neither average, median or mode calcs gave me the same number. I have read OpenZfs sources, search Google and of course man pages/web pages of Solaris without luck about this question.

So somebody knows

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center