πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80227

Re: [INN] transfer server: design issues

#80227
From: Ray Banana
Date: Thu, 05 Mar 2009 08:20
45 lines
3225 bytes
Thus spake Julien Γ‰LIE <iulius@nom-de-mon-site.com.invalid>
 
>>  PID USERNAME PRI NICE  SIZE   RES STATE   TIME   WCPU    CPU COMMAND
>> 25012 news     103    4 8304K   14M run/1  19:08 96.68% 96.68% innfeed
>> 24847 news      95    0   30M   32M run/0   3:56 18.12% 18.12% innd
> What happens if you use this innfeed/connection.c?
>    http://iulius.dinauz.org/connection.c
> It is the one for INN 2.5.0 where the patch mentioned here:
>    https://lists.isc.org/pipermail/inn-workers/2008-April/015554.html
> is undone.

Looking at the innfeed timers, I notice that the number of callbacks
has decreased drastically:

INN 2.5.0  20090110 snapshot
-------------------------------------------------------------------
Code region     Time         Pct     Invoked Min(ms) Avg(ms) Max(ms)
callbacks       00:04:01.836 0.1%  105783410  0.002   0.002   0.003


INN 2.4.5 from Debian Lenny
-------------------------------------------------------------------
Code region     Time         Pct     Invoked Min(ms) Avg(ms) Max(ms)
callbacks       00:11:21.470 0.4%  302347340  0.002   0.002   0.002


INN 2.5.0 with  http://iulius.dinauz.org/connection.c
-------------------------------------------------------------------
Code region     Time         Pct     Invoked Min(ms) Avg(ms) Max(ms)
callbacks       00:00:00.000 0.0%          6  0.000   0.000   0.000


All three counters are for a period of 24 hours with a similar number
of incoming and outgoing articles (incoming ~340.000, accepted outgoing
~650.000)

So far I haven't noticed any of the problems

| addWorkCallback (cxn->myEp,cxnWorkProc,cxn) ;

is supposed to fix.

-- 
Time flies like an arrow, fruit flies like a Banana.
http://news.motzarella.org
Technical Details
Message-ID: <803ads753q.fsf@banana.shacknet.nu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!news.motzarella.org!banana.shacknet.nu!motzarella.org!not-for-mail
References: <go4f5l$10e8$1@de-l.enfer-du-nord.net> <80iqmru4cv.fsf@banana.shacknet.nu> <goikah$tn7$1@news.trigofacile.com> <80bpsjhs7a.fsf@banana.shacknet.nu> <gojk03$oee$1@gallifrey.nk.ca> <gojsoq$43p$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <803ads753q.fsf@banana.shacknet.nu>
Subject: Re: [INN] transfer server: design issues
Date: Thu, 05 Mar 2009 09:20:57 +0100
From: Ray Banana <rayban@banana.shacknet.nu>
References: <go4f5l$10e8$1@de-l.enfer-du-nord.net> <80iqmru4cv.fsf@banana.shacknet.nu> <goikah$tn7$1@news.trigofacile.com> <80bpsjhs7a.fsf@banana.shacknet.nu> <gojk03$oee$1@gallifrey.nk.ca> <gojsoq$43p$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!news.motzarella.org!banana.shacknet.nu!motzarella.org!not-for-mail
Newsgroups: news.software.nntp
Organization: A noiseless patient spider
Lines: 45
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: banana.shacknet.nu 1236241315 34807 10.1.30.101 (5 Mar 2009 08:21:55
 GMT)
X-Complaints-To: abuse@banana.shacknet.nu
User-Agent: Plonkenlights
X-Attribution: Ray Banana
Cancel-Lock: sha1:wVhKIqfnLgKx9r3og12aB7X50qc=
X-PGP-Sig: 2.6.3ia Subject,Message-ID,Date,From,User-Agent
 iQCVAwUBSa+LoxFgDSXFGJ/lAQGZwAQAn/lEbg9z3JsYrrMNTRGkpgFQHmmwk/6G
 CCdpTQIqFpZZutv6a1wZJsoKyuJ0Fe1qbvT4qMjN97USRyMcaWgWRBIzrTGAPlUx
 j6kugGW92f+wMC1ZB7CIPEYsXDqBMy1k0DAmvTACeGCsv7fJxiVg/eQIoQTrGa22
 osbodMAUWps= =FngZ