Article View: news.software.nntp
Article #83171Re: ?????? My numbers were off; my newsreader had a bug.
From: Indi
Date: Tue, 17 Aug 2010 15:40
Date: Tue, 17 Aug 2010 15:40
45 lines
2888 bytes
2888 bytes
On 2010-08-17, JeffRelf.F-M.FM @. <JeffRelf.F-M.FM@> wrote: > <PRE> > Julien•ÉLIE, Glorb's greeting is: > 200 news-spur1.glorb.com InterNetNews NNRP server INN 2.5.2 ready (no posting) > > BlockNews ( Diablo version ? ) says: > 200 NNRP news.blocknews.net (reader1) - problems - email support @blocknews.net (posting ok) > > You Told me: > « #include < netinet/tcp.h> > int nodelay = 1; > setsockopt(STDIN_FILENO, IPPROTO_TCP, TCP_NODELAY, & nodelay, sizeof(nodelay)); > > Maybe it could be something that is missing in Diablo servers. > I even noticed an improvement in my Debian with TCP_NODELAY. The kernel will > do the rest (little, optimal buffering I believe [?]). > > I forward your remark to the Diablo mailing-list. » > > Interesting, but I don't know about that, sorry. > > Also, my numbers were off; my newsreader* had a bug. > [ *: <A hRef="http://jeffrelf.f-m.fm/X.CPP">X.CPP ( Micro·Soft Visual C++ 9 )</A> ] > > Now, Glorb takes 40 seconds to download 9 thousand articles > ( full body and header, from Sci.Physics ). > BlockNews takes over 4 minutes to do the same ( not 40 ). > > Apparently, the difference is due to the extra CPU time > required to handle/wait·on all those smaller chunks > ( at times, it's 3 bytes vs. 260 kilo·bytes ). > > Before, when waiting for yet another chunk, > I was burning up CPU cycles doing nothing... Bad ! > > Now I “Sleep()” for a 24th of a second, > thus speeding up the download, ironically. Great! Now all you have to do is fix refernces, quoting, format, and encoding and you'll almost be where JED was in 1999 or so. -- Caveat utilitor, indi
Technical Details
Message-ID:
<8cvos5F8edU1@mid.individual.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.neu.edu.cn!goblin3!goblin.stu.neva.ru!bolzen.all.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<JeffRelf.F-M.FM@_gH.2010_Aug.16_.5.56.am> <4090a4.5e9.17.1@news.alt.net> <JeffRelf.F-M.FM@_TV.2010_Aug.16_.6.28.pm> <i4djbt$2qe$1@news.trigofacile.com> <JeffRelf.F-M.FM@_eE.2010_Aug.17_.7.22.am>Show Full Headers
Complete Article Headers
Message-ID: <8cvos5F8edU1@mid.individual.net> Subject: Re: ?????? My numbers were off; my newsreader had a bug. Date: Tue, 17 Aug 2010 15:40:53 +0000 From: Indi <indi@gaurahari.16x108.merseine.nu> References: <JeffRelf.F-M.FM@_gH.2010_Aug.16_.5.56.am> <4090a4.5e9.17.1@news.alt.net> <JeffRelf.F-M.FM@_TV.2010_Aug.16_.6.28.pm> <i4djbt$2qe$1@news.trigofacile.com> <JeffRelf.F-M.FM@_eE.2010_Aug.17_.7.22.am> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.neu.edu.cn!goblin3!goblin.stu.neva.ru!bolzen.all.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: alt.free.newsservers,news.software.nntp,news.software.readers Organization: the pond Lines: 45 Reply-To: indi@127.0.0.1 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net 30qT1m5WDjLnbf5J7QtB7A5C8LDBoMQVmpel0dJZ9G1nzdRy4g Cancel-Lock: sha1:gtN7iRnK6hh6f54rUircvgNR0XI= User-Agent: slrn/pre1.0.0-18 (FreeBSD) X-Original-Bytes: 2760