🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #21059

Re: Future of INN

#21059
From: Mark Hittinger
Date: Fri, 29 Aug 1997 00:00
42 lines
2690 bytes
coneill@blah.erols.com writes:
>I'm kind of curious what happens when you're running over 1000 concurrent 
>readers.  We peak around 1600-1700 readers here, so I'd like to see actived
>stand up to at least a few hundred before I try it here. :)

Our testing of actived technique (a nice piece of work btw) between 180 and 
400 users we tend to have things hose up about once every 5 hours.  This is 
under solaris 2.5 and I think it might be UDP packet lossage.  I suspect
Solaris is the problem and not actived technique.

Another experiment we've run here is to make a slight adjustment to the
mmap-active technique.  We've pre-built a hash for the active file using
31 bit md5 hashes of the group names and indexed it down to 65536 entries.  
Those entries point to a linked list of nodes that collide on the "% 65536".  
We mmap the active file and mmap this pre-built hash.  The "ps size" shown 
on these nnrpd's is 5.5meg tho! :-)  The mmap'ed files are shared so we 
don't get hosed on the memory usage

unless

we have one idiot who has one of the files open and does traditional disk
writes to it (i.e. me).  Then (I think) Solaris is marking the mmap'ed pages
as invalid and causing the mmap'ed processes to fault in the new pages
(a lot).  This produces worse performance than sysv shared memory technique.

As long as we have everybody using mmap to touch these files then things
are happy and the nnrpd's do not own a unique resource (so we can kill them
without hosing things up).

We seem to be getting a 10% overall performance improvement on the machine
which is testing this code now.  Expires, fastrm's, etc all seem to require
about 10% less time to complete compared to the other slaves that are running
the traditional sysv shared memory nnrpd technique.

Regards,

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

Technical Details
Message-ID: <5u6uql$r95@dfw-ixnews1.ix.netcom.com>
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
References: <33fae65b.40324363@news.hom.net> <5tdk8h$fkh$1@synthemesc.insync.net> <33FD8C0F.41C67EA6@Germany.EU.net> <5tl22a$bc4$1@synthemesc.insync.net> <5u4mt9$s2l$1@earth.execpc.com> <86vi0p7tk5.fsf@blah.erols.com> <5u5hie$et4$1@news5.ais.net> <86u3g976bd.fsf@blah.erols.com>

Show Full Headers
Complete Article Headers
Message-ID: <5u6uql$r95@dfw-ixnews1.ix.netcom.com>
Subject: Re: Future of INN
Date: Fri, 29 Aug 1997 00:00:00 +0000
From: bugs@freebsd.netcom.com (Mark Hittinger)
References: <33fae65b.40324363@news.hom.net> <5tdk8h$fkh$1@synthemesc.insync.net> <33FD8C0F.41C67EA6@Germany.EU.net> <5tl22a$bc4$1@synthemesc.insync.net> <5u4mt9$s2l$1@earth.execpc.com> <86vi0p7tk5.fsf@blah.erols.com> <5u5hie$et4$1@news5.ais.net> <86u3g976bd.fsf@blah.erols.com>
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: 268959118
Organization: Netcom
X-NETCOM-Date: Fri Aug 29 11:53:45 AM CDT 1997
Newsgroups: news.software.nntp