Hello World!
just want to create a topic for my repo. maybe anyone finds it useful.
https://github.com/go-while/nntp-overview
as guest on ZFS with compression=lz4 and recordsize=128K
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
For what it's worth, using INN with tradspool I don't see hardly any >compression (ZFS), but when using CNFS buffers I get a little over 3x.
In article <u9re14$ecv$1@nnrp.usenet.blueworldhosting.com>,
Jesse Rehmer <jesse.rehmer@blueworldhosting.com> wrote:
For what it's worth, using INN with tradspool I don't see hardly any
compression (ZFS), but when using CNFS buffers I get a little over 3x.
On my small text-only server with tradspool I see:
NAME PROPERTY VALUE SOURCE rootvg/root/usr/local/news/spool compressratio 1.43x -
...but that's less than 10 GiB (about 880,000 articles).
-GAWollman
Just under 185,000,000 articles here, duplicated between two boxes, approximately 900GB of articles and 130GB overview:
tradspool:
$ zfs get compressratio
NAME PROPERTY VALUE SOURCE
zroot compressratio 1.11x -
CNFS:
$ zfs get compressratio
NAME PROPERTY VALUE SOURCE
zroot compressratio 3.03x -
So it seems that CNFS works better for compression than timecaf.
Do you also use lz4?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 71:46:38 |
Calls: | 6,713 |
Calls today: | 1 |
Files: | 12,246 |
Messages: | 5,356,979 |