Re: using fio to test btrfs compression

2017-09-22 Thread Timofey Titovets
2017-09-22 8:33 GMT+03:00 shally verma : > On Wed, Sep 20, 2017 at 5:26 PM, Timofey Titovets > wrote: >> 2017-09-20 14:10 GMT+03:00 shally verma : >>> Interesting part is I dont see "encoded" under flags. I couldn't >>> understand if flags are retrieved from btrfs file metadata info. As >>> you a

Re: using fio to test btrfs compression

2017-09-21 Thread shally verma
On Wed, Sep 20, 2017 at 5:26 PM, Timofey Titovets wrote: > 2017-09-20 14:10 GMT+03:00 shally verma : >> Interesting part is I dont see "encoded" under flags. I couldn't >> understand if flags are retrieved from btrfs file metadata info. As >> you are running on 4.14 and I am on 4.9 >> >> So, am st

Re: using fio to test btrfs compression

2017-09-21 Thread Liu Bo
On Mon, Sep 18, 2017 at 01:06:45PM +0530, shally verma wrote: > Hi > > I wanted to test btrfs compression using fio command but somehow > during fio writes, I don't see code taking route of compression blocks > where as If I do a copy to btrfs compression enabled mount point then > I can easily se

Re: using fio to test btrfs compression

2017-09-21 Thread Duncan
shally verma posted on Wed, 20 Sep 2017 16:40:15 +0530 as excerpted: > Is there any command that i can run to confirm file has been compressed? There is the quite recently posted (and actively updated since then) compsize command. https://github.com/kilobyte/compsize -- Duncan - List replies

Re: using fio to test btrfs compression

2017-09-20 Thread shally verma
On Wed, Sep 20, 2017 at 4:00 PM, Timofey Titovets wrote: > 2017-09-20 13:13 GMT+03:00 shally verma : >> On Wed, Sep 20, 2017 at 3:06 PM, Timofey Titovets >> wrote: >>> 2017-09-20 11:59 GMT+03:00 shally verma : On Wed, Sep 20, 2017 at 2:25 PM, Timofey Titovets wrote: > 2017-09-20

Re: using fio to test btrfs compression

2017-09-20 Thread Timofey Titovets
2017-09-20 13:13 GMT+03:00 shally verma : > On Wed, Sep 20, 2017 at 3:06 PM, Timofey Titovets > wrote: >> 2017-09-20 11:59 GMT+03:00 shally verma : >>> On Wed, Sep 20, 2017 at 2:25 PM, Timofey Titovets >>> wrote: 2017-09-20 11:44 GMT+03:00 shally verma : > One more catch... I am initia

Re: using fio to test btrfs compression

2017-09-20 Thread shally verma
On Wed, Sep 20, 2017 at 3:06 PM, Timofey Titovets wrote: > 2017-09-20 11:59 GMT+03:00 shally verma : >> On Wed, Sep 20, 2017 at 2:25 PM, Timofey Titovets >> wrote: >>> 2017-09-20 11:44 GMT+03:00 shally verma : One more catch... I am initiating fio from non-btrfs filesystem i.e. pwd is

Re: using fio to test btrfs compression

2017-09-20 Thread Timofey Titovets
2017-09-20 11:59 GMT+03:00 shally verma : > On Wed, Sep 20, 2017 at 2:25 PM, Timofey Titovets > wrote: >> 2017-09-20 11:44 GMT+03:00 shally verma : >>> One more catch... I am initiating fio from non-btrfs filesystem i.e. >>> pwd is ext4 based fs where as mount point is btrfs. >>> Could that make

Re: using fio to test btrfs compression

2017-09-20 Thread shally verma
On Wed, Sep 20, 2017 at 2:25 PM, Timofey Titovets wrote: > 2017-09-20 11:44 GMT+03:00 shally verma : >> One more catch... I am initiating fio from non-btrfs filesystem i.e. >> pwd is ext4 based fs where as mount point is btrfs. >> Could that make difference? >> >>> Thanks >>> Shally > > Only matte

Re: using fio to test btrfs compression

2017-09-20 Thread Timofey Titovets
2017-09-20 11:44 GMT+03:00 shally verma : > One more catch... I am initiating fio from non-btrfs filesystem i.e. > pwd is ext4 based fs where as mount point is btrfs. > Could that make difference? > >> Thanks >> Shally Only matter are where you store test file =) If you store test file on btrfs, p

Re: using fio to test btrfs compression

2017-09-20 Thread shally verma
On Wed, Sep 20, 2017 at 2:06 PM, shally verma wrote: > On Mon, Sep 18, 2017 at 7:11 PM, Timofey Titovets > wrote: >> 2017-09-18 16:28 GMT+03:00 shally verma : >>> On Mon, Sep 18, 2017 at 1:56 PM, Timofey Titovets >>> wrote: 2017-09-18 10:36 GMT+03:00 shally verma : > Hi > > I

Re: using fio to test btrfs compression

2017-09-20 Thread shally verma
On Mon, Sep 18, 2017 at 7:11 PM, Timofey Titovets wrote: > 2017-09-18 16:28 GMT+03:00 shally verma : >> On Mon, Sep 18, 2017 at 1:56 PM, Timofey Titovets >> wrote: >>> 2017-09-18 10:36 GMT+03:00 shally verma : Hi I wanted to test btrfs compression using fio command but somehow >>>

Re: using fio to test btrfs compression

2017-09-18 Thread Timofey Titovets
2017-09-18 16:28 GMT+03:00 shally verma : > On Mon, Sep 18, 2017 at 1:56 PM, Timofey Titovets > wrote: >> 2017-09-18 10:36 GMT+03:00 shally verma : >>> Hi >>> >>> I wanted to test btrfs compression using fio command but somehow >>> during fio writes, I don't see code taking route of compression b

Re: using fio to test btrfs compression

2017-09-18 Thread shally verma
On Mon, Sep 18, 2017 at 1:56 PM, Timofey Titovets wrote: > 2017-09-18 10:36 GMT+03:00 shally verma : >> Hi >> >> I wanted to test btrfs compression using fio command but somehow >> during fio writes, I don't see code taking route of compression blocks >> where as If I do a copy to btrfs compressio

Re: using fio to test btrfs compression

2017-09-18 Thread Timofey Titovets
2017-09-18 10:36 GMT+03:00 shally verma : > Hi > > I wanted to test btrfs compression using fio command but somehow > during fio writes, I don't see code taking route of compression blocks > where as If I do a copy to btrfs compression enabled mount point then > I can easily see code falling throug

using fio to test btrfs compression

2017-09-18 Thread shally verma
Hi I wanted to test btrfs compression using fio command but somehow during fio writes, I don't see code taking route of compression blocks where as If I do a copy to btrfs compression enabled mount point then I can easily see code falling through compression.c. Here's how I do my setup 1. mkfs.b