🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #32852

Re: diablo dreaderd dexpireover on linux

#32852
From: richard.brons
Date: Wed, 11 Nov 1998 00:00
86 lines
5263 bytes
In article <72a3c8$ch6$1@flea.best.net>,
  dillon@best.net (Matt Dillon) wrote:
> :In article <729791$61r$1@nnrp1.dejanews.com>,
> : <richard.brons@inet.unisource.nl> wrote:
> :>>
> :>Matt,
> :>
> :>A further checking of the huge strace output (i.e. comparing
lseeking/writing
> :>of files against them being closed) has to wait until our headerfeed
> :>test-customer has build up a larger dgroup dir, but he is running on
freebsd,
> :>though. This brings me to a question far more important (for our production
> :>environment) Having upgraded diablo to rel. 1.20 (for the headerfeed,
mainly)
> :>I experience the same problem as I had with rel. 1.16b12 (we preferred to
> :>stay with 1.16b8), namely, a significant decline of dnewslink's outgoing
> :>feed-volumes, without backlogging the deficit. Before any further analysis,
I
> :>have to decide (we have many big peers on this particular machine) either to
> :>return to the older diablo version (and loose the headerfeed option), or to
> :>use the older dnewslink (for the regular feeds) parallel to the newer one
> :>(for the headerfeed). Would that be possible, running them on different
> :>cronjobs both on the 1.20 level? btw, diablo 1.16b8 performed excellently,
> :>like it still does on our customer-servers. I would appreciate your advice
on
> :>this very much, Richard
> :>
> :>
> :>
> :>-----------== Posted via Deja News, The Discussion Network ==----------
> :>http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own
>
>     Hmm.  It's hard to say, the changes I made to dnewslink between 1.16
>     and 1.20 were mainly in the mmap() and socket tuning departments.
>     dnewslink mmap()'s the article files now rather then read()ing them,
>     and it turns on a couple of tcp options.  This significantly boosted
>     performance on my own FreeBSD boxes.
>
>     It could be that Linux isn't as efficient handling mmap() (e.g. in regards
>     to dealing with page faults) then it is handling read().   The only
>     way to find out is to strace a dnewslink session to see where the
>     bottleneck is and to also observe the tcp connection's send and receive
>     buffers via netstat (e.g. 'netstat -tn | fgrep destination-ip' while
>     dnewslink is running).  Ick.  I'd hate to have to put the read()
>     interface back in there but if it's the only way, it's the only way.
>
>     I would also check the tcp send and receive window defaults for your
>     machine.  I believe you can get and set them via the linux route command
>     on a per-route basis.  You can also set the send and receive windows
>     sizes with the R and T options in dnntpspool.ctl ... it might be worth
>     playing with those.  For dnntpspool.ctl, the send window size is the
>     most important, of course.  The larger the window size, the more you
>     isolate dnewslink overhead from socket latency overhead.
>
>     I would dearly love some Linux Diablo users to tune Diablo for linux and
>     send me the diffs.  I've done a lot of tuning work for FreeBSD, but I
>     don't use linux and I'll bet you could find a couple of things in there
>     that would make a big difference.  It's fairly easy to add
machine-specific
>     tuning in, you just create #define variable in lib/config.h which you
>     default to 0 at the bottom, then turn it on in the machine-specific
>     configuration section and use that to #if condition the tuned code.
>
> 						-Matt
>
> --
>     Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
>                     Communications
>     <dillon@best.net> (Please include original email in any response)
>
Matt,

Appreciate your suggestions, and sorry I did not make clear we are running
the feeding services on Solaris 2.6 -- I used Linux only for testing
dreaderd, it might be that Linux would not have any problems with this (being
more advanced and flexible anyway) But I guess the problem is generic, and
certainly Solaris is not handling the mmap()correctly. I will send you (to
your private mail, I presume) a truss of a dnewslink process.

Richard

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

Technical Details
Message-ID: <72bkni$7rg$1@nnrp1.dejanews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <7272d6$b0q$1@nnrp1.dejanews.com> <728n8r$8g8$1@flea.best.net> <729791$61r$1@nnrp1.dejanews.com> <72a3c8$ch6$1@flea.best.net>

Show Full Headers
Complete Article Headers
Message-ID: <72bkni$7rg$1@nnrp1.dejanews.com>
Subject: Re: diablo dreaderd dexpireover on linux
Date: Wed, 11 Nov 1998 00:00:00 +0000
From: richard.brons@inet.unisource.nl
References: <7272d6$b0q$1@nnrp1.dejanews.com> <728n8r$8g8$1@flea.best.net> <729791$61r$1@nnrp1.dejanews.com> <72a3c8$ch6$1@flea.best.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 410639382
X-Http-Proxy: 1.0 proxy.nmcgv:8080 (Squid/1.1.20), 1.0 elysia:8080 (Squid/1.1.18), 1.0 x7.dejanews.com:80 (Squid/1.1.22) for client unknown, unknown, 194.151.95.22
Organization: Deja News - The Leader in Internet Discussion
X-Article-Creation-Date: Wed Nov 11 09:17:39 1998 GMT
Newsgroups: news.software.nntp
X-Http-User-Agent: Mozilla/4.04 [en] (Win95; I)