🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
9 messages
9 total messages Started by Paul Black Sat, 11 May 1996 00:00
Inn 1.4 Unoff4 Speedup
#7501
Author: Paul Black
Date: Sat, 11 May 1996 00:00
18 lines
1237 bytes
I've taken over the news admin role on a public access linux based news
server. It takes about 60 - 80,000 news articles per day and keeps them
for three days. I've made the machine work much better by:

	- Upgrading to Inn 1.4 Unoff 4
	- Upgrading kernel to use MMAP and Unix domain comms
	- Moving overview files to /var/spool/news/over.view
	- Getting rid of nntp-link and using batching and innxmit to
          take advantage of streaming mode (big improvement!)

The expire processing seems to take about 6 hours which seems to be way too
long. If anyone could give me some tips on how to speed up expiry it
would be appreciated. Any other tips on performance would be very good too.

Cheers...  Paul

Re: Inn 1.4 Unoff4 Speedup
#7493
Author: Marc G. Fournier
Date: Sat, 11 May 1996 00:00
19 lines
1281 bytes
paulb@apana.org.au (Paul Black) writes:

>The expire processing seems to take about 6 hours which seems to be way too
>long. If anyone could give me some tips on how to speed up expiry it
>would be appreciated. Any other tips on performance would be very good too.


	How much memory do you have on that machine?  How many clients
reading news?  When do you perform the expire?  How many incoming and
outgoing feeds?

-- 
Marc G. Fournier | POP Mail  Telnet Acct  DNS Hosting
System           |  WWW Services   Database Services  | Knowledge, 
  Administrator  |                                    | Information and
 scrappy@ki.net  |      WWW: http://www.ki.net        | Communications, Inc

Re: Inn 1.4 Unoff4 Speedup
#7513
Author: Miquel van Smoorenburg
Date: Sun, 12 May 1996 00:00
18 lines
1284 bytes
In article <4n34og$b8p@iggy.apana.org.au>,
Paul Black <paulb@apana.org.au> wrote:
>The expire processing seems to take about 6 hours which seems to be way too
>long. If anyone could give me some tips on how to speed up expiry it
>would be appreciated. Any other tips on performance would be very good too.

Last week somebody figured out that if you increment the NHG_SIZE
define in expire/expire.c to for example 2048 or 8192, expire time
goes down with sometimes as much as 50%...

Mike.
-- 
  Miquel van    | Cistron Internet Services   --    Alphen aan den Rijn.
  Smoorenburg,  | mailto:info@cistron.nl          http://www.cistron.nl/
miquels@het.net | Tel: +31-172-419445 (Voice) 430979 (Fax) 442580 (Data)

Re: Inn 1.4 Unoff4 Speedup
#7523
Author: Per Persson
Date: Sun, 12 May 1996 00:00
18 lines
1071 bytes
In article <4n34og$b8p@iggy.apana.org.au>,
Paul Black <paulb@apana.org.au> wrote:
>
>The expire processing seems to take about 6 hours which seems to be way too
>long. If anyone could give me some tips on how to speed up expiry it
>would be appreciated. Any other tips on performance would be very good too.

One thing I'd recommend would be to use `dexpire' instead of the expire
coming with INN. You can find dexpire at;

ftp://ftp.ee.lbl.gov

Not only does it speed things up, it makes life much much easier as well.

--pp

Re: Inn 1.4 Unoff4 Speedup
#7540
Author: Marc G. Fournier
Date: Mon, 13 May 1996 00:00
26 lines
1714 bytes
barr@math.psu.edu (Dave Barr) writes:

>In article <4n6tic$2dv@iggy.apana.org.au>,
>Paul Black <paulb@apana.org.au> wrote:
>>Marc G. Fournier (scrappy@freebsd.ki.net) wrote:
>>: paulb@apana.org.au (Paul Black) writes:
>>: >The expire processing seems to take about 6 hours which seems to be way too
>>: >long. If anyone could give me some tips on how to speed up expiry it
>>: >would be appreciated. Any other tips on performance would be very good too.
>>
>>The machine is a DX4-100 with 32 Mbytes of RAM,

>Double your RAM and you should see a significant if not dramatic
>increase in performance.

	That was my first thought too, but I'm running the same
configuration as he is, and my expire times are running about an
hour to an hour and half...
-- 
Marc G. Fournier | POP Mail  Telnet Acct  DNS Hosting
System           |  WWW Services   Database Services  | Knowledge, 
  Administrator  |                                    | Information and
 scrappy@ki.net  |      WWW: http://www.ki.net        | Communications, Inc

Re: Inn 1.4 Unoff4 Speedup
#7541
Author: Dave Barr
Date: Mon, 13 May 1996 00:00
17 lines
1191 bytes
In article <4n6tic$2dv@iggy.apana.org.au>,
Paul Black <paulb@apana.org.au> wrote:
>Marc G. Fournier (scrappy@freebsd.ki.net) wrote:
>: paulb@apana.org.au (Paul Black) writes:
>: >The expire processing seems to take about 6 hours which seems to be way too
>: >long. If anyone could give me some tips on how to speed up expiry it
>: >would be appreciated. Any other tips on performance would be very good too.
>
>The machine is a DX4-100 with 32 Mbytes of RAM,

Double your RAM and you should see a significant if not dramatic
increase in performance.

--Dave

Re: Inn 1.4 Unoff4 Speedup
#7555
Author: Marc G. Fournier
Date: Mon, 13 May 1996 00:00
59 lines
3049 bytes
paulb@apana.org.au (Paul Black) writes:

>Marc G. Fournier (scrappy@freebsd.ki.net) wrote:
>: paulb@apana.org.au (Paul Black) writes:
>: 
>: >The expire processing seems to take about 6 hours which seems to be way too
>: >long. If anyone could give me some tips on how to speed up expiry it
>: >would be appreciated. Any other tips on performance would be very good too.
>: 
>: 
>: 	How much memory do you have on that machine?  How many clients
>: reading news?  When do you perform the expire?  How many incoming and
>: outgoing feeds?

>The machine is a DX4-100 with 32 Mbytes of RAM, We are batching feeds out 
>to about 6 other machines, plus about 3 or 4 sites which use this machine
>as their news server. The expire is performed at 10 am when a lot of 
>people are at work. There are 2 main incoming feeds each with a V.34 modem
>link. We are receiving around 80,000 - 100,000 articles per day. Does
>this help?

	Well, you are running the same machine as myself, close to the
same number of articles per day...what is your expire on groups? what
is your remember level set at for history file?

	Right now, I'm running expire at 3am, so that all my systems
are at their quiets, have 5 in/out news feeds...my remember is set
at only 7, but will most likely increase that back up to 14 yet, but my
expire times right now are running at between 1 and 2 hrs.

	Whether it helped particularly or not, I have been unable to
test, but the most recent suggestion towards reducing expire times is
to change expire.c so that:

#define NGH_SIZE        128

	becomes:

#define NGH_SIZE        2048

	some have even tried 8192, but Idon't know what exactly
this affects, or whether there is a simple method to determine what
that value can/should be.

	Oh, one other major thing, how are you running news.daily?
Are you running it as 'news.daily delayrm'?  That tends to greatly
boost the speed of expiry, as it forces the expire program to
concentrate its activities on processing the history file, while
creating an 'expire' list of articles to delete after the history
file is finished.

-- 
Marc G. Fournier | POP Mail  Telnet Acct  DNS Hosting
System           |  WWW Services   Database Services  | Knowledge, 
  Administrator  |                                    | Information and
 scrappy@ki.net  |      WWW: http://www.ki.net        | Communications, Inc

Re: Inn 1.4 Unoff4 Speedup
#7562
Author: Paul Black
Date: Mon, 13 May 1996 00:00
22 lines
1473 bytes
Marc G. Fournier (scrappy@freebsd.ki.net) wrote:
: paulb@apana.org.au (Paul Black) writes:
: 
: >The expire processing seems to take about 6 hours which seems to be way too
: >long. If anyone could give me some tips on how to speed up expiry it
: >would be appreciated. Any other tips on performance would be very good too.
: 
: 
: 	How much memory do you have on that machine?  How many clients
: reading news?  When do you perform the expire?  How many incoming and
: outgoing feeds?

The machine is a DX4-100 with 32 Mbytes of RAM, We are batching feeds out 
to about 6 other machines, plus about 3 or 4 sites which use this machine
as their news server. The expire is performed at 10 am when a lot of 
people are at work. There are 2 main incoming feeds each with a V.34 modem
link. We are receiving around 80,000 - 100,000 articles per day. Does
this help?


Re: Inn 1.4 Unoff4 Speedup
#7639
Author: T. William Wells
Date: Wed, 15 May 1996 00:00
18 lines
1350 bytes
In article <4n4rr5$6af@q.cistron.nl>,
Miquel van Smoorenburg <miquels@Q.cistron.nl> wrote:
: In article <4n34og$b8p@iggy.apana.org.au>,
: Paul Black <paulb@apana.org.au> wrote:
: >The expire processing seems to take about 6 hours which seems to be way too
: >long. If anyone could give me some tips on how to speed up expiry it
: >would be appreciated. Any other tips on performance would be very good too.
:
: Last week somebody figured out that if you increment the NHG_SIZE
: define in expire/expire.c to for example 2048 or 8192, expire time
: goes down with sometimes as much as 50%...

NGH_SIZE, I believe, and it only affects CPU usage. I'll don't
imagine that he's spending 6 hours of CPU time. However, I would
believe that he's not using fastrm.....

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