🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #14493

Re: Optimizing INN 1.4/1.5 on Linux server

#14493
From: James Youngman
Date: Tue, 28 Jan 1997 00:00
51 lines
3134 bytes
In article <5ce6m7$cjq@quartz.inquo.net>, pete@inquo.net says...

>What I'm trying to find out is what optimizations I can make to increase
>performance on both the feeding and reading of news. I'm looking for FAQs,
>Web sites, USENET postings, whatever, about Linux-specific suggestions.
>
>The areas of optimization I can think of are:
>
> - patches/options in INN server (1.4unoff4 currently, soon 1.5.1) that
>   increase Linux performance, such as MMAP options, etc

> - patches/options/enhancements to NNRP (reader server) to increase
>   performance, and possibly lower memory requirements (such as the
>   shared active patch, if it works with Linux, or modifications that
>   lower the memory overhead of an nnrp session)

IIRC shared-active now works under Linux.

> - administrative methods (changing priorities, frequency of repeatitive
>   tasks, etc)

I modified my expiry script to pass -T /var/tmp to sort because typically the 
list of expired files didn't fit in /tmp and the result was that an unsorted 
list of filenames was passed to fastrm, and so fastrm wasn't fast...until I 
fixed it in this way.

> - patches or adjustments to Linux kernel that increase news performance
>   (ie mount options, kernel optimizations, etc)

Tune your md (RAID0) chunk size; people often find chunk sizes of the order of 
their drives' cache size the best, but YMMV.

There is a patch for ext2fs that suppresses the update of the atime (at least) 
by using the mount option -o noatime; this option was designed specifically to 
speed up news systems.   There is also the new VIVA filesystem that has been 
designed for this kind of application although this is still under development 
I think.

>Thanks for your input. If there is not a Web page dedicated to this type
>of thing, I will plan on putting one together based on your input
>(credited to the appropriate author), to help others who are using Linux
>as a high-performance server like this.

-- 
James Youngman       VG Gas Analysis Systems |The trouble with the rat-race 
 Before sending advertising material, read   |is, even if you win, you're 
http://www.law.cornell.edu/uscode/47/227.html|still a rat.


Technical Details
Message-ID: <5cki6f$c93@halon.vggas.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <5ce6m7$cjq@quartz.inquo.net>

Show Full Headers
Complete Article Headers
Message-ID: <5cki6f$c93@halon.vggas.com>
Subject: Re: Optimizing INN 1.4/1.5 on Linux server
Date: Tue, 28 Jan 1997 00:00:00 +0000
From: JYoungman@vggas.com (James Youngman)
References: <5ce6m7$cjq@quartz.inquo.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 212712870
Distribution: world
Content-type: Text/Plain; charset=US-ASCII
Summary: Optimizing Linux/INN for maximum performance
Organization: VG Gas Analysis Systems
Keywords: Linux INN news optimization optimize
Mime-version: 1.0
Newsgroups: news.software.nntp,comp.os.linux.networking,comp.os.linux.setup,comp.os.linux.development.system