🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92875

Re: Spool compression

#92875
From: InterLinked
Date: Thu, 18 Jun 2026 21:38
34 lines
2975 bytes
On 6/18/2026 11:14 AM, Garrett Wollman wrote:
> In article <1110ubg$2ld8b$1@dont-email.me>,
> InterLinked  <nntp@phreaknet.org> wrote:
>> On 6/18/2026 12:14 AM, Kevin Bowling wrote:
>> Even, I suspect it may not be enough to eliminate at least one block for
>> many articles. So I think 25% was a bit optimistic on my part, maybe
>> 10-20% is more realistic.
>>
>>> I use block level LZ4 (ZFS) on my tradspool, and it is maybe a 10%
>>> improvement.  The major issue with this setup is the filesystem metadata
>>> and data block per article, especially for small articles (the FS has no
>>> support for packing small files into the medadata node, stuffing
>>> multiple small files into one data node etc).  CNFS would result in a
>>> much higher ratio.
> 
> Tradspool here, and I still get pretty good compression with LZ4:
> 
> NAME                            RATIO
> tank/root/usr/local/news        1.88x
> tank/root/usr/local/news/db     1.77x
> tank/root/usr/local/news/spool  1.89x
> tank/root/usr/local/news/tmp    1.00x
> 
> It's a small server and I don't carry binaries, so that should give a
> decent idea of what LZ4 on actual text will give you.  ("1.89x" is
> what others would call "47%".)  This is with 90-day retention, the
> whole of /usr/local/news is less than 10 GiB.
> 
> There's more than enough CPU to use zstd or gzip but what's the point?
> This is just our default zpool configuration, and there are a bunch of
> optimizations in ZFS that sit on top of `compression=on`.

The point is, given a finite amount of disk space, it would allow for 
storing more news or having longer retention, effectively for "free".
Technical Details
Message-ID: <1111ohe$2thja$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <110vnlu$2aplk$1@dont-email.me> <110vrav$m00$1@csiph.com> <1110ubg$2ld8b$1@dont-email.me> <111120n$2um1$1@usenet.csail.mit.edu>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: InterLinked <nntp@phreaknet.org>
Newsgroups: news.software.nntp
Subject: Re: Spool compression
Date: Thu, 18 Jun 2026 17:38:52 -0400
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <1111ohe$2thja$1@dont-email.me>
References: <110vnlu$2aplk$1@dont-email.me> <110vrav$m00$1@csiph.com>
 <1110ubg$2ld8b$1@dont-email.me> <111120n$2um1$1@usenet.csail.mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 18 Jun 2026 21:38:54 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3065450"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+r6/MYpX3iWqcgj7STJ+ucMq86tO5ajAU="; posting-host="e4b96dbd866947ec239098f452532ec5"
Cancel-Lock: sha1:KdlpKCXVpfdG3+IaFUFrkBnwvN4= sha256:yGlCvX5GAj4i8p9E62ubX+l4MnJwPRg7IH99SEiQv8k=
	sha1:D1kl7Jcbh+EXj5BFBqHEYMQ+xxI=
Content-Language: en-US
X-Mailer: MailNews/52.9.9224a1
In-Reply-To: <111120n$2um1$1@usenet.csail.mit.edu>