🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #4992

Re: Linux & INN poor performance, help sought.

#4992
From: Jonathan A. Davis
Date: Thu, 15 Feb 1996 00:00
51 lines
3445 bytes
Terry Kennedy, Operations Mgr. (terry@spcvxb.spc.edu) wrote:
:   The user says his kernel has a limit of 256 descriptors (presumably per-
: process, and not the system open file limit). I don't know enough about
: Linux to advise (I'm a BSD-ish sort). Similarly, bash reports "unlimited"
: for the data, stack, and max memory limits, but I don't know what the real
: value of "unlimited" is on the system. If it's small (10-16MB) that could
: also be part of the problem.
: 

Another idea may be to email the BIG-LINUX list at BIG-LINUX@NETSPACE.ORG 
(you might want to subscribe first by sending a subscribe message to 
listserv@netscape.org).  This group deals with issues around large Linux 
installations and I suspect that just about *any* netnews server constitutes 
large.  :-)

Our main campus server is running on a P5/120 with kernel 1.2.13 and INN
1.4 Unoff3.  It has not caused any problems in the 8 months it has operated,
performance or otherwise.  We currently have 5 (mainline) feeds several 
anncilary feeds (special groups, etc...) and run anywhere from 23-65 
simultaneous client connections.

Perhaps (and I didn't see the original post) there is a memory problem.
Nothing saps memory like INN.  And before everyone starts flaming me for 
that remark, I find it is memory well spent.  :-)  A problem we ran into
during initial testing (on a "low" memory machine) is that a low memory
condition would tend to snowball as the initial NNRP process spawned during
a client connection would swap out and not terminate until the client 
disconnected.  This added an extra 1-2MB of memory/swap overhead for each
client connection.  Not good.

One problem is that Linux (in the 1.2 production series) has lousy swapper
code.  An alternative is to run a development kernel (current semi-stable one
seems to be 1.3.57), wait for the 2.0 production kernel release, or install 
the latest kwap patches available for 1.2.13 which improves swap performance 
immeasurably.

The simplest (but most expensive solution) to the above scenario is to upgrade
memory.  If that is indeed the problem with your performance, I would urge this
step as swap space is expensive on performance no matter *how* good your
system deals with it.

Cheers,

-- 
-Jonathan                                                              _  _
------------------------------------------------------------->>>>>>>>-(o)(o)---
 Jonathan A. Davis | Academic Systems Analyst | Hattiesburg/Gulf Park/Stennis
 Computing Center | Box 5171 | 39401 | (601) 266-4103 | jonathan.davis@usm.edu
 http://evergreen.cc.usm.edu/~davis | Linux: The choice of a GNU generation 

Technical Details
Message-ID: <4fu7qc$qcp@thorn.cc.usm.edu>
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: <311F8C62.4BC4@pluto.njcc.com> <4frpsk$q2t@dfw-ixnews1.ix.netcom.com> <1996Feb14.025914.1@spcvxb.spc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <4fu7qc$qcp@thorn.cc.usm.edu>
Subject: Re: Linux & INN poor performance, help sought.
Date: Thu, 15 Feb 1996 00:00:00 +0000
From: davis@evergreen.cc.usm.edu (Jonathan A. Davis)
References: <311F8C62.4BC4@pluto.njcc.com> <4frpsk$q2t@dfw-ixnews1.ix.netcom.com> <1996Feb14.025914.1@spcvxb.spc.edu>
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: 139428831
Distribution: inet
Followup-to: news.software.b,news.software.nntp
Organization: University of Southern Mississippi
Newsgroups: news.software.b,news.software.nntp