🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Heiko Schlichting Thu, 30 Nov 1995 00:00
INN performance problems (Irix 5.3)
#3964
Author: 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


Re: INN performance problems (Irix 5.3)
#3962
Author: Robert Keller
Date: Thu, 30 Nov 1995 00:00
50 lines
2747 bytes
Heiko Schlichting <heiko@chemie.fu-berlin.de> wrote:
>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.
:
>	 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.
:
>	 IRIX 5.3 with XFS (I didn't use XFS for news yet)

>I couldn't find what the bottleneck is:

I'm almost positive that you're spending all your time in the kernel efs
driver trying to find 32K worth of contiguous disk space.  On an extremely
fragmented efs disk that can take a lots of cpu time.  You can reduce the 
default efs write pre-allocation to 4K by added the parameter

	lbsize=4096 

to your news spool's /etc/fstab entry (Check the fstab man page for exact
usage info).

The real solution here is to migrate to xfs.  efs is a fairly old filesystem
and doesn't perform nearly as well as xfs.  I have a similar machine to yours
4CPU Challenge with an 8G xfs spool serving over 200 simultaneous NNRPD (of 
about 700 daily internal client hosts), 5 full slave feeds, 6 lighter feeds, 
and 2 other full incoming feeds.  Even though the machine does much more 
than just news, the news performance is very fast.

I have noticed an INN performance problem with the NEWNEWS nntp request.  If 
the XOVER information for a particular newsgroup is missing some articles, 
NEWNEWS will get innd to go check the newsspool and read the individual files
and compile the NEWNEWS information at the expense of everything else innd 
usually does.  This can give the appearance that innd is quite wedged.  Even
though it is not usual to be missing XOVER information, but just to be sure 
that I'm not vulnerable for too long, I run expireover with the -a flag each 
night.

Check out 

    http://reality.sgi.com/employees/rck/software

for my other INN for SGI tips.

...robert

Re: INN performance problems (Irix 5.3)
#3968
Author: Jan van der Knaap
Date: Thu, 30 Nov 1995 00:00
20 lines
1192 bytes
--snip
>         lbsize=4096 
> 
> to your news spool's /etc/fstab entry (Check the fstab man page for exact
> usage info).
> 
> The real solution here is to migrate to xfs.

Interesting because my inn system is suffering from the same performance
problems even with lbsize=4096. How do I get xfs? is it somewhere on my
IRIX 5.3 CD or is this some expensive new feature ?


Cheers
Jan

------------------------------------------------------------------
"In the beginning, there was nothing. Then even *that* exploded !"

Re: INN performance problems (Irix 5.3)
#3984
Author: Winfried Magerl
Date: Mon, 04 Dec 1995 00:00
48 lines
2612 bytes
In article <49j66r$v9@fido.asd.sgi.com>,
Robert Keller <rck@fangio.asd.sgi.com> wrote:
>Heiko Schlichting <heiko@chemie.fu-berlin.de> wrote:
>>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.
>:
>>	 86 GB disk space
>>		using 8 GB for news-spool on 4 disks (FAST&WIDE) on four
>>		different SCSI controllers with stripes in /etc/lvtab.
>>		and 1.5 GB for news-lib on a seperate disk.
>:
>>	 IRIX 5.3 with XFS (I didn't use XFS for news yet)
>
>>I couldn't find what the bottleneck is:
>
>I'm almost positive that you're spending all your time in the kernel efs
>driver trying to find 32K worth of contiguous disk space.  On an extremely
>fragmented efs disk that can take a lots of cpu time.  You can reduce the 
>default efs write pre-allocation to 4K by added the parameter
>
>	lbsize@96 
[....]

Thank you for all the hints to SGI, but I don't think that can help
for this problem. I have two SGI's running INN1.4unoff3, one with
IRIX5.2 and one with IRIX5.3 and I never see any large difference
on performance on both systems (Crimson with 100MHz and an Indigo2
with 150MHz).
Maybe innd hangs on a gethostbyaddress(), but why is he so slow
on retrieving articles from other sites ??
Could you check your configuration for this (/etc/resolv.conf)
or do a nslookup on the IP-number of the connecting host to see how
fast it works for you.
You can also do a "par -s -SS -p <PID>" to INN to see if you find
a sleep or something else while you try to connect.

regards

	winfried

-- 
Winfried Magerl - Internet Administration
Siemens Business Services, 81739 Munich, Germany
Internet-Mail: Winfried.Magerl@mch.sni.de

Re: INN performance problems (Irix 5.3)
#3988
Author: Benjamin Z. Goldsteen
Date: Tue, 05 Dec 1995 00:00
36 lines
2553 bytes
o.e.aurbakken@usit.uio.no (Odd Einar Aurbakken) writes:

>In article <jan-3011952010550001@stargate.publishnet.nl>, jan@publishnet.nl (Jan van der Knaap) writes:
>> > The real solution here is to migrate to xfs.
>> 
>> Interesting because my inn system is suffering from the same performance
>> problems even with lbsize=4096. How do I get xfs? is it somewhere on my
>> IRIX 5.3 CD or is this some expensive new feature ?

>Very interesting because my INN system is suffering from the same
>performance problems even with XFS. I get articles offered four times
>at an average (110-140K art/day). The machine accepts 2.5-3 art/sec
>at best. Articles get sendt out about 3.5 times at an average.
>It's a Challenge with a 175MZ R4400 CPU, 128MB RAM, 4 * 4.2 GB FWD
>SCSI II disks on two WD33C95A controllers for spool and overview.
>Another disks for history and XFS log. CPU is 70-80% idle, spool disks
>about 50% idle, newslib disk 90% idle. No swapping. 60-90 readers at
>day time. This machine is a bit faster on some operations than my old
>Sparc II, but slower on others. I suspect history lookups to take too
>long. The tag i the history is only 2 bits. It would be nice to push it
>up to 10, but is se no easy way to do it. Using 34 bits is waste. The
>history.pag is already about 30MB.

That's too bad because I average around 2.5 articles/sec running
Cnews/NNmaster on a DG AViiON 5225 with 48 MB RAM and a 2 GB disk.  The
system isn't dedicated to news -- it is a general user machine.  I
think incoming news might take 5% CPU.  I don't know what maximum
processing rate is, though.  An AViiON 5225 is a twin-processor
88100-25/VME based server.  It must be at least 5 years old.  I think
something is wrong...

Best regards,
-- 
Benjamin Z. Goldsteen

Re: INN performance problems (Irix 5.3)
#3989
Author: Odd Einar Aurbakken
Date: Tue, 05 Dec 1995 00:00
27 lines
2095 bytes
In article <jan-3011952010550001@stargate.publishnet.nl>, jan@publishnet.nl (Jan van der Knaap) writes:
> > The real solution here is to migrate to xfs.
> 
> Interesting because my inn system is suffering from the same performance
> problems even with lbsize=4096. How do I get xfs? is it somewhere on my
> IRIX 5.3 CD or is this some expensive new feature ?

Very interesting because my INN system is suffering from the same
performance problems even with XFS. I get articles offered four times
at an average (110-140K art/day). The machine accepts 2.5-3 art/sec
at best. Articles get sendt out about 3.5 times at an average.
It's a Challenge with a 175MZ R4400 CPU, 128MB RAM, 4 * 4.2 GB FWD
SCSI II disks on two WD33C95A controllers for spool and overview.
Another disks for history and XFS log. CPU is 70-80% idle, spool disks
about 50% idle, newslib disk 90% idle. No swapping. 60-90 readers at
day time. This machine is a bit faster on some operations than my old
Sparc II, but slower on others. I suspect history lookups to take too
long. The tag i the history is only 2 bits. It would be nice to push it
up to 10, but is se no easy way to do it. Using 34 bits is waste. The
history.pag is already about 30MB.

I even keep the spool at 75-80% full to maximize speed.
This should run lika a charm, but i just sits there like a frozen pig! :-(

-oea

Re: INN performance problems (Irix 5.3)
#4009
Author: Robert Keller
Date: Sat, 09 Dec 1995 00:00
28 lines
1906 bytes
Odd Einar Aurbakken <o.e.aurbakken@usit.uio.no> wrote:
>Very interesting because my INN system is suffering from the same
>performance problems even with XFS. I get articles offered four times
>at an average (110-140K art/day). The machine accepts 2.5-3 art/sec
>at best. 

Hmmm, when news is really flowing in on my XFS machine, I get 9-10 art/sec 
incoming on my machine, concurrent with about 600 readers and about 6 full 
outgoing slave feeds, and several other lesser ones.  The machine is also 
performing many other tasks at the same time.

Even my 5.3 efs indy is peaking at 6-7 art/sec (usually 4) (10 full 
outgoing feeds) and its news setup is completely suboptimal.

>Articles get sendt out about 3.5 times at an average.
>It's a Challenge with a 175MZ R4400 CPU, 128MB RAM, 4 * 4.2 GB FWD
>SCSI II disks on two WD33C95A controllers for spool and overview.
>Another disks for history and XFS log. CPU is 70-80% idle, spool disks
>about 50% idle, newslib disk 90% idle. No swapping. 60-90 readers at
>day time. 

This doesn't sound like a system under too much stress, are you sure
that your newsfeed can feed you fast enough?

...robert


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