🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Dave Abbott Thu, 17 Sep 1998 00:00
Inn 2.1 Guinea Pig speaks out...
#31465
Author: Dave Abbott
Date: Thu, 17 Sep 1998 00:00
56 lines
2505 bytes
I feel pretty owrn out - I have finally managed to get Inn 2.1 working
on my Linux machine here. It was not easy, as I am not a particular
Usenet guru-type.

Anyway, I seem to be stacking up loads of articles into the cnfs
buffers; posting _seems_ to work (I suppose you are reading this, at
least); and the customers aren't complaining yet.

Maybe they will once the expiry policy shows itself to be wrong - that
is the major problem here. I have converted from Inn 1.4, and I
thought I had just about managed to get a handle on expire.ctl. Now I
am facing a completely different situation.

I have made plenty of cnfs files, but I think they are too big. I have
only got one HD, so I have made several 512Meg cycbuffs and spread
around the groups like this:

cycbuff:BUFF01:/local/u2/news/BUFF01:500000
cycbuff:BUFF02:/local/u2/news/BUFF02:500000
cycbuff:BUFF03:/local/u2/news/BUFF03:500000
cycbuff:BUFF04:/local/u2/news/BUFF04:500000
cycbuff:BUFF05:/local/u2/news/BUFF05:500000
cycbuff:BUFF06:/local/u2/news/BUFF06:500000
cycbuff:BUFF07:/local/u2/news/BUFF07:500000

cycbuff:SBUFF01:/local/u2/news/SBUFF01:100000
cycbuff:SBUFF02:/local/u2/news/SBUFF02:100000
cycbuff:SBUFF03:/local/u2/news/SBUFF03:100000
cycbuff:SBUFF04:/local/u2/news/SBUFF04:100000

metacycbuff:DEFAULT:BUFF01,BUFF02,BUFF03,BUFF06
metacycbuff:SPECIAL:SBUFF03
metacycbuff:ALT-M:BUFF04,BUFF05,BUFF07
metacycbuff:UK:SBUFF01
metacycbuff:ANS:SBUFF02
metacycbuff:JOBS:SBUFF04


And this is the storage.ctl:

timehash:poptel.*:8:0:0
cnfs:*.jobs*:12:0:0:JOBS
cnfs:uk.*,scot.*,ni.*,ie.*:10:0:0:UK
cnfs:*.answers:11:0:0:ANS
cnfs:control,control.*,junk,alt.binaries.*,*.test:7:0:0:SPECIAL
cnfs:alt.*:6:0:0:ALT-M
cnfs:*:5:0:0:DEFAULT

Anyone think that looks stupid? Or brilliant?


Dave Abbott


Re: Inn 2.1 Guinea Pig speaks out...
#31474
Author: Timothy J. Miller
Date: Thu, 17 Sep 1998 00:00
16 lines
1086 bytes
Dave.Abbott@NO.Poptel.net.SPAM (Dave Abbott) writes:

> Anyone think that looks stupid? Or brilliant?

	I hope you're not accepting binaries.

	Oh, and you need more disks.  CNFS really shines on multiple
spindles.

-- 
Cerebus <tmill06@ibm.net>
"Do not piss off the News Admin, for thou art crunchy and taste good with
 ketchup."
		-- Wisdom of the Wires, Scroll XLII.

Re: Inn 2.1 Guinea Pig speaks out...
#31481
Author: Brian Edmonds
Date: Fri, 18 Sep 1998 00:00
21 lines
2390 bytes
Dave Abbott <Dave.Abbott@NO.Poptel.net.SPAM> writes:
> Anyone think that looks stupid? Or brilliant?

Actually, in my experience that looks pretty good.  I'm getting close to
a week with two 512MB cycbuffs for the Big8 on my tranfer server, and
even longer with three of them for alt without binaries.  On my old
Cnews server at home I typically had around 60MB in news.answers, so
I've got two 64MB cycbuffs for it and UUCP maps on my new INN2.1 server, 
and you should do ok with 100MB.

Of course, my transfer server's perl filter also strips misplaced
binaries which probably helps maintain decent expiration times.  With a
486 you probably don't have the CPU to have that luxury, but your extra
gig on the Big8 should help.

-- 
 o         Brian Edmonds <bedmonds@cs.ubc.ca>, Team Jubal Mech Labs
 \\_/\_,   Moderator: rec.arts.anime.creative, rec.music.info/reviews
(*)   (*)  Are you tired of spam?  Visit http://www.spam.abuse.net/spam/

Re: Inn 2.1 Guinea Pig speaks out...
#31491
Author: Brian Edmonds
Date: Fri, 18 Sep 1998 00:00
28 lines
2709 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes:
> If you have only one spindle, putting more than one cycbuff in each
> metacycbuff may cost you some performance.

Dunno, I haven't really thought about it.  My feeling is that it is a
good idea for configurability, should you decide you got it wrong.  It's 
tough to resize cycbuffs, but you can move them between metacycbuffs
with a little care.

Of course, if you're a monster ISP with dozens gigs of disk to throw at
news it may not matter, but I run my servers on 6-8GB total for spool,
history, etc, so I have to be a bit careful.

> You really should have a separate spindle for newslib (i.e. history),
> and preferably one for overview.

Through some benchmarking I've come to the conclusion that for a
smallish reader box 2-3 disks striped with everything on them works
close enough to optimally and is easiest to manage.  For a transfer
server with CNFS or similar technology, it doesn't much matter, though
striping helps some with history.

-- 
 o         Brian Edmonds <bedmonds@cs.ubc.ca>, Team Jubal Mech Labs
 \\_/\_,   Moderator: rec.arts.anime.creative, rec.music.info/reviews
(*)   (*)  Are you tired of spam?  Visit http://www.spam.abuse.net/spam/

Re: Inn 2.1 Guinea Pig speaks out...
#31506
Author: Kjetil Torgrim Homme
Date: Fri, 18 Sep 1998 00:00
16 lines
1363 bytes
If you have only one spindle, putting more than one cycbuff in each
metacycbuff may cost you some performance.

The reasoning is that if there is more than one cycbuff, INN will do
round robin -- on a single spindle that translates into a seek on the
hard drive.  Of course, if no two articles in a row will get put into
the same metacycbuff, this doesn't matter at all.

You really should have a separate spindle for newslib (i.e. history),
and preferably one for overview.  The disks do _not_ have to be new
and fast (but use the slowest disks for spool if you can.)


Kjetil T.

Re: Inn 2.1 Guinea Pig speaks out...
#31510
Author: Ministry of Controlled Substance...
Date: Sat, 19 Sep 1998 00:00
39 lines
2831 bytes
On 18 Sep 1998, Brian Edmonds wrote:

> > You really should have a separate spindle for newslib (i.e. history),
> > and preferably one for overview.
> 
> server with CNFS or similar technology, it doesn't much matter, though
> striping helps some with history.

Are you sure?  It probably depends on what history you are using and how
you access it, but I was under the impression that dbz v6.0 was a memory
pig for the simple reason that it kept everything -- the history hash and
index files -- in memory, rather than hitting the disk for them.

As such, the only history access would be to flush the disk buffers to the
disk proper periodically, with that activity limited to a string of
sequential writes at the end of the history text file, and pretty much
random updating of all the contaminated entries in the hash and index
files.

My experience in trying different disk layouts give no significant benefit
to any particular arrangement, as the periodic (every 30 second by
default) `sync's resulted in all further activity being blocked until the
disk activity was complete.  Any improvements from differing stripe sizes
were negligible compared to the significant time spent blocked given the
large history files needing updating.

A different OS that does not block during these updates would probably see
no performance difference no matter what you do to the history.

On the other hand, the dbz v3 family does require actual read access to
the history text file, while the pag file ideally will remain in memory
and need only the periodic on-disk updating.  Depending on whether you are
receiving many multiple redundant feeds and additional optimizing you've
done to increase the likelihood of getting a true hit where you think
there is one, you may well see a significant performance difference with
different history disk strategies.


Re: Inn 2.1 Guinea Pig speaks out...
#31515
Author: Brian Edmonds
Date: Sat, 19 Sep 1998 00:00
23 lines
2716 bytes
Ministry of Controlled Substances <pivrnec@vszbr.cz> writes:
>> striping helps some with history.
> Are you sure?  It probably depends on what history you are using

I've never been able to keep this whole v3/v6/blah history version thing
straight.  All I can relate is my experience that INN 2.x without tagged
hash effectively killed any machine I have access to during expire
because it is such a memory pig.  With tagged hash I got about 10% extra
feed performance with striped vs. non-striped history filesystems while
pounding articles into the server as fast as it could take them.

And just for grins, with INN 2.x on Intel Solaris as fast as it could
take them was about 250 art/s on a virgin system.  On Linux it was over
300 art/s (without even trying striping).  Of course, 250 art/s is
pretty damn fine, and the other staff around here have more experience
with Solaris, so that's what the servers are running.

-- 
 o         Brian Edmonds <bedmonds@cs.ubc.ca>, Team Jubal Mech Labs
 \\_/\_,   Moderator: rec.arts.anime.creative, rec.music.info/reviews
(*)   (*)  Are you tired of spam?  Visit http://www.spam.abuse.net/spam/

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