🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Pete Kruckenberg Sat, 25 Jan 1997 00:00
Optimizing INN 1.4/1.5 on Linux server
#14418
Author: Pete Kruckenberg
Date: Sat, 25 Jan 1997 00:00
38 lines
2492 bytes
I'm sure this question has been asked many times, but I'm not having much
success finding existing stuff via search engines.

I have just rebuilt a news server which used to run FreeBSD 2.2, and I'm
experimenting now with Linux 2.0.28 (RedHat 4.0). The system is a Pentium
166, Adaptec 2940W, 3 SCSI-Wide 4GB drives (in RAID0 array using md),
128MB EDO RAM, SMC Etherpower PCI Ethernet card. There are currently 20
feeds, of which 14 are all newsgroups, and about 20 simultaneous news
reader sessions.

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)
 - administrative methods (changing priorities, frequency of repeatitive
   tasks, etc)
 - patches or adjustments to Linux kernel that increase news performance
   (ie mount options, kernel optimizations, etc)

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.

Pete Kruckenberg
pete@inquo.net


Re: Optimizing INN 1.4/1.5 on Linux server
#14493
Author: 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.


Re: Optimizing INN 1.4/1.5 on Linux server
#14529
Author: Matus Uhlar
Date: Tue, 28 Jan 1997 00:00
15 lines
1443 bytes
In news.software.nntp Pete Kruckenberg <pete@inquo.net> wrote:
-> 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.

- split hard used disk partitions onto more disks (one - two - three for
  spool, one for overview data, one for history and active)
- install more memory probably
-- 
 E-mail: Matus.Uhlar@tuke.sk WWW: http://ccsun.tuke.sk/users/uhlar
 IRC: fantomas, TALK: uhlar@ccnews.ke.sanet.sk
 ...and if you think I'm talking for my employer, you're wrong...

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