🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
18 messages
18 total messages Started by Graham Broadbridge Mon, 03 Mar 1997 00:00
1.5.1 slow?
#15482
Author: Graham Broadbridge
Date: Mon, 03 Mar 1997 00:00
32 lines
1795 bytes
Has anyone noticed a dramatic decrease in performance when upgrading from
INND 1.4unoff4 to 1.5.1?

The 1.4 installation had no problems keeping up with around 150k 
articles a day on my feed, but 1.5.1 is struggling to process 80k.

I've checked all the obvious things, and only thought left is that 1.5.1
is significantly slower than 1.4.  I'm going to downgrade the system
later to see if that is proven.

Hardware is a Pentium 133 with 64MB RAM.  The machine is not heavily
loaded and in an effort to increase performance I've installed 
innfeed and crosspost.

News spool is on a SCSI disk running the linux no_atime patch.
Overview is in a separate directory structure, and the history
db is on a separate disk.

Linux goliath 2.0.24 #9 Sat Jan 20 10:24:19 EST 1996 i586
goliath [/usr/lib/news] # uptime
  7:01pm  up 96 days,  6:24,  2 users,  load average: 0.99, 0.81, 0.74


-- 
------------------------------------------------------------------------------
 Graham Broadbridge                     Internet <grahamb@peachy.apana.org.au>
 Marsfield  NSW                         AmprNet  <vk2yui@gw.vk2yui.ampr.org>
 Australia                                       <vk2yui@amsat.org>
-------------------------------------------------------------------------------

Re: 1.5.1 slow?
#15466
Author: Harrison Bergeron
Date: Mon, 03 Mar 1997 00:00
41 lines
2193 bytes
Graham Broadbridge grahamb@peachy.apana.org.au:
 >Has anyone noticed a dramatic decrease in performance when upgrading from
 >INND 1.4unoff4 to 1.5.1?
 >
 	Actually, no,yes and no. The first compile that I did without
	the perl support and LIKE_PULLERS DO, was fine, the second time,
	I added perl support and set LIKE_PULLERS DONT an the memory
	use doubled (15 or 20 MB --> 35 or 40) and it got slower. Just
	recompiled With perl support and LIKE_PULLERS DO, and it's back
	to usig less memory, etc.
	
 >Hardware is a Pentium 133 with 64MB RAM.  The machine is not heavily
 >loaded and in an effort to increase performance I've installed 
 >innfeed and crosspost.
 >
 	This machine is a 100 MHz pentium, 64 MB ram, so it's
	similar to yours. I'd try recompiling before downgrading.
	
 >News spool is on a SCSI disk running the linux no_atime patch.
 >Overview is in a separate directory structure, and the history
 >db is on a separate disk.
 >
 	Similar. 2 SCSI's in raid0 mode with md driver and several ide's. 
	(ide's really suck) the logs are on a separate disk as well, since
	I had the option. Don't know if it helps, but it doesn't hurt.
 
 >Linux goliath 2.0.24 #9 Sat Jan 20 10:24:19 EST 1996 i586
 >goliath [/usr/lib/news] # uptime
 >  7:01pm  up 96 days,  6:24,  2 users,  load average: 0.99, 0.81, 0.74
 
 For a load/kernel comprison:
 
  Linux sulu 2.0.26 #1 Fri Nov 29 19:20:18 CST 1996 i586 
   6:18am  up 17 days, 12:23,  2 users,  load average: 2.94, 2.77, 2.02

	If you want a config.data file to look at an compare, email
	me.
drs	

Re: 1.5.1 slow?
#15472
Author: Karsten Weiss
Date: Mon, 03 Mar 1997 00:00
26 lines
1531 bytes
Harrison Bergeron wrote:

> Graham Broadbridge grahamb@peachy.apana.org.au:
>  >Has anyone noticed a dramatic decrease in performance when upgrading from
>  >INND 1.4unoff4 to 1.5.1?
>  >
>  	Actually, no,yes and no. The first compile that I did without
> 	the perl support and LIKE_PULLERS DO, was fine, the second time,
> 	I added perl support and set LIKE_PULLERS DONT an the memory
> 	use doubled (15 or 20 MB --> 35 or 40) and it got slower. Just
> 	recompiled With perl support and LIKE_PULLERS DO, and it's back
> 	to usig less memory, etc.

I also upgraded my little leaf site from 1.4unoff4 to 1.5.1 (revision 5
of the Red Hat RPM with some additional fixes). The insertion of news
batches is MUCH slower than before. I also noticed much more disk
activity.

LIKE_PULLERS is set to DO.

-- 
Karsten Weiss      UUCP:     karsten@addx.au.s.shuttle.de
>ASK FOR PGP KEY<  INTERNET: knweiss@trick.informatik.uni-stuttgart.de

Re: 1.5.1 slow?
#15477
Author: Mike Frisch
Date: Mon, 03 Mar 1997 00:00
18 lines
1178 bytes
On 3 Mar 1997 08:06:21 GMT, Graham Broadbridge <grahamb@peachy.apana.org.au> wrote:
>Has anyone noticed a dramatic decrease in performance when upgrading from
>INND 1.4unoff4 to 1.5.1?

I have noticed a small decrease in performance on my personal 1.5.1
installation (<100 newsgroups, lightly loaded server).  I see it only when
reading news from my INN server. 

Mike.

-- 
======================================================================
Mike Frisch                             Email: mfrisch@saturn.tlug.org
Northstar Technologies      WWW: http://mfrisch.rogerswave.ca/~mfrisch
Newmarket, Ontario, Canada

Re: 1.5.1 slow?
#15514
Author: Heiko W.Rupp
Date: Tue, 04 Mar 1997 00:00
14 lines
1092 bytes
In <5ff5td$3dk$1@addx.au.s.shuttle.de>, Karsten Weiss wrote:
:|of the Red Hat RPM with some additional fixes). The insertion of news
:|batches is MUCH slower than before. I also noticed much more disk
:|activity.

Are the Perl- and Tcl-Hooks defined? Are they actually in use?

-- 
Heiko W.Rupp hwr@pilhuhn.de
  INN FAQ can be found in ftp://ftp.xlink.net/pub/news/docs/
     It is also posted regularly to news.software.{b,nntp} and news.answers.

Re: 1.5.1 slow?
#15521
Author: Perry Rovers
Date: Tue, 04 Mar 1997 00:00
15 lines
1342 bytes
A flock of rogue penguins inspired Karsten Weiss (karsten@addx.au.s.shuttle.de) to tell news.software.nntp:

: I also upgraded my little leaf site from 1.4unoff4 to 1.5.1 (revision 5
: of the Red Hat RPM with some additional fixes). The insertion of news
: batches is MUCH slower than before. I also noticed much more disk
: activity.

Note that if you're using the .rpm version of inn for Redhat you'd better
make sure that you're using the *latest* version. Version 5 seems to be the
latest, but I've seen no real performance decrease in my upgrade to 1.5.x
which I compiled from the sources, so maybe RedHat didn't get it quite right
yet.

Re: 1.5.1 slow?
#15545
Author: Karsten Weiss
Date: Wed, 05 Mar 1997 00:00
30 lines
1863 bytes
Perry Rovers wrote:

> : I also upgraded my little leaf site from 1.4unoff4 to 1.5.1 (revision 5
                                                                 ^^^^^^^^^^
> : of the Red Hat RPM with some additional fixes). The insertion of news
> : batches is MUCH slower than before. I also noticed much more disk
> : activity.

> Note that if you're using the .rpm version of inn for Redhat you'd better
> make sure that you're using the *latest* version. Version 5 seems to be the
> latest, but I've seen no real performance decrease in my upgrade to 1.5.x
> which I compiled from the sources, so maybe RedHat didn't get it quite right
> yet.

Yes, of course. I even mentioned this in my last mail. See above. :-)

However, I already reported 8 bugs to bugs@redhat.com some days ago
(and still got no response - they must be really busy) and found 5
other problems which I'll report soon.

BTW: I just noticed that "MMAP_SYNC" is set to "DO". Could this be
the reason for the lower speed? Is there a reason to set it to "DO"
on Linux?

-- 
Karsten Weiss      UUCP:     karsten@addx.au.s.shuttle.de
>ASK FOR PGP KEY<  INTERNET: knweiss@trick.informatik.uni-stuttgart.de

Re: 1.5.1 slow?
#15551
Author: Karsten Weiss
Date: Wed, 05 Mar 1997 00:00
17 lines
1161 bytes
Heiko W.Rupp wrote:

> In <5ff5td$3dk$1@addx.au.s.shuttle.de>, Karsten Weiss wrote:
> :|of the Red Hat RPM with some additional fixes). The insertion of news
> :|batches is MUCH slower than before. I also noticed much more disk
> :|activity.

> Are the Perl- and Tcl-Hooks defined? Are they actually in use?

"TCL_SUPPORT" and "PERL_SUPPORT" are both set to "DONT".

-- 
Karsten Weiss      UUCP:     karsten@addx.au.s.shuttle.de
>ASK FOR PGP KEY<  INTERNET: knweiss@trick.informatik.uni-stuttgart.de

Re: 1.5.1 slow?
#15612
Author: Jeff Garzik
Date: Fri, 07 Mar 1997 00:00
14 lines
1046 bytes
Seems to the me someone needs to beat the RedHat folks with the "Didn't
Test INN Config Thoroughly" stick.

	Jeff



-- 
Galbraith's Law of Human Nature:
	Faced with the choice between changing one's mind and proving that
	there is no need to do so, almost everybody gets busy on the proof.

Re: 1.5.1 slow?
#15618
Author: Perry Rovers
Date: Fri, 07 Mar 1997 00:00
18 lines
1470 bytes
A flock of rogue penguins inspired Karsten Weiss (karsten@addx.au.s.shuttle.de) to tell news.software.nntp:
: Yes, of course. I even mentioned this in my last mail. See above. :-)
I know, just a note to other users :)
 
: However, I already reported 8 bugs to bugs@redhat.com some days ago
: (and still got no response - they must be really busy) and found 5
: other problems which I'll report soon.
They are quite busy. The redhat-list is also seeing lots of news
related questions.
 
: BTW: I just noticed that "MMAP_SYNC" is set to "DO". Could this be
: the reason for the lower speed? Is there a reason to set it to "DO"
: on Linux?
I don't know. I have it set to DONT at home. Want my config.data?


Re: 1.5.1 slow?
#15623
Author: Jeff Garzik
Date: Fri, 07 Mar 1997 00:00
18 lines
1309 bytes
(courtesy copy e-mailed to author)

Karsten Weiss wrote:
> BTW: I just noticed that "MMAP_SYNC" is set to "DO". Could this be
> the reason for the lower speed? Is there a reason to set it to "DO"
> on Linux?


The default INN 1.5.x Linux config.data (sample-configs/...) has
MMAP_SYNC set to DONT, so you should probably do the same if your kernel
is fairly recent.  I've been running that config without any problems
since I upgraded to INN 1.5.1 when it came out.  RedHat 4.1 comes with
kernel 2.0.27, so you should be fine with that until 2.0.30 comes out.

	Jeff

Re: 1.5.1 slow?
#15630
Author: Carlos M. S. Antunes
Date: Fri, 07 Mar 1997 00:00
23 lines
1303 bytes
In article <5fkk4e$3n8$1@addx.au.s.shuttle.de>,
	karsten@addx.au.s.shuttle.de (Karsten Weiss) writes:
> 
> BTW: I just noticed that "MMAP_SYNC" is set to "DO". Could this be
> the reason for the lower speed? Is there a reason to set it to "DO"
> on Linux?
> 

I use 'DO'. It works great.

Regards,
Carlos Antunes.

-- 
o------------------------------o-------------------------------------o
| Carlos M. S. Antunes         | "The important thing is not to stop |
| Global One Portugal NetAdmin |  questioning." -- Albert Einstein   |
o------------------------------o-------------------------------------o
|     Personal Homepage at http://einstein.global-one.pt/~cmsa/      |
o--------------------------------------------------------------------o

Re: 1.5.1 slow?
#15664
Author: Rod
Date: Sun, 09 Mar 1997 00:00
36 lines
2671 bytes
Jeff Garzik, jeff.garzik@spinne.com wondered, perhaps too loudly:
 >Seems to the me someone needs to beat the RedHat folks with the "Didn't
 >Test INN Config Thoroughly" stick.
 >
	Someone just needs to beat on redhat, period. I'm doing some
	work on a news server which is a redhat system. When I put
	1.5.1 on the system, I upgraded a number of other things via
	the standard method: tar, make, ... and it worked great. It
	was suggested that I go back and use the damn rpm stuff to
	maintain the redhat consistency and it all went down the toilet.
	So many things broke, the system had to be reinstalled with
	redhat 4.1 (which has old libraries, btw) and it still runs
	poorly, stuff is still broken and the *&%(*& pam *&(S*& should
	be deleted and forever forgotten about. sheesh. Ever since doing
	it the "redhat rpm way" I get ghost innd processes where for some
	reason, all of a sudden 30+ innd processes - all with states DWN
	appear and then die off. If it were my option to do so I'd scrap
	the entire redhat-rpm nonsense and start over. If you have the
	option, I'd suggest you take it. In the 2+ years I've run slack-
	ware stuff, I've mixed and matched from various distributions and
	never had these problems that the rpm's are supposed to alleviate.
	To the best I can figure, it's worse than what it doesn't succeed
	in solving. I suggest use your common sense and forget about the
	damn rpm's. Then you shouldn't have any problems. I also don't
	really think beating on them will help; I've worked on a couple
	of other redhat systems to fix various problems and generally not
	gotten anything useful from inquiries to them.


-- 
davids@davids.psyberlink.net | A rose by any other name would
     Steinberger:            |   increase its link count
State of the Instrument      |

Re: 1.5.1 slow?
#15669
Author: Perry Rovers
Date: Sun, 09 Mar 1997 00:00
16 lines
1734 bytes
A flock of rogue penguins inspired Rod (serling@davids.psyberlink.net) to tell news.software.nntp:
: 	really think beating on them will help; I've worked on a couple
: 	of other redhat systems to fix various problems and generally not
: 	gotten anything useful from inquiries to them.
redhat-list@redhat.com is quite helpful, but you have to remember one thing:
rpms are nice if you don't need to tweak lots of bits. if you need something
like sendmail or inn and you want it to run 'just right' or it's a critical
component of the system, forget rpms, get the source and tweak it all you
like. There are just too many assumptions to be made for these kind of
things to use 1 rpm for all types of systems. Perhaps using the source rpm
and tweaking that before building the binaries would help, but I'm not too
sure about that.


Re: 1.5.1 slow?
#15722
Author: Alan Brown
Date: Tue, 11 Mar 1997 00:00
36 lines
1773 bytes
In article <5fq8ot$90u$1@addx.au.s.shuttle.de>,
Karsten Weiss <karsten@addx.au.s.shuttle.de> wrote:

>       By  default  crosspost  will  fsync(2)  each article after
>       updating the links.  The `-s'' flag can be used  to  pre-
>       vent this.

There's a buglet (fixed in later versions of INN) in crosspost.

For 1.4unoff4 I use this:

CROSSPOST!:*:Tc,Ap,WR:/usr/local/news/bin/crosspost -s -

note the trailing '-'

>This could also be a reason for the slow speed. I'll make some test
>soon.

The fsync makes a big difference

>BTW: Red Hat's default configuration also doesn't execute innd with the
>"-L" flag as the crosspost(8) man page suggests.

It's not a suggestion. If you use crosspost you _must_ use -L in the INN
call.

AB

-- 
o Stamp out unauthorised relay-hosting. This SMTP "feature" shouldn't default 
  "on" - See http://www.vix.com/spam/ and http://www.sendmail.org/antispam.html
o Junk email returned, in bulk, back to sender; w/copies to all postmasters.
o Received junkmail constitutes a request for aggressive site security probing.

Re: 1.5.1 slow?
#15723
Author: Karsten Weiss
Date: Tue, 11 Mar 1997 00:00
32 lines
2346 bytes
Perry Rovers wrote:

> redhat-list@redhat.com is quite helpful, but you have to remember one thing:
> rpms are nice if you don't need to tweak lots of bits. if you need something
> like sendmail or inn and you want it to run 'just right' or it's a critical
> component of the system, forget rpms, get the source and tweak it all you
> like. There are just too many assumptions to be made for these kind of
> things to use 1 rpm for all types of systems. Perhaps using the source rpm
> and tweaking that before building the binaries would help, but I'm not too
> sure about that.

Well, one of the reasons for this is that INN has SO MANY compile-time
options in config.data. That's IMHO a really bad way of configuration.

Put half of it in a runtime configuration file and the world is a better
place.

BTW: I think you mentioned a good example: sendmail. Its RPM works
great with all kind of configurations because you can configure everything
with the configuration file (no comment about this topic here... .-) ).
There is no reason to recompile sendmail in most cases and it's the
same for most of the other RPMs from Red Hat. I can only recommend this
distribution to everyone because IMHO inn is a big exception and I'm
sure they will fix this one (within the limits of a binary rpm) in the near
future, too.

-- 
Karsten Weiss      UUCP:     karsten@addx.au.s.shuttle.de
>ASK FOR PGP KEY<  INTERNET: knweiss@trick.informatik.uni-stuttgart.de

Re: 1.5.1 slow?
#15771
Author: Karsten Weiss
Date: Tue, 11 Mar 1997 00:00
42 lines
1832 bytes
Alan Brown wrote:

> >       By  default  crosspost  will  fsync(2)  each article after
> >       updating the links.  The `-s'' flag can be used  to  pre-
> >       vent this.

> There's a buglet (fixed in later versions of INN) in crosspost.

> For 1.4unoff4 I use this:

> CROSSPOST!:*:Tc,Ap,WR:/usr/local/news/bin/crosspost -s -

> note the trailing '-'

Unfortunately the man page doesn't mention this. The example there
is:

crosspost:*:Tc,Ap,WR:/usr/news/bin/crosspost


> >This could also be a reason for the slow speed. I'll make some test
> >soon.

> The fsync makes a big difference

I also believe it became faster. But I thinlk still not as fast as
1.4unoff4 before (I didn't have a chance to make a decent comparison).

> >BTW: Red Hat's default configuration also doesn't execute innd with the
> >"-L" flag as the crosspost(8) man page suggests.

> It's not a suggestion. If you use crosspost you _must_ use -L in the INN
> call.

That's what I was TRYING to say. :-)

-- 
Karsten Weiss      UUCP:     karsten@addx.au.s.shuttle.de
>ASK FOR PGP KEY<  INTERNET: knweiss@trick.informatik.uni-stuttgart.de

Re: 1.5.1 slow?
#15791
Author: Perry Rovers
Date: Wed, 12 Mar 1997 00:00
25 lines
2193 bytes
A flock of rogue penguins inspired Karsten Weiss (karsten@addx.au.s.shuttle.de) to tell news.software.nntp:
: Well, one of the reasons for this is that INN has SO MANY compile-time
: options in config.data. That's IMHO a really bad way of configuration.
: 
: Put half of it in a runtime configuration file and the world is a better
: place.
I would like to have more in runtime, but I haven't recompiled stuff
for some time now. Depends how often you patch stuff I guess.
I fiddle around with newsfeeds more than with patches.
 
: BTW: I think you mentioned a good example: sendmail. Its RPM works
: great with all kind of configurations because you can configure everything
: with the configuration file (no comment about this topic here... .-) ).
Hey, I patch/upgrade sendmail more than INN :)

: distribution to everyone because IMHO inn is a big exception and I'm
: sure they will fix this one (within the limits of a binary rpm) in the near
: future, too.
I hope so.. I do think however that the inn-1.5 rpm was an example of a
package that was seriously flawed regardless of what the original software
was, because the people who made the rpm(s) forgot stuff and/or used wrong
settings. I hope they learned.

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