🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #896

Re: Compressing the news spool

#896
From: Richard M. Mathews
Date: Thu, 03 Jan 1991 01:17
28 lines
2053 bytes
nelson@sun.soe.clarkson.edu (Russ Nelson) writes:
>Here's a suggestion for someone with time on their hands:

Here's another way to compress a news file system.  It doesn't require
nntp (in fact, you should still be able to 'cd' to the news spool directory
and look around without noticing anything out of the ordinary).  It does
require a kernel with a file system switch.

Create a new file system type.  The file system code would automatically
compress files as they are written and uncompress as they are read.  You
can design a compression algorithm which is specially tailored to the
typical contents of news articles.  The block size of the file system
would be suitably small for typical compressed news articles, or you
could invent an allocation scheme that does not depend on blocking.
Since most files are opened, written, and closed in quick succession,
you shouldn't need to worry about the efficiency of arbitrary seeks,
holes in files, etc.  (I'm assuming that the $LIB directory is separate.)
You could even compress the directories by taking advantage of the fact
that most file names are small, consecutive numbers.  This file system
could work with B News or C News.

1/2 :-)

Richard M. Mathews			 Freedom for Lithuania
richard@locus.com				Laisve!
lcc!richard@seas.ucla.edu
..!{uunet|ucla-se|turnkey}!lcc!richard
Technical Details
Message-ID: <richard.662865471@fafnir.la.locus.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!usc!elroy.jpl.nasa.gov!turnkey!orchard.la.locus.com!fafnir.la.locus.com!fafnir.la.locus.com!richard
References: <NELSON.90Dec31223115@sun.clarkson.edu>

Show Full Headers
Complete Article Headers
Message-ID: <richard.662865471@fafnir.la.locus.com>
Subject: Re: Compressing the news spool
Date: Thu, 03 Jan 1991 01:17:51 +0000
From: richard@locus.com (Richard M. Mathews)
References: <NELSON.90Dec31223115@sun.clarkson.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!usc!elroy.jpl.nasa.gov!turnkey!orchard.la.locus.com!fafnir.la.locus.com!fafnir.la.locus.com!richard
Newsgroups: news.software.nntp
Organization: Locus Computing Corporation, Los Angeles, California
Lines: 27