Article View: news.software.nntp
Article #30183Re: [Diablo] Removing newsfeed
From: Matt Dillon
Date: Thu, 30 Jul 1998 00:00
Date: Thu, 30 Jul 1998 00:00
80 lines
3356 bytes
3356 bytes
:>:Allan Joergensen <NO!> wrote:
:>:>On 28 Jul 1998 00:21:36 -0700, Matt Dillon <dillon@best.net>
:>:> wrote in <6pju60$51r$1@flea.best.net>:
:..
:>
:>:>2) Is there a way of sorting the articles, say 6 streams for articles <
:>:>4KB and 2 for the rest?
Yes, but you may have to upgrade your release. See if the latest
Diablo-test release compiles on your box.
In the dnewsfeeds file you can put 'minsize' and 'maxsize' directives.
The way you split streams is to split the physical feed. For example,
I split the feeds going to my biggest peers:
label erols1
alias *.erols.com
maxconnect 8
filter best.*
filter bofh.*
filter junk
maxsize 50k
groupref EXTFULL
## temporary
addgroup net.*
rtflush
end
label erols2
alias *.erols.com
maxconnect 8
filter best.*
filter bofh.*
filter junk
minsize 50k
maxsize 250k
groupref EXTFULL
## temporary
addgroup net.*
rtflush
end
And my dspoolout.ctl file contains:
erols1 best-in.news.erols.com 50 realtime d-1
erols2 best-in.news.erols.com 50 realtime
This means I need to have two entries in dspoolout.ctl, one for erols1,
one for erols2. I then specify the number of stream for each separately.
In this case, I'm only pushing two realtime feeds to erols, one for
each entry.
In general terms, if you are talking to a fast *transit* peer you should
only need to push one feed. Doing so also reduces the load on the peer.
When I'm sending feeds to my INN boxes, I generally run several streams
in parallel as well as split the feeds. If I am not sending a redundant
feed to my INN or dreaderd 'leaf' boxes, I generally use a slightly
different dspoolout.ctl line. Here I specify a one-queue-file delay
rather then a realtime feed so the dnewslink statistics tell me
the maximum transfer rate they are able to achieve, and I specify a
large output buffer to try to reduce increase command/response latencies.
(But I don't use large output TCP buffers for most of the feeds because
it, of course, eats a lot of kernel memory).
nntp3 nntp3.ba.best.com 500 n2 T131072 R16384 nocheck q1
-Matt
:>:>--
:>:>Allan "[DW]" Joergensen - <URL:http://www.nowhere.dk>
:>
:>
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Technical Details
Message-ID:
<6pqclm$foa$1@flea.best.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<slrn6rqs27.6kb.dw@coredump.nowhere.dk> <6pju60$51r$1@flea.best.net> <slrn6s0ljt.4gv.dw@coredump.nowhere.dk> <6pqbt0$c0m$1@flea.best.net>Show Full Headers
Complete Article Headers
Message-ID: <6pqclm$foa$1@flea.best.net> Subject: Re: [Diablo] Removing newsfeed Date: Thu, 30 Jul 1998 00:00:00 +0000 From: dillon@best.net (Matt Dillon) References: <slrn6rqs27.6kb.dw@coredump.nowhere.dk> <6pju60$51r$1@flea.best.net> <slrn6s0ljt.4gv.dw@coredump.nowhere.dk> <6pqbt0$c0m$1@flea.best.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 376410660 X-Trace: 901821946 367 dillon 206.184.139.131 Organization: Best Internet Communications, Inc. Newsgroups: news.software.nntp