🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #3964

INN performance problems (Irix 5.3)

#3964
From: Heiko Schlichting
Date: Thu, 30 Nov 1995 00:00
67 lines
3545 bytes
For several reasons we upgraded our newsserver (news.fu-berlin.de) from
IRIX 5.2 to IRIX 5.3. Before we upgrade we didn't notice any performance
problems accepting about 150,000 articles per day, handle 15 newsfeeds
and approx. 50 simultaneous NNRPDs.

After the OS upgrade we notice that the time INN needs to accept a
connection and to spawn an NNRPD was unacceptable long (up to
four minutes if INN was starting the main loop about all channels when
the connection was made). Additionally IHAVE/SENDME dialog was _very_
slow too now. Much to slow to accept enough articles.

I've tried the following:
	- recompiling INNsec (incl streaming patches) under IRIX 5.3
	  ==> no effekt
	- installing INNunoff3
	  ==> no effekt
	- using READ instead of MMAP
	  ==> no effekt
	- patching INN so that I could use 'ctlinnd stream [yn]' to
	  enable/disable streaming mode without stopping the server.
	  ==> with streaming mode disabled NNRPD processes are generated
	      faster because INN is more often in the for (;;;) loop of
	      CHANreadloop() in innd/chan.c but it is still too slow to
	      accept all articles from the feeds (not a surprise with
	      streaming mode disabled).

As the machine is the same as before the OS upgrade, I assume it is
powerful enough. The overall performance of the system is not worse
(I only have problems with INN; all other services are as fast as before).

System:  SiliconGraphics Challenge L
	 2 R4400 processors (150 MHz)
	 256 MB RAM
	 2 FDDI Boards + 1 Ethernet
	 5 SCSI Controller (FAST&WIDE)
	 86 GB disk space
		using 8 GB for news-spool on 4 disks (FAST&WIDE) on four
		different SCSI controllers with stripes=4 in /etc/lvtab.
		and 1.5 GB for news-lib on a seperate disk.
		news-spool has 2856128 inodes which seems to be the absolute
		maximum for EFS (thank you, SGI, not mention the exact
		maximum of inodes in the mkfs[_efs] manpage and the error
		message of mkfs - at least in IRIX 5.2)
	 IRIX 5.3 with XFS (I didn't use XFS for news yet)
	 Patch SG0000530 (TCP/IP) is installed
	 Other patches installed: 183,197,204,206,248,529,547,613,632,646
	More technical data including a picture :-) about the server are
	available at: http://www.fu-berlin.de/ZEDAT/RUNDGANG/thetis.html

I couldn't find what the bottleneck is:
	- both R4400 processors are 50% idle most of the time.
	- osview reports >100 MB RAM as free.
	- block devices: lread: 3.0-5.0 M/s; lwrite: 1.5-2.1 M/s
			 bread: 400-900 k/s; bwrite: 300-700 k/s
	  this should not a problem on this system.
	- both FDDI rings had not load problems.
	- I notice about 80-150 tfault/s (osview: TLB Actions) but I didn't
	  know what exactly this mean. On a similar system (not a newsserver)
	  are much less tfaults.

Any idea what can cause the performance problem when going from IRIX 5.2
to IRIX 5.3 and what can be done? Is XFS/XLV a good thing for news spool?

Heiko


Technical Details
Message-ID: <49iufg$gag@fu-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.sgi.admin.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <49iufg$gag@fu-berlin.de>
Subject: INN performance problems (Irix 5.3)
Date: Thu, 30 Nov 1995 00:00:00 +0000
From: heiko@chemie.fu-berlin.de (Heiko Schlichting)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.sgi.admin.mbox.zip!not-for-mail
X-Deja-AN: 120405187
Organization: Freie Universitaet Berlin
X-access: 16 17 18
Nntp-posting-user: heiko
Newsgroups: news.software.nntp,comp.sys.sgi.admin