Article View: news.software.nntp
Article #90607Re: XFS / ZFS TEST DATASET notes Re: github.com/go-while/nntp-overview
From: go-while
Date: Mon, 24 Jul 2023 13:25
Date: Mon, 24 Jul 2023 13:25
120 lines
4664 bytes
4664 bytes
XFS partitions on ZFS compression=lz4 recordsize=32K tank0/xfs/head compressratio 2.91x tank0/xfs/body compressratio 1.80x XFS partitions need this space: Filesystem Used Mounted tank0/xfs/head/a 13G /tank0/xfs/head/a tank0/xfs/body/a 28G /tank0/xfs/body/a tank0/xfs/head/b 13G /tank0/xfs/head/b tank0/xfs/body/b 28G /tank0/xfs/body/b tank0/xfs/head/c 13G /tank0/xfs/head/c tank0/xfs/body/c 28G /tank0/xfs/body/c tank0/xfs/head/d 13G /tank0/xfs/head/d tank0/xfs/body/d 28G /tank0/xfs/body/d tank0/xfs/head/e 13G /tank0/xfs/head/e tank0/xfs/body/e 28G /tank0/xfs/body/e tank0/xfs/head/f 13G /tank0/xfs/head/f tank0/xfs/body/f 28G /tank0/xfs/body/f tank0/xfs/head/0 13G /tank0/xfs/head/0 tank0/xfs/body/0 28G /tank0/xfs/body/0 tank0/xfs/head/1 13G /tank0/xfs/head/1 tank0/xfs/body/1 28G /tank0/xfs/body/1 tank0/xfs/head/2 13G /tank0/xfs/head/2 tank0/xfs/body/2 28G /tank0/xfs/body/2 tank0/xfs/head/3 13G /tank0/xfs/head/3 tank0/xfs/body/3 28G /tank0/xfs/body/3 tank0/xfs/head/4 13G /tank0/xfs/head/4 tank0/xfs/body/4 28G /tank0/xfs/body/4 tank0/xfs/head/5 13G /tank0/xfs/head/5 tank0/xfs/body/5 28G /tank0/xfs/body/5 tank0/xfs/head/6 13G /tank0/xfs/head/6 tank0/xfs/body/6 28G /tank0/xfs/body/6 tank0/xfs/head/7 13G /tank0/xfs/head/7 tank0/xfs/body/7 28G /tank0/xfs/body/7 tank0/xfs/head/8 13G /tank0/xfs/head/8 tank0/xfs/body/8 28G /tank0/xfs/body/8 tank0/xfs/head/9 13G /tank0/xfs/head/9 tank0/xfs/body/9 28G /tank0/xfs/body/9 XFS itself says it uses this space: Filesystem Used Mounted /dev/loop32 34G /mnt/xfs/head/a /dev/loop33 34G /mnt/xfs/head/b /dev/loop34 34G /mnt/xfs/head/c /dev/loop35 34G /mnt/xfs/head/d /dev/loop36 34G /mnt/xfs/head/e /dev/loop37 34G /mnt/xfs/head/f /dev/loop38 34G /mnt/xfs/head/0 /dev/loop39 34G /mnt/xfs/head/1 /dev/loop40 34G /mnt/xfs/head/2 /dev/loop41 34G /mnt/xfs/head/3 /dev/loop42 34G /mnt/xfs/head/4 /dev/loop43 34G /mnt/xfs/head/5 /dev/loop44 34G /mnt/xfs/head/6 /dev/loop45 34G /mnt/xfs/head/7 /dev/loop46 34G /mnt/xfs/head/8 /dev/loop47 34G /mnt/xfs/head/9 /dev/loop48 49G /mnt/xfs/body/a /dev/loop49 49G /mnt/xfs/body/b /dev/loop50 49G /mnt/xfs/body/c /dev/loop51 49G /mnt/xfs/body/d /dev/loop52 49G /mnt/xfs/body/e /dev/loop53 49G /mnt/xfs/body/f /dev/loop54 49G /mnt/xfs/body/0 /dev/loop55 49G /mnt/xfs/body/1 /dev/loop56 49G /mnt/xfs/body/2 /dev/loop57 49G /mnt/xfs/body/3 /dev/loop58 49G /mnt/xfs/body/4 /dev/loop59 49G /mnt/xfs/body/5 /dev/loop60 49G /mnt/xfs/body/6 /dev/loop61 49G /mnt/xfs/body/7 /dev/loop62 49G /mnt/xfs/body/8 /dev/loop63 49G /mnt/xfs/body/9 moving the same data (raw .head + .body files) from XFS into a ZFS dataset tank0/cache/head compressratio 1.00x tank0/cache/body compressratio 1.17x results in this used space on ZFS?! tank0/cache/head/a 116G /tank0/cache/head/a tank0/cache/head/b 116G /tank0/cache/head/b .. tank0/cache/body/a 124G /tank0/cache/body/a tank0/cache/body/b 124G /tank0/cache/body/b .. i stopped moving it... looks like zfs does not like many very small files aka usenet articles and compression does not work. finally inodes: XFS vs ZFS raw dataset are almost identical /dev/loop32 42846221114 19964404 /mnt/xfs/head/a /dev/loop33 42846243638 19958208 /mnt/xfs/head/b /dev/loop48 42783061340 19964404 /mnt/xfs/body/a /dev/loop49 42783346284 19958208 /mnt/xfs/body/b ... tank0/cache/head/a 50835458823 19964404 /tank0/cache/head/a tank0/cache/head/b 50835452630 19958211 /tank0/cache/head/b tank0/cache/body/a 50835159146 19664727 /tank0/cache/body/a tank0/cache/body/b 50835452630 19958211 /tank0/cache/body/b ... Kind Regards
Technical Details
Message-ID:
<kouvM.93469$euB5.43905@fx05.ams4>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<6SGrM.427956$hTH1.411991@fx14.ams4> <buRsM.750701$NrRf.67234@fx02.ams4>Show Full Headers
Complete Article Headers
Message-ID: <kouvM.93469$euB5.43905@fx05.ams4> Subject: Re: XFS / ZFS TEST DATASET notes Re: github.com/go-while/nntp-overview Date: Mon, 24 Jul 2023 15:25:56 +0200 From: go-while <no-reply@no.spam> References: <6SGrM.427956$hTH1.411991@fx14.ams4> <buRsM.750701$NrRf.67234@fx02.ams4> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Newsgroups: news.software.nntp Content-Language: en-US In-Reply-To: <buRsM.750701$NrRf.67234@fx02.ams4> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Lines: 121 X-Complaints-To: abuse@blocknews.net NNTP-Posting-Date: Mon, 24 Jul 2023 12:46:08 UTC Organization: blocknews - www.blocknews.net X-Received-Bytes: 4583