🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
21 messages
21 total messages Started by Jeff Garzik Mon, 01 Dec 1997 00:00
Feed external process from Diablo?
#23813
Author: Jeff Garzik
Date: Mon, 01 Dec 1997 00:00
12 lines
1018 bytes
Does anybody have any hacks or hints for feeding news (or just the
article+offset info) from a Diablo server to an external process?

It seems silly to have to tail a file (wasting a descriptor), when
Diablo could write directly to a pipe like an INN channel feed.
-- 
Jeff Garzik			    Typhoon, Cyclone, Diablo, and INN
Spinne USENET News Service	        Fast and efficient news feeds
http://www.spinne.com/usenet/	           News tuning and consulting

Re: Feed external process from Diablo?
#23816
Author: bill davidsen
Date: Mon, 01 Dec 1997 00:00
32 lines
2103 bytes
In article <65v4k2$olp$1@roch.zetnet.co.uk>, Paul Martin <pm@zetnet.net> wrote:
| In article <65v39b$5lh$1@vixen.cso.uiuc.edu>,
| 	"Anthony Kueh" <kueh@remove.me.for.no.spam.uiuc.edu> writes:
| 
| [compressing feed on the fly]
| > I know both of these are CPU intensive. However, seeing that bandwidth these
| > days (especially with news) is hard to come by, CPU costs (running FreeBSD
| > or Linux) is fairly cheap. I would love to see this feature implemented.
| 
| Binaries don't compress well. Unfortunately, the bulk of bandwidth is
| taken up by binary postings. 

A good reason to run a compressed and batched uucp (over tcp) feed
to leaf nodes behind small pipes. Binaries usually compress ~30%
because they are uuencoded, which is a six to eight bit conversion.
The lines each have a newline and usually an 'M' at the head of the
line, so that compresses well, also.

On a full feed binaries are only about half, although if you only
have "big 8" groups and take all binaries of any size you get more
binary volume.

Batched and sorted on poster gives better results than taking
articles in random order.
--
    bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
I don't think she NEEDS assertiveness training... she can haggle hot dog
prices with a NY city sidewalk vendor. When she thinks she's right she
can make a blind man see her point.

Re: Feed external process from Diablo?
#23828
Author: Anthony Kueh
Date: Mon, 01 Dec 1997 00:00
48 lines
2404 bytes
I know this is a little far fetched, but is there anyway that we Diablo can
possibly create a compression mode using something like gzip? Basically
here's the idea:

Between two Diablo machines:

Option 1:
Before every article body is sent, it would be compressed, and then sent to
the remote peers.

Option 2:
In the storage data structure (since it's different already), store the
files in compressed mode and enable a flag to peer with other Diablo news
servers in the compressed mode. If article is received from a standard NNTP
server, the articles would be compressed before being written to the hard
drive.

I know both of these are CPU intensive. However, seeing that bandwidth these
days (especially with news) is hard to come by, CPU costs (running FreeBSD
or Linux) is fairly cheap. I would love to see this feature implemented.

Any thoughts?

-Tony

Joe Greco wrote in message <65uooh$3ng$1@earth.execpc.com>...
>In news.software.nntp article <3482BB13.5E77D8CE@spinne.com>, Jeff Garzik
<jeff.garzik@spinne.com> wrote:
>:Does anybody have any hacks or hints for feeding news (or just the
>:article+offset info) from a Diablo server to an external process?
>
>I have a little process that will merrily sit and tail a Diablo queue
>file.  I use it to do analysis and stuff...  those prototype reports,
>for example.  Or UUCP batching (still a requirement around here).
>
>:It seems silly to have to tail a file (wasting a descriptor), when
>:Diablo could write directly to a pipe like an INN channel feed.
>
>A pipe is also "wasting a descriptor".  The only waste is doing an
>occasional read() to see if more data is available.  select() is
>nicer for that.
>
>... JG



Re: Feed external process from Diablo?
#23829
Author: Anthony Kueh
Date: Mon, 01 Dec 1997 00:00
33 lines
1522 bytes
Hmm.. maybe "very good" isn't the word, here's what I got:

(grabbed file directly from alt.binaries group)

228677 bytes original size
172826 bytes gzipped Lempel-Ziv algo

That's approximately 24.4%. Your sample came out to 24.4% (uuencoded) and
24.1% (base-64). If these figures are consistant, this could mean about a
22% savings (considering binaries are about 80-90% of the bandwidth usage)
in bandwidth.

-Tony

>
>A quick test on a random jpeg:
>
> 129543 bytes original size
> 129375 bytes gzipped
> 178511 bytes uuencoded
> 134985 bytes uuencoded then gzipped
> 175123 bytes base-64
> 132958 bytes base-64 gzipped
>
>I don't call that "very good".
>
>--
>Andrew.



Re: Feed external process from Diablo?
#23834
Author: Paul Martin
Date: Mon, 01 Dec 1997 00:00
16 lines
1089 bytes
In article <65v39b$5lh$1@vixen.cso.uiuc.edu>,
	"Anthony Kueh" <kueh@remove.me.for.no.spam.uiuc.edu> writes:

[compressing feed on the fly]
> I know both of these are CPU intensive. However, seeing that bandwidth these
> days (especially with news) is hard to come by, CPU costs (running FreeBSD
> or Linux) is fairly cheap. I would love to see this feature implemented.

Binaries don't compress well. Unfortunately, the bulk of bandwidth is
taken up by binary postings. 

-- 
Paul Martin <pm@zetnet.net>

Re: Feed external process from Diablo?
#23842
Author: Joe Greco
Date: Mon, 01 Dec 1997 00:00
19 lines
1351 bytes
In news.software.nntp article <3482BB13.5E77D8CE@spinne.com>, Jeff Garzik <jeff.garzik@spinne.com> wrote:
:Does anybody have any hacks or hints for feeding news (or just the
:article+offset info) from a Diablo server to an external process?

I have a little process that will merrily sit and tail a Diablo queue
file.  I use it to do analysis and stuff...  those prototype reports,
for example.  Or UUCP batching (still a requirement around here).

:It seems silly to have to tail a file (wasting a descriptor), when
:Diablo could write directly to a pipe like an INN channel feed.

A pipe is also "wasting a descriptor".  The only waste is doing an
occasional read() to see if more data is available.  select() is
nicer for that.

... JG

Re: Feed external process from Diablo?
#23845
Author: Anthony Kueh
Date: Mon, 01 Dec 1997 00:00
23 lines
1600 bytes
What kind of compression mechanism are you using? Also, is there a flag that
you're setting (like the flags for streaming mode) during the handshake to
tell the remote server that you're sending compressed data?

It would be interesting if this mechanism can be added into peering-type
NNTP servers (ie. NNTPRelay, Diablo, Cyclone, etc). And then the peering
system can feed to an innd server on the local ethernet for user access. Any
thoughts?

-Tony

Christopher Sedore wrote in message
>I implemented a compress-on-the-fly feed for NNTPRelay over
>thanksgiving.  I haven't had a chance to try it on the binaries groups
>yet, but I see rates of about 2.6:1 compression against a
>!alt.bin*,!alt.sex* feed.  I compress the entire forward feed stream
>(check, takethis, and articles).  Responses are not compressed.




Re: Feed external process from Diablo?
#23846
Author: Anthony Kueh
Date: Mon, 01 Dec 1997 00:00
30 lines
1681 bytes

Paul Martin wrote in message <65v4k2$olp$1@roch.zetnet.co.uk>...
>In article <65v39b$5lh$1@vixen.cso.uiuc.edu>,
> "Anthony Kueh" <kueh@remove.me.for.no.spam.uiuc.edu> writes:
>
>[compressing feed on the fly]
>> I know both of these are CPU intensive. However, seeing that bandwidth
these
>> days (especially with news) is hard to come by, CPU costs (running
FreeBSD
>> or Linux) is fairly cheap. I would love to see this feature implemented.
>
>Binaries don't compress well. Unfortunately, the bulk of bandwidth is
>taken up by binary postings.


True and false. Binaries don't compress well (at least not the precompressed
ZIP files and JPEG's), however "binary" newsgroups are composed of files
that have been UUENCODED or converted into MIME files. As far as the news
servers are concerned, these are ASCII files.

Therefore, by using gzip on these files, a very good compression can be
achieved.

-Tony



Re: NNTP Compression (was Re: Feed external process from Diablo?)
#23876
Author: Christopher Sedore
Date: Tue, 02 Dec 1997 00:00
44 lines
2220 bytes


> From:	Christopher Sedore 
> Subject:	Re: NNTP Compression (was Re: Feed external process from
> Diablo?)
> 
> 	From:	Jeff Garzik 
> 
> 	Christopher Sedore wrote:
> 	> I use the same compression as gzip (from zlib).  I simply do a
> "mode
> 	> compress" after the mode stream, and do compression if I get a
> 203
	[...]

> 	The only downside is that you lost per-site granularity when
> using a TCP
> 	redirector...  it would be better if something like this made it
> into
> 	the core news router engines...  And make sure you default the
> feature
> 	to OFF.  :)
> 
> After a bit of hacking this evening, I got diablo 1.14 to receive
> compressed streams from NNTPRelay.  I'm looking into having diablo
> generate them, too, but it isn't quite as easy.
> 
Alright, so doing it for diablo wasn't as hard as I thought.  I have at
minimum a working on-the-fly compression between diablo and NNTPRelay.
Ignoring any bugs, it will also work diablo<->diablo and
NNTPRelay<->NNTPRelay.  Both can send and receive.  The code needs more
cleanup (like not using the streaming responses, etc), but it works now
and is fairly clean.  Actually, the diablo version is cleaner since it
was my second go-round :)

Time for bed,

-Chris




NNTP Compression (was Re: Feed external process from Diablo?)
#23878
Author: Jeff Garzik
Date: Tue, 02 Dec 1997 00:00
40 lines
2505 bytes
Christopher Sedore wrote:
> I use the same compression as gzip (from zlib).  I simply do a "mode
> compress" after the mode stream, and do compression if I get a 203
> response code (sometime later I should change to a new code).  Even the
> streaming commands compress reasonably well (1.5:1 or 2:1 typically)

There's a smidgen of code that does this lying around my project
directories, remarkably like what you describe here.

It's basically a TCP redirector, with compression.  It's probably
generic enough to work with any lock-step text protocol, NNTP, SMTP,
whatever.

After issuing a MODE COMPRESS (that's what I called it too), the
upstream site breaks a conversation into compression packets before it
sends to the remote.  I use zlib compression too (isn't it nice?).  For
each NNTP command, I send

			magic number (network long, 0xBEDAC0ED :) )
			length of gzipped packet (network long)
gzip stream begins	NNTP protocol command
			NNTP data (article, LIST ACTIVE, ...)
gzip stream ends	NNTP protocol terminator (.)

The turnaround time for CHECKs is pretty good, considering that each
CHECK is individually compressed and decompressed.

The downstream site's responses are not compressed at all.

The only downside is that you lost per-site granularity when using a TCP
redirector...  it would be better if something like this made it into
the core news router engines...  And make sure you default the feature
to OFF.  :)
-- 
Jeff Garzik			    Typhoon, Cyclone, Diablo, and INN
Spinne USENET News Service	        Fast and efficient news feeds
http://www.spinne.com/usenet/	           News tuning and consulting

Re: Feed external process from Diablo?
#23887
Author: Christopher Sedore
Date: Tue, 02 Dec 1997 00:00
58 lines
2947 bytes


> -----Original Message-----
> From:	Anthony Kueh 
> Subject:	Re: Feed external process from Diablo?
> 
> What kind of compression mechanism are you using? Also, is there a
> flag that
> you're setting (like the flags for streaming mode) during the
> handshake to
> tell the remote server that you're sending compressed data?
> 
> It would be interesting if this mechanism can be added into
> peering-type
> NNTP servers (ie. NNTPRelay, Diablo, Cyclone, etc). And then the
> peering
> system can feed to an innd server on the local ethernet for user
> access. Any
> thoughts?
> 
I use the same compression as gzip (from zlib).  I simply do a "mode
compress" after the mode stream, and do compression if I get a 203
response code (sometime later I should change to a new code).  Even the
streaming commands compress reasonably well (1.5:1 or 2:1 typically)

Writing a receiver would be fairly easy.  I've thought of writing a
daemon for INN/Diablo/Cyclone/whatever to allow reception of compressed
feeds.  Sending them requires messing with the guts more because you
have to flush the compressor to ensure that you don't stall the remote
end.  I may do a daemon here, but I wanted to try it first, and given
the way my code is organized, it was easier to integrate it rather than
externalize it.  I got to browsing Diablo source tonight to see how easy
it would be to add directly, but didn't really finish.

More efficiency could be gained yet by moving to a binary exchange
protocol using message-id hashes in fixed size message blocks instead of
variable length text commands.  This would both improve overall
performance and reduce bandwidth utilization.  I'm hoping for a few
hours to write up some code to try this, too.  

-Chris

[...]


> Christopher Sedore wrote in message
> >I implemented a compress-on-the-fly feed for NNTPRelay over
> >thanksgiving.  I haven't had a chance to try it on the binaries
> groups
> >yet, but I see rates of about 2.6:1 compression against a
> >!alt.bin*,!alt.sex* feed.  I compress the entire forward feed stream
> >(check, takethis, and articles).  Responses are not compressed.
> 
> 


Re: Feed external process from Diablo?
#23888
Author: Ian Stirling
Date: Tue, 02 Dec 1997 00:00
36 lines
2523 bytes
Christopher Sedore <cmsedore@maxwell.syr.edu> wrote:


:> -----Original Message-----
:> From:	Anthony Kueh 
:> Subject:	Re: Feed external process from Diablo?
:> 
:> What kind of compression mechanism are you using? Also, is there a
:> flag that
:> you're setting (like the flags for streaming mode) during the
:> handshake to
:> tell the remote server that you're sending compressed data?
:> 
<snip>
Extra performance for end-users could also be helped by a more, and
widely distributed xover fields, for example, a 
X-Message-ID: 
and 
X-Referances: 
Bascally changing message-ID's into small constant sized units, which
would speed up access by a factor of 5 or so.
Also, 
X-Content-Hash: xyf34Pd djfjghj4$

which contains MD5 hashes of any binary parts in the message.

Not likely to be of much use, till they are widely in use.

-- 
Ian Stirling.   Designing a linux PDA, see  http://www.mauve.demon.co.uk/
----- ******* If replying by email, check notices in header ******* -----
"I am the Emperor, and I want dumplings."      Austrian Emperor, Ferdinand I.


Re: Feed external process from Diablo?
#23908
Author: Andrew Gierth
Date: Tue, 02 Dec 1997 00:00
27 lines
1678 bytes
>>>>> "Anthony" == Anthony Kueh <kueh@remove.me.for.no.spam.uiuc.edu> writes:

 Anthony> True and false. Binaries don't compress well (at least not
 Anthony> the precompressed ZIP files and JPEG's), however "binary"
 Anthony> newsgroups are composed of files that have been UUENCODED or
 Anthony> converted into MIME files. As far as the news servers are
 Anthony> concerned, these are ASCII files.

 Anthony> Therefore, by using gzip on these files, a very good
 Anthony> compression can be achieved.

A quick test on a random jpeg:

 129543 bytes original size
 129375 bytes gzipped
 178511 bytes uuencoded
 134985 bytes uuencoded then gzipped
 175123 bytes base-64
 132958 bytes base-64 gzipped

I don't call that "very good".

-- 
Andrew.

Re: NNTP Compression (was Re: Feed external process from Diablo?)
#23912
Author: Christopher Sedore
Date: Tue, 02 Dec 1997 00:00
60 lines
3044 bytes

> -----Original Message-----
> From:	Jeff Garzik 
> Subject:	NNTP Compression (was Re: Feed external process from
> Diablo?)
> 
> Christopher Sedore wrote:
> > I use the same compression as gzip (from zlib).  I simply do a "mode
> > compress" after the mode stream, and do compression if I get a 203
> > response code (sometime later I should change to a new code).  Even
> the
> > streaming commands compress reasonably well (1.5:1 or 2:1 typically)
> 
> There's a smidgen of code that does this lying around my project
> directories, remarkably like what you describe here.
> 
> It's basically a TCP redirector, with compression.  It's probably
> generic enough to work with any lock-step text protocol, NNTP, SMTP,
> whatever.
> 
> After issuing a MODE COMPRESS (that's what I called it too), the
> upstream site breaks a conversation into compression packets before it
> sends to the remote.  I use zlib compression too (isn't it nice?).
> For
> each NNTP command, I send
> 
> 			magic number (network long, 0xBEDAC0ED :) )
> 			length of gzipped packet (network long)
> gzip stream begins	NNTP protocol command
> 			NNTP data (article, LIST ACTIVE, ...)
> gzip stream ends	NNTP protocol terminator (.)
> 
> The turnaround time for CHECKs is pretty good, considering that each
> CHECK is individually compressed and decompressed.
> 
I don't packetize my data, I simply flush the compressor for each
"atomic" transaction.  This gets maximum compression benefit and lowest
CPU utilization.  So far, most of my testing has been done via
modem/PPP, so turnaround hasn't been a real problem. :)

> The downstream site's responses are not compressed at all.
> 
Same here.

> The only downside is that you lost per-site granularity when using a
> TCP
> redirector...  it would be better if something like this made it into
> the core news router engines...  And make sure you default the feature
> to OFF.  :)
> 
After a bit of hacking this evening, I got diablo 1.14 to receive
compressed streams from NNTPRelay.  I'm looking into having diablo
generate them, too, but it isn't quite as easy.

-Chris



Re: Feed external process from Diablo?
#23917
Author: bill davidsen
Date: Wed, 03 Dec 1997 00:00
42 lines
2444 bytes
In article <65vo0o$q3i$1@vixen.cso.uiuc.edu>,
Anthony Kueh <kueh@remove.me.for.no.spam.uiuc.edu> wrote:
| Hmm.. maybe "very good" isn't the word, here's what I got:
| 
| (grabbed file directly from alt.binaries group)
| 
| 228677 bytes original size
| 172826 bytes gzipped Lempel-Ziv algo
| 
| That's approximately 24.4%. Your sample came out to 24.4% (uuencoded) and
| 24.1% (base-64). If these figures are consistant, this could mean about a
| 22% savings (considering binaries are about 80-90% of the bandwidth usage)
| in bandwidth.

Sounds like a very high percentage of bandwidth. If the binaries in
the spool are about half the storage, I don't see why they aren't
only half the bandwidth.

On a small server with three days of news (flat expire) I have:
  12199980k online arts
    232485k /usr/spool/news/alt/sex/pictures
   6979553k /usr/spool/news/alt/binaries

So maybe 60% is binaries, call it 65% including other stuff I didn't
catch, and so the savings is 25% on 65% and about 60% on the rest.
  .65 * .75 + .35 * .40 = .625
savings 35% or so overall. And compressed batches stream much better
than streaming NNTP, so there's another win if you are looking for
reduced transfer time as well as fewer bytes.

Compression is not going to solve all the bandwidth problems in the
world, but it certainly is a useful thing to do until bandwidth
becomes "too cheap to meter" (if you don't recognize that quote
you're too young).
--
    bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
I don't think she NEEDS assertiveness training... she can haggle hot dog
prices with a NY city sidewalk vendor. When she thinks she's right she
can make a blind man see her point.

Re: NNTP Compression (was Re: Feed external process from Diablo?)
#23947
Author: Terry Kennedy
Date: Wed, 03 Dec 1997 00:00
22 lines
2219 bytes
Christopher Sedore <cmsedore@maxwell.syr.edu> writes:
> Alright, so doing it for diablo wasn't as hard as I thought.  I have at
> minimum a working on-the-fly compression between diablo and NNTPRelay.
> Ignoring any bugs, it will also work diablo<->diablo and
> NNTPRelay<->NNTPRelay.  Both can send and receive.  The code needs more
> cleanup (like not using the streaming responses, etc), but it works now
> and is fairly clean.  Actually, the diablo version is cleaner since it
> was my second go-round :)

  Gimme 8-)

  Seriously, can you send this to Matt so it shows up in the next release (if
he agrees)? I've got an international customer on a 768Kb satellite line that's
horribly overloaded and we're using this bizarre gzip-via-rsh thing, and it's
the last thing keeping me from upgrading that C News server to Diablo.

	Terry Kennedy		  Operations Manager, Academic Computing
	terry@spcvxa.spc.edu	  St. Peter's College, Jersey City, NJ USA
        +1 201 915 9381 (voice)   +1 201 435-3662 (FAX)

Re: NNTP Compression (was Re: Feed external process from Diablo?)
#23962
Author: bill davidsen
Date: Wed, 03 Dec 1997 00:00
21 lines
1691 bytes
In article <EKLqJG.HqJ@spcuna.spc.edu>,
Terry Kennedy  <terry@spcuna.spc.edu> wrote:

|   Seriously, can you send this to Matt so it shows up in the next release (if
| he agrees)? I've got an international customer on a 768Kb satellite line that's
| horribly overloaded and we're using this bizarre gzip-via-rsh thing, and it's
| the last thing keeping me from upgrading that C News server to Diablo.

At the risk of really offending someone, this is exactly where
compressed batches and UUCP over TCP will buy you a big gain. All
the hooks are there to do this with INN, and I assume he has few
feeds over a link like that.
--
    bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
I don't think she NEEDS assertiveness training... she can haggle hot dog
prices with a NY city sidewalk vendor. When she thinks she's right she
can make a blind man see her point.


Re: NNTP Compression (was Re: Feed external process from Diablo?)
#23991
Author: Terry Kennedy
Date: Thu, 04 Dec 1997 00:00
30 lines
2584 bytes
bill davidsen <davidsen@tmr.com> writes:
> At the risk of really offending someone, this is exactly where
> compressed batches and UUCP over TCP will buy you a big gain. All
> the hooks are there to do this with INN, and I assume he has few
> feeds over a link like that.

  As far as I know, we're his only feed - he's happy with us (see footnote)
and doesn't see the need for others.

  The problem with UUCP batching is that it ties up space on the local system
for news he's not ready to receive. Also, canceled articles can still wind up
in batches (depending on the batching window). With the current implementation,
he connects to us and we build a compressed file on-the fly and pipe it back
to him.

  Note: as far as I can tell, international sites pay so much for bandwidth
to the US that what provider they connect to and where in the US that provider
is, is a completely trivial part of their costs. So we go out of our way to
accomodate their needs, and they've said they weren't happy with UUCP batches
over TCP. I was looking at the compressed Diablo feed as something they might
want to try.

  [Obviously, the above relates to my work at New York Net, not SPC.]

	Terry Kennedy		  Operations Manager, Academic Computing
	terry@spcvxa.spc.edu	  St. Peter's College, Jersey City, NJ USA
        +1 201 915 9381 (voice)   +1 201 435-3662 (FAX)

Re: NNTP Compression (was Re: Feed external process from Diablo?)
#23998
Author: Chris Sedore
Date: Thu, 04 Dec 1997 00:00
56 lines
3526 bytes
Mike Horwath wrote:
> 
> Christopher Sedore <cmsedore@maxwell.syr.edu> wrote:
> : Alright, so doing it for diablo wasn't as hard as I thought.  I have at
> : minimum a working on-the-fly compression between diablo and NNTPRelay.
> : Ignoring any bugs, it will also work diablo<->diablo and
> : NNTPRelay<->NNTPRelay.  Both can send and receive.  The code needs more
> : cleanup (like not using the streaming responses, etc), but it works now
> : and is fairly clean.  Actually, the diablo version is cleaner since it
> : was my second go-round :)
> 
> So, got some numbers yet to post, or a set of patches?

Dec  4 15:51:36 jaz diablo[3779]: spring               compbytes=72334
decompbytes=191821 (62.29% compression)
Dec  4 16:14:57 jaz diablo[3783]: spring               compbytes=951370
decompbytes=2163218 (56.02% compression)
Dec  4 16:30:36 jaz diablo[3803]: spring               compbytes=537376
decompbytes=1244755 (56.83% compression)
Dec  4 17:00:44 jaz diablo[3814]: spring               compbytes=1731603
decompbytes=4914138 (64.76% compression)
Dec  4 17:06:51 jaz diablo[3837]: spring               compbytes=215318
decompbytes=605032 (64.41% compression)
Dec  4 17:31:19 jaz diablo[3846]: spring               compbytes=1633257
decompbytes=3469413 (52.92% compression)
Dec  4 18:00:52 jaz diablo[3867]: spring               compbytes=2362742
decompbytes=4913353 (51.91% compression)

This is a !alt.bin*,!alt.sex* feed with no size restriction (so some do
binaries come through).

I have a patch set for 1.14 that I'm going to test with a few sites a
first to ensure that the stuff is stable before I dump it on the world
(and potentially embarass myself with a stupid bug or two).  I'll also
be releasing a new version of NNTPRelay with compression (and a pile of
other stuff) at the same time.

FWIW on another topic, I noted that my diablo installation was rejecting
a odd assortment of articles.  I solved it by toasting all but the first
line in dexpire.ctl.  Mine now has a single entry, and my reject numbers
are what they should be (spam only, where before it was hanging around
20-30%).  This is my single entry:

*:4.0:s0.85:c0.95:m2m

I was using the stock dexpire.ctl, so I know that I didn't screw it up. 
I must confess that I don't know if the one I was using was from 1.10 or
1.14, though.

I don't have that much experience with diablo so your milage may vary.
:)

-Chris

Re: NNTP Compression (was Re: Feed external process from Diablo?)
#24026
Author: Mark Hittinger
Date: Fri, 05 Dec 1997 00:00
24 lines
1377 bytes
Jeff Garzik <jeff.garzik@spinne.com> writes:
>We could knock out Cyclone and INN implementations of compressed NNTP
>real quick-like.

FYI:

I tried xreplic compression/decompression within INN last year and I found it 
to slow down the select loop merry-go-round enough that I backed it out.  

Although with new history and time-hash spools it might be worth looking
into again :-)

Most of the work over the past year has been to *reduce* the time spent
in the functions that the select loop calls so that the merry-go-round
can spin fast enough :-)  

Regards,

Mark Hittinger
Netcom/Dallas
bugs@freebsd.netcom.com

Re: NNTP Compression (was Re: Feed external process from Diablo?)
#24053
Author: Jeff Garzik
Date: Fri, 05 Dec 1997 00:00
21 lines
1878 bytes
(posted and mailed)

Chris Sedore wrote:
> I have a patch set for 1.14 that I'm going to test with a few sites a
> first to ensure that the stuff is stable before I dump it on the world
> (and potentially embarass myself with a stupid bug or two).  I'll also
> be releasing a new version of NNTPRelay with compression (and a pile of
> other stuff) at the same time.

Would you mind writing up a short description of your modifications in a
white paper, posted on the Web maybe?

We could knock out Cyclone and INN implementations of compressed NNTP
real quick-like.
-- 
Jeff Garzik			    Typhoon, Cyclone, Diablo, and INN
Spinne USENET News Service	        Fast and efficient news feeds
http://www.spinne.com/usenet/	           News tuning and consulting

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads