🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83172

--

#83172
From: JeffRelf.F-M.FM
Date: Tue, 17 Aug 2010 14:22
36 lines
2482 bytes
<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.
Technical Details
Message-ID: <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.ams3.giganews.com!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder3.xlned.com!news.glorb.com!news-spur1.glorb.com!newsread.glorb.com!.POSTED!not-for-mail
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>

Show Full Headers
Complete Article Headers
Message-ID: <JeffRelf.F-M.FM@_eE.2010_Aug.17_.7.22.am>
Subject: --
Date: Tue, 17 Aug 2010 14:22:44 +0000
From: JeffRelf.F-M.FM @.
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>
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.ams3.giganews.com!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder3.xlned.com!news.glorb.com!news-spur1.glorb.com!newsread.glorb.com!.POSTED!not-for-mail
Newsgroups: alt.free.newsservers,news.software.nntp,news.software.readers
Organization: JeffRelf.F-M.FM
Lines: 36
NNTP-Posting-Host: XJGH+5GM8EvggnDfgIBqtQ.231.posting.glorb.com
Content-Type: Text/HTML; charset=UTF-8
X-Complaints-To: abuse@glorb.com
NNTP-Posting-Date: Tue, 17 Aug 2010 14:22:44 +0000 (UTC)
User-Agent: X.EXE
X-Notice: Scanned by Mr. Bill
X-Original-Bytes: 2335