🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
13 messages
13 total messages Started by Anthony Kueh Sun, 16 Nov 1997 00:00
Performance problems...
#23312
Author: Anthony Kueh
Date: Sun, 16 Nov 1997 00:00
33 lines
1606 bytes
Hi,
    I'm having some problems with a news server, here's some vital info:

Pentium 200mhz
96 megs ram
Linux OS (2.0.30 kernel)
Running INN 1.7
Adaptec 2940UW controller with UW drives

I have the OS, /var/lib/news, /var/spool/news, and /var/log/news all on
separate spindles. (Actually /var/spool/news consists of 4 different hard
drives mounted on /var/spool/news, /var/spool/news/comp,
/var/spool/news/alt, and /var/spool/news/alt/binaries)

The problem is that the performance is extremely slow. I have a feeder
machine running a Pentium 166 with IDE drives, and it flies with Diablo. I
know that Diablo is suppose to be much faster feeding, but this INN machine
is just dog slow. Within one day, the Diablo is at it's maximum queue size
of 250.

In addition, expire is taking forever! It takes around 14 hours to expire.
My history file is about 250 megs, and I have it create a new history file
on a different physical hard drive.

Can anyone offer any suggestions?

Thanks,
Tony



Re: Performance problems...
#23304
Author: Forrest J. Cavalier III
Date: Sun, 16 Nov 1997 00:00
35 lines
1466 bytes
....Would have e-mailed it too, but I didn't think that
   kueh@remove.me.for.no.spam.uiuc.edu 
looked like a valid e-mail address....

In article <64ne06$a2n$1@vixen.cso.uiuc.edu>, 
kueh@remove.me.for.no.spam.uiuc.edu wrote...
>
>Hi,
>    I'm having some problems with a news server, here's some vital info:
>
>Pentium 200mhz
>96 megs ram
>Linux OS (2.0.30 kernel)
>Running INN 1.7
>Adaptec 2940UW controller with UW drives

[snip]

>Can anyone offer any suggestions?


I have never seen a Linux + 2940UW INN server which kept up with
a full Usenet feed.

If anyone out there has such a system, the world wants to
hear your story.  Please speak up.

Forrest Cavalier, Mib Software, INN customization and consulting 
Searchable hypertext INN docs, FAQ, RFCs, etc: 650+ pages: 
    http://www.mibsoftware.com/userkt/forprov.htm 
Commercial support for INN: http://www.mibsoftware.com/innsup.htm 


Re: Performance problems...
#23310
Author: coneill
Date: Sun, 16 Nov 1997 00:00
12 lines
1059 bytes
mibsoft@epix.net (Forrest J. Cavalier III) writes:
> I have never seen a Linux + 2940UW INN server which kept up with
> a full Usenet feed.
> 
> If anyone out there has such a system, the world wants to
> hear your story.  Please speak up.

I used to have about a dozen and still have one that takes a full
cancel feed.  Nothing wrong with the 2940's under Linux.

Re: Performance problems...
#23314
Author: Anthony Kueh
Date: Sun, 16 Nov 1997 00:00
29 lines
1492 bytes

Forrest J. Cavalier III wrote in message <64nq3i$ge7$1@news1.epix.net>...
>
>I have never seen a Linux + 2940UW INN server which kept up with
>a full Usenet feed.


The old server we just retired ran Linux 2.0.30 with a 2940W and Fast Wide
drives. It was keeping up with a feed of over 400,000 articles/day with over
50 clients.

We also currently have a Linux box with IDE drives running Diablo. And it's
peering over 600,000 articles per day.

-Tony

>If anyone out there has such a system, the world wants to
>hear your story.  Please speak up.
>
>Forrest Cavalier, Mib Software, INN customization and consulting
>Searchable hypertext INN docs, FAQ, RFCs, etc: 650+ pages:
>    http://www.mibsoftware.com/userkt/forprov.htm
>Commercial support for INN: http://www.mibsoftware.com/innsup.htm
>



Re: Performance problems...
#23316
Author: Jason Brown
Date: Mon, 17 Nov 1997 00:00
24 lines
1648 bytes
On 16 Nov 1997 coneill@blah.erols.com wrote:

> > I have never seen a Linux + 2940UW INN server which kept up with
> > a full Usenet feed.
> I used to have about a dozen and still have one that takes a full
> cancel feed.  Nothing wrong with the 2940's under Linux.

I use a Gigabyte 586DX with onboard 2940UW SCSI running Linux and INN
1.5.1sec2 with 128 Megs of memory . Seems to be pretty stable _most_ of
the time.  I have had lots of problems with the SMP (Dual P133`s) although
the new 2.0.31 kernal seems a little more stable.  I believe the 2940
driver is newer in the 2.0.31 too, anybody tried the tagged
queueing/noatime too?  The noatime patch is built into the 2.0.31 although
you need to rebuild the mount binary. I tried using the noatime mount
option on our news spool after the machine had been up a fortnight using
both CPU`s stably.  It died after about 2.5 days :-(

Jason Brown.
Unix Systems and Applications Programmer
Inter@lpha Ltd.


Re: Performance problems...
#23317
Author: Forrest J. Cavalier III
Date: Mon, 17 Nov 1997 00:00
42 lines
1859 bytes
Posted and emailed
In article <64o4b1$978$1@taliesin.netcom.net.uk>, you wrote...
>
>In article <64nq3i$ge7$1@news1.epix.net>,
>        mibsoft@epix.net (Forrest J. Cavalier III) writes:
>
>> I have never seen a Linux + 2940UW INN server which kept up with
>> a full Usenet feed.
>> 
>> If anyone out there has such a system, the world wants to
>> hear your story.  Please speak up.
>
>I have two that I'm using for stuff I've been doing with INN 1.8,
>although one of them (peering only) runs (a heavily modified) 1.5 and
>keeps up with a full feed without any problems.  It's handling over
>700,000 articles per day.
>
>I used Linux purely because it's the free OS with which I'm most familiar.
>I didn't realise it was supposed to be difficult :)

Thanks for speaking up!

I want to ask some followup questions....
    What does 1.5 "heavily modified" mean?  Were you running a modified
    spool?

    You say it was peering only.  Did you ever try to run crosspost
    and overchan just to see how it kept up?

    How much memory?

    How many spindles and how were they configured?  Any tuning?
    no_atime? etc.  How many controllers?  Which Adaptec kernel
    driver were you using?

    CPU?

Forrest


Re: Performance problems...
#23321
Author: Joe Greco
Date: Mon, 17 Nov 1997 00:00
30 lines
1811 bytes
In news.software.nntp article <64nf1u$b71$1@defiant.cistron.nl>, miquels@cistron.nl (Miquel van Smoorenburg) wrote:
:Standard tricks:
:
:1. Do not use 4 mountpoints for /var/spool/news. Stripe them with md to
:   make 1 big partition. Big stripe size (512K -1M).

That's also a standard mistake.  If the drives are approximately the
right size for the retention times desired, it is better to use multiple
mount points.  Think about metainfo updates and stuff.  Also, if you 
have one large partition, if one drive goes, you lose it all.

:2. Run innd with the -L flag and use a seperate crosspost process
:3. Put overview files in a separate hierarchy (/var/spool/news/over.view)
:4. Alias out cyberspam in the feed for overchan
:
:etc etc
:
:However I think your problem is something else. How big is your
:/var/spool/news/control/ directory? Rename it to cancel.old and delete it.
:It's best to install nocem (www.ncm.org) and alias out cyberspam in
:your ME entry. Or even better at the feeder machine. A big control directory
:_will_ slow down inn to a crawl.

http://www.nntp.sol.net/patches and look for the cancel patch.  Just as
effective.  :-)

... JG

Re: Performance problems...
#23325
Author: Brian
Date: Mon, 17 Nov 1997 00:00
62 lines
3227 bytes
Jason Brown wrote:
> 
> On 16 Nov 1997 coneill@blah.erols.com wrote:
> 
> > > I have never seen a Linux + 2940UW INN server which kept up with
> > > a full Usenet feed.
> > I used to have about a dozen and still have one that takes a full
> > cancel feed.  Nothing wrong with the 2940's under Linux.
> 
> I use a Gigabyte 586DX with onboard 2940UW SCSI running Linux and INN
> 1.5.1sec2 with 128 Megs of memory . Seems to be pretty stable _most_ of
> the time.  I have had lots of problems with the SMP (Dual P133`s) although
> the new 2.0.31 kernal seems a little more stable.  I believe the 2940
> driver is newer in the 2.0.31 too, anybody tried the tagged
> queueing/noatime too?  The noatime patch is built into the 2.0.31 although
> you need to rebuild the mount binary. I tried using the noatime mount
> option on our news spool after the machine had been up a fortnight using
> both CPU`s stably.  It died after about 2.5 days :-(
> 
> Jason Brown.
> Unix Systems and Applications Programmer
> Inter@lpha Ltd.
Interesting.  We were running SMP on our news server, with a matched
pair of P200's.  It crashed twice, both times it was something like "IRQ
DEADLOCK IN CPU 1".  So I have taken off SMP for the moment.

You feel there is a correlation between noatime and smp having problems?
So what did you do: disable SMP or disable noatime?  We run noatime
here, and like I said, we have stopped smp for the moment, but wish we
could turn it back on.

My biggest problem is overchan blocking and would really like a better
uptime.  I peer with 10 or so sites, and have maybe 10 simultaneous
readers, and get load averages of about 2-5.  This is with 1 or 2 200's,
256MB of ECC memory, DPT 3334UW with 64MB cache, 2.0.31, noatime,
actived, and many other improvements.  I really think I should be better
off but I am not.  

So Jason, please let me know about what you have found to be most
stable, as far as smp/noatime goes.

Brian


-- 
/-------------------------- signal@shreve.net
-----------------------------\
| Brian Feeny                | USR TC Hubs | ShreveNet Inc.
(318)222-2638  |
| Systems Administrator      | Perl, Linux | Web hosting, online
stores,   |
| ShreveNet Inc.             |  USR Pilot  | Dial-Up 14.4-56k, ISDN &
LANs |
| 89 CRX DX w/MPFI, lots of  |-=*:Quake:*=-|
http://www.shreve.net/        |
| mods/Homepage coming soon  |LordSignal/SN| Quake server:
208.206.76.3    |
\-------------------------- 318-222-2638 x109
-----------------------------/

Re: Performance problems...
#23326
Author: James Fidell
Date: Mon, 17 Nov 1997 00:00
26 lines
1632 bytes
In article <64nq3i$ge7$1@news1.epix.net>,
	mibsoft@epix.net (Forrest J. Cavalier III) writes:

> I have never seen a Linux + 2940UW INN server which kept up with
> a full Usenet feed.
> 
> If anyone out there has such a system, the world wants to
> hear your story.  Please speak up.

I have two that I'm using for stuff I've been doing with INN 1.8,
although one of them (peering only) runs (a heavily modified) 1.5 and
keeps up with a full feed without any problems.  It's handling over
700,000 articles per day.

I used Linux purely because it's the free OS with which I'm most familiar.
I didn't realise it was supposed to be difficult :)

James.
-- 
 "Yield to temptation --             | NETCOM: james@corp.netcom.net.uk
  it may not pass your way again"    | Consultancy: james@cloud9.co.uk
                                     |
        - Lazarus Long               |              James Fidell

Re: Performance problems...
#23327
Author: Brian
Date: Mon, 17 Nov 1997 00:00
52 lines
2497 bytes
Forrest J. Cavalier III wrote:
> 
> 
> I have never seen a Linux + 2940UW INN server which kept up with
> a full Usenet feed.
> 
> If anyone out there has such a system, the world wants to
> hear your story.  Please speak up.
> 

I tried dual 2940UW, with UW drives, and still didn't like it.  With
linux the big problem (and this may effect other operating systems) is
that the Adaptec drivers are not all together, there are alot of abort
resets, and this is no fault of the programmers, its adaptec, who is
unwilling to cooperate with giving them all the information they need. 
The drivers are reverse engineered from what I understand, and changes
to the hardware, which happens often with adaptec, (bios changes also)
break the drivers.

If your using Linux, use Buslogic or DPT or something that has good
support.  I run a DPT 3334UW with 64MB of cache, and I still get
overchan blocking, but that may be because of the operating system or
hardware, I don't know, I am convinced its one or the other and not
INN.  I may be purchasing a second 3334UW with 64MB of cache and seeing
how that does.

Brian


> Forrest Cavalier, Mib Software, INN customization and consulting
> Searchable hypertext INN docs, FAQ, RFCs, etc: 650+ pages:
>     http://www.mibsoftware.com/userkt/forprov.htm
> Commercial support for INN: http://www.mibsoftware.com/innsup.htm

-- 
/-------------------------- signal@shreve.net
-----------------------------\
| Brian Feeny                | USR TC Hubs | ShreveNet Inc.
(318)222-2638  |
| Systems Administrator      | Perl, Linux | Web hosting, online
stores,   |
| ShreveNet Inc.             |  USR Pilot  | Dial-Up 14.4-56k, ISDN &
LANs |
| 89 CRX DX w/MPFI, lots of  |-=*:Quake:*=-|
http://www.shreve.net/        |
| mods/Homepage coming soon  |LordSignal/SN| Quake server:
208.206.76.3    |
\-------------------------- 318-222-2638 x109
-----------------------------/

Re: Performance problems...
#23333
Author: Miquel van Smoorenburg
Date: Mon, 17 Nov 1997 00:00
32 lines
1964 bytes
In article <64pg80$kig$1@earth.execpc.com>,
Joe Greco <jgreco@ns.sol.net> wrote:
>In news.software.nntp article <64nf1u$b71$1@defiant.cistron.nl>, miquels@cistron.nl (Miquel van Smoorenburg) wrote:
>:Standard tricks:
>:
>:1. Do not use 4 mountpoints for /var/spool/news. Stripe them with md to
>:   make 1 big partition. Big stripe size (512K -1M).
>
>That's also a standard mistake.  If the drives are approximately the
>right size for the retention times desired, it is better to use multiple
>mount points.  Think about metainfo updates and stuff.

Really? I'm not into RAID stuff that deep, but I have read the thing I
stated above in this group (and others) several times. If you use seperate
mountpoints you can get "hot spots" on 1 or more disks while RAID is
supposed to spread it more evenly (they say).

If there's some documentation you could point me to that would be great.

> Also, if you 
>have one large partition, if one drive goes, you lose it all.

Oh well, it's only news.. Not so bad to clean up once or twice a year..

Mike.
-- 
   Miquel van      | Cistron Internet Services   --    Alphen aan den Rijn.
   Smoorenburg,    | mailto:info@cistron.nl          http://www.cistron.nl/
miquels@cistron.nl |       PTT's Het Net: Surfen in de gootsteen!	<*>

RE: PERFORMANCE PROBLEMS.
#23372
Author: Jeff Binkley
Date: Tue, 18 Nov 1997 00:00
44 lines
2129 bytes

B>Forrest J. Cavalier III wrote:


B>> I have never seen a Linux + 2940UW INN server which kept up with
B>> a full Usenet feed.

B>> If anyone out there has such a system, the world wants to
B>> hear your story.  Please speak up.


B>I tried dual 2940UW, with UW drives, and still didn't like it.  With
B>linux the big problem (and this may effect other operating systems) is
B>that the Adaptec drivers are not all together, there are alot of abort
B>resets, and this is no fault of the programmers, its adaptec, who is
B>unwilling to cooperate with giving them all the information they need.
B>The drivers are reverse engineered from what I understand, and changes
B>to the hardware, which happens often with adaptec, (bios changes also)
B>break the drivers.

B>If your using Linux, use Buslogic or DPT or something that has good
B>support.  I run a DPT 3334UW with 64MB of cache, and I still get
B>overchan blocking, but that may be because of the operating system or
B>hardware, I don't know, I am convinced its one or the other and not
B>INN.  I may be purchasing a second 3334UW with 64MB of cache and
B>seeing how that does.

B>Brian


I saw thw same thing with one of our 2940s w/ an earlier version of 
BIOS.  After a few nasty phone calls to Adaptec I got a replacement card 
and this problem went away.  I knew in advance it was the card since I 
had gotten another card with a later BIOS and it didn't experience this 
problem.  This was a 2.0.30 kernel on Slakware.


Jeff Binkley
ASA Network Computing

CMPQwk 1.42 9999

Re: Performance problems...
#23418
Author: Stephan Forseilles
Date: Wed, 19 Nov 1997 00:00
40 lines
2152 bytes
Anthony Kueh wrote:
> 
> Hi,
>     I'm having some problems with a news server, here's some vital info:
> 
> Pentium 200mhz
> 96 megs ram
> Linux OS (2.0.30 kernel)
> Running INN 1.7
> Adaptec 2940UW controller with UW drives
> 
> I have the OS, /var/lib/news, /var/spool/news, and /var/log/news all on
> separate spindles. (Actually /var/spool/news consists of 4 different hard
> drives mounted on /var/spool/news, /var/spool/news/comp,
> /var/spool/news/alt, and /var/spool/news/alt/binaries)
> 
> The problem is that the performance is extremely slow. I have a feeder
> machine running a Pentium 166 with IDE drives, and it flies with Diablo. I
> know that Diablo is suppose to be much faster feeding, but this INN machine
> is just dog slow. Within one day, the Diablo is at it's maximum queue size
> of 250.
> 
> In addition, expire is taking forever! It takes around 14 hours to expire.
> My history file is about 250 megs, and I have it create a new history file
> on a different physical hard drive.

Check out the size of the spool/articles/control/cancel directory and
the number of files in it... Also get rid of control groups overviews
before expire. Eventually run inn with -C switch.


-- 
--------- This is my own personal opinion ------------
* Stephan Forseilles         - UNIX System Engineer  *
* steph@.skynet.be           - Belgacom Skynet SA/NV *
* Digital Unix/Linux/Solaris -        FFESSM Level I *
------- "Resistance is futile!  (if < 1ohm)" ---------

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