🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by David Warness Mon, 10 Feb 1997 00:00
News is *SLOW* on Solaris 2.5.1 with INN 1.5.1
#14930
Author: David Warness
Date: Mon, 10 Feb 1997 00:00
19 lines
1462 bytes
We've got two news servers.  One is a 486-66 w/ 32M RAM running Linux and
INN 1.4.2-sec.  The other is a Sun Ultra-140 w/ 96M RAM running Solaris 2.5.1
and INN 1.5.1.  It seems that the performance on reading news and transferring
images is less than 1/2 that of the Linux box.  Is it something todo with
the way I've setup the Solaris box, or is there some unknown setting I
should have set in the config.data for INN 1.5.1?  Any help would be
greately appreciated.

--
-Dave

+--------------------------------------------------------------------------+
| David Warness       | Psychiatrists say that one out of four people are  |
| Look for me at ...  | mentally ill. Check three friends. If they're ok,  |
| david@CyberGate.COM | you're it!                                         |
+--------------------------------------------------------------------------+

Re: News is *SLOW* on Solaris 2.5.1 with INN 1.5.1
#15063
Author: Dan Foster
Date: Sat, 15 Feb 1997 00:00
28 lines
1947 bytes
In article <x7ohdloc4a.fsf@quanta.electron.net>,
Joe Shamblin  <wjs@quanta.electron.net> wrote:
>There are a few things that you can do to speed up the news server
>so that it is very fast. Striped disk, MMAP'ing are 2 good places
>to start. Something is misconfigured in a bad way if a 486 is
>beating your Ultra with fast-wide SCSI disk. I assume that the disk
>are fast-wide SCSI disk, and not a single 9 gig file system or
>something like that. What is the disk sub-system setup?

It's been over a year since I last benchmarked this, so take as you will...
but I seem to remember that Linux has *much* faster kernel context
switches than Solaris, this might play a part of the equation? (Ie context
switches between user and kernel mode for disk drivers having noticeable
impact if I/O traffic is fairly heavy?)

Maybe how driver code is structured - ie Solaris driver might have more
in way of extra code for backward compatibility. Or there's how interrupts
are done - ie saving all registers or a subset, etc... (OS/processor-dependent)

On the Solaris box, maybe for starters, check out vmstat and iostat numbers?

P.S. This should _NOT_ be taken as an endorsement of Linux. ;-)

-Dan Foster
Internet: dsf@frontiernet.net

Re: News is *SLOW* on Solaris 2.5.1 with INN 1.5.1
#15080
Author: Joe Shamblin
Date: Sat, 15 Feb 1997 00:00
25 lines
1857 bytes
>>>>> "david" == David Warness <david@CyberGate.COM> writes:

david> We've got two news servers.  One is a 486-66 w/ 32M RAM running
david> Linux and INN 1.4.2-sec.  The other is a Sun Ultra-140 w/ 96M
david> RAM running Solaris 2.5.1 and INN 1.5.1.  It seems that the
david> performance on reading news and transferring images is less
david> than 1/2 that of the Linux box.  Is it something todo with the
david> way I've setup the Solaris box, or is there some unknown
david> setting I should have set in the config.data for INN 1.5.1?
david> Any help would be greately appreciated.

There are a few things that you can do to speed up the news server
so that it is very fast. Striped disk, MMAP'ing are 2 good places
to start. Something is misconfigured in a bad way if a 486 is
beating your Ultra with fast-wide SCSI disk. I assume that the disk
are fast-wide SCSI disk, and not a single 9 gig file system or
something like that. What is the disk sub-system setup?

Joe
-- 
Joe Shamblin		Electron Clearing House		wjs@electron.net
Have socket will travel					www.electron.net

Re: News is *SLOW* on Solaris 2.5.1 with INN 1.5.1
#15219
Author: Joe Shamblin
Date: Fri, 21 Feb 1997 00:00
36 lines
2153 bytes
>>>>> "spap" == Sarantis Papanagnou <spap@dimitra.forthnet.gr> writes:

spap> The same problem appears on our Ultra Enterprise 2 with Solaris
spap> 2.5.1 and INN 1.5.1 .The problem didn't exist with INN 1.4 but
spap> some other problems have forced us to upgrade.  When users are
spap> trying to get the headers of a newsgroup, the first ones are
spap> being transferred very fast to the client but then suddenly the
spap> speed drops to 5 headers every 5 seconds, which is too slow.  We
spap> have tried many different configurations with no
spap> luck. Currently, ACT_STYLE is set to MMAP.  Any suggestions?

Take a look at the setting LIKE_PULLERS, set this to do.

##  Do you want to make life easy for peers to pull feeds from you (it's
##  harder on your machine). Pick DO or DONT. With DONT, you get a small
##  sleep inserted before each ARTICLE command is processed. (With
##  apologies to the Australians in the audience).
#### =()<LIKE_PULLERS           @<LIKE_PULLERS>@>()=
LIKE_PULLERS            DONT

You can also adjust the actual timeout in $SRC/nnrpd/article.c
Just up the number of articles in the count.
 
      if (what == STarticle || count > 100)
        sleep (1) ;               /* slow down sucking readers */
    }
   #endif

Joe
--
Joe Shamblin					wjs@cs.duke.edu
Systems	Administrator			Department of Computer Science
660-6582					Duke University

Re: News is *SLOW* on Solaris 2.5.1 with INN 1.5.1
#15224
Author: paul theodoropoulos
Date: Fri, 21 Feb 1997 00:00
34 lines
1992 bytes
In news.software.nntp Sarantis Papanagnou <spap@dimitra.forthnet.gr> wrote:
> The same problem appears on our Ultra Enterprise 2 with Solaris 2.5.1
> and INN 1.5.1 .The problem didn't exist with INN 1.4 but some other
> problems have forced us to upgrade. 
> When users are trying to get the headers of a newsgroup, the first
> ones are being transferred very fast to the client but then suddenly
> the speed drops to 5 headers every 5 seconds, which is too slow.
> We have tried many different configurations with no luck. Currently,
> ACT_STYLE is set to MMAP.
> Any suggestions?

set LIKE_PULLERS to DO in your config.data, and rebuild.

What I'd like for christmas would be some variable settings, rather than a
toggle as the current LIKE_PULLERS is. One could tune the delay to
accomodate such software as offline newsreaders, while still discouraging
folks who sit on a port and suck a feed from you. e.g. 

# Number of articles after which we start adding a delay
PULL_THRESHOLD		300
# 
# Once PULL_THRESHOLD has been reached, add one second of delay 
# every PULL_DELAY articles.
PULL_DELAY		5

or something along those lines.	

just a thought.

--
Paul Theodoropoulos     admin@wco.com     VP, West Coast Online, Inc.

Re: News is *SLOW* on Solaris 2.5.1 with INN 1.5.1
#15229
Author: Sarantis Papanagnou
Date: Fri, 21 Feb 1997 00:00
40 lines
2473 bytes
Joe Shamblin (wjs@quanta.electron.net) wrote:
: >>>>> "david" == David Warness <david@CyberGate.COM> writes:

: david> We've got two news servers.  One is a 486-66 w/ 32M RAM running
: david> Linux and INN 1.4.2-sec.  The other is a Sun Ultra-140 w/ 96M
: david> RAM running Solaris 2.5.1 and INN 1.5.1.  It seems that the
: david> performance on reading news and transferring images is less
: david> than 1/2 that of the Linux box.  Is it something todo with the
: david> way I've setup the Solaris box, or is there some unknown
: david> setting I should have set in the config.data for INN 1.5.1?
: david> Any help would be greately appreciated.

: There are a few things that you can do to speed up the news server
: so that it is very fast. Striped disk, MMAP'ing are 2 good places
: to start. Something is misconfigured in a bad way if a 486 is
: beating your Ultra with fast-wide SCSI disk. I assume that the disk
: are fast-wide SCSI disk, and not a single 9 gig file system or
: something like that. What is the disk sub-system setup?

: Joe
: -- 
: Joe Shamblin		Electron Clearing House		wjs@electron.net
: Have socket will travel					www.electron.net

The same problem appears on our Ultra Enterprise 2 with Solaris 2.5.1
and INN 1.5.1 .The problem didn't exist with INN 1.4 but some other
problems have forced us to upgrade. 
When users are trying to get the headers of a newsgroup, the first
ones are being transferred very fast to the client but then suddenly
the speed drops to 5 headers every 5 seconds, which is too slow.
We have tried many different configurations with no luck. Currently,
ACT_STYLE is set to MMAP.
Any suggestions?

	Sarandis Papanagnou
	FORTHnet SA


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