Running compsize utility on btrfs compress mount point

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

This email is in context of another thread initiated by me (with
Subject: using fio to test btrfs compression).

Just as brief background, I am trying to verify btrfs compression
where I am writing data using
fio, dd or cp command.

In response to my question in another thread:
> Is there any command that i can run to confirm file has been compressed?

I've gotten response from Duncan:
>>There is the quite recently posted (and actively updated since then)
>>compsize command.

>>https://github.com/kilobyte/compsize

On running compsize on btrfs mount point created, I get following:

Type       Perc     Disk Usage   Uncompressed Referenced
Data        50%      128K         256K         256K
zlib          50%      128K         256K         256K
Data       100%       10G          10G          10G
none       100%       10G          10G          10G

but then how do I interpret above information?
if I go by each line, then Does ..

1st entry means
Data        50%      128K         256K         256K
 - It is just raw uncompressed data but occupying only 50% of disk
space w.r.t its size (may be because of its CoW or deduplication?)

zlib          50%      128K         256K         256K
- This is zlib compressed data occupying 50% of disk usage ?

Data       100%       10G          10G          10G
- This is uncompressed data with no compression/cow/deduplication
occupying 100% of disk of its size?

none       100%       10G          10G          10G
- Did not understand how to interpret none entry here.. any help?

Thanks
Shally
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux