🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #262258

Re: Gravaity 3.04 News Reader Dowloads Slow

#262258
From: NotReal
Date: Mon, 07 Aug 2017 01:26
135 lines
8738 bytes
In article <hkbfh74xggkv.dlg@v.nguard.lh>, V@nguard.LH says...
> 
> NotReal wrote:
> 
> > The server software is Leafnode version  1.11.11 on a Slackware Linux 
> > server.   The Seamonkey client is version 2.48 and as mentioned 
> > previously, the Gravity version is 3.04.  Both clients are installed on 
> > the same PC running Windows 7 Pro.
> > 
> > Both clients and the server software are configured to use NNTP on port 
> > 119 and tcpdump confirms that port 119 is being used. 
> > 
> > The upstream server for Leafnode is news.eternal-september.org which is 
> > text based only.
> > 
> > I have also now run a separate test of each client under similar 
> > conditions.  I did this by subscribing to the same group on both clients 
> > and then downloading all the available articles, both headers and 
> > bodies, on the server noting the time it took with a stopwatch.  During 
> > the download period, both clients were in the foreground and there was 
> > no other programs running and there was keyboard activity.  The total 
> > number of articles was 2191.  
> > 
> > Seamonkey took 32 seconds to download the 2191 articles or 68.5 articles 
> > on average per second.
> > 
> > Gravity took 39 minutes, 14 seconds (2354 seconds) to download the 2191 
> > articles or .93 articles on average per second.
> > 
> > That is quite a difference and after checking the config file of 
> > Leafnode and all the settings on Gravity I am at a loss to explain why.
> 
> With or without Leafnode leeching from the Eternal-September server,
> Seamonkey is only downloading the headers.  According to you, Gravity is
> downloading both the headers AND BODY.  You are making an unfair
> comparison.  Either both must download only headers or both must
> download headers and bodies to do a compare.
> 
> You didn't say how much data got downloaded (in megabytes) in testing
> each client.  Unless articles are very short, downloading headers and
> bodies takes a lot longer because more bytes are getting downloaded.  My
> client doesn't say how much got downloaded but I can check the size of
> its message store before and after testing to see by how bytes it
> increased in size.  Since you're using Leafnode as a leeching or
> intermediary NNTP server, maybe it has an option to record how many
> bytes it delivered per client, like some statistics on bandwidth.
> 
> Although it has an option to download headers and bodies, perhaps it was
> designed under the premise that only headers were downloaded and the
> bodies got downloaded when the user selected an article to read it.
> 
> Microplanet's Gravity 3.0.4 was released back in September 2010, so it
> hasn't gotten much affection since.  Not likely that anything you report
> in its forums will result in fixed code.  Hmm, maybe the forums don't
> exist anymore.  The http://mpgravity.sourceforge.net/ project page has a
> link to forums (http://apps.sourceforge.net/phpbb/mpgravity/) but that
> page does not exist.  Instead of the webhosted page at Sourceforge, I
> went to the project site (https://sourceforge.net/projects/mpgravity/)
> to see if there was a link to forums but that one fails, too.  
> 
> You might have to move to a different NNTP client.  But first do a test
> that is a fair comparison between Seamonkey and Gravity but ONLY getting
> the headers (no bodies) to see how they compare in retrieval speed.
> Only if Seamonkey can be configure to download headers+bodies could you
> compare it to Gravity downloading headers+bodies.
> 
> http://forums.mozillazine.org/viewtopic.php?f=39&t=236897
> 
> That's a really old article but mentions that Seamonkey can be
> configured as an offline reader.  That is, to be offline means both
> headers and bodies must be retrieved for every article in whatever was
> selected for offline access.  As xman discovered, just going to offline
> mode did not have access to the bodies because they were not included
> when prompted BEFORE going offline.  Mike Easter also mentioned using
> offline mode in Seamonkey to make sure it is getting not only the
> headers but also the bodies.
> 
> Note: While Eternal-September and some other free NNTP servers announce
> they carry only text only newsgroups, my recollection is that there are
> still some graphics newsgroups where binary attachments are allowed that
> those servers do carry.  Make sure to pick newsgroups for an offline
> sync test that are text only.  Alas, many posters use a combo
> e-mail/news client and will post to Usenet using HTML which means there
> is an attachment; however, HTML is also just text but with tags but it
> will double the size of the post.  Not many text-only servers strip or
> reject HTML-formatted posts.  Most times the HTML merely doubles the
> size of a post but that depends on the client the poster used.  Some
> HTML clients add a ton of garbage.  Also, I would not be including lots
> of newsgroups in a test to eliminate any overhead of switching context.
> Unsubscribe and clear a newsgroup that has a lot of articles and then
> resubscribe to it to retrieve all those articles as new.

I can understand your skepticism given the disparity of download times 
but I can assure that both clients were configured to downloaded both 
headers and bodies for the times I gave.  For my tests I first 
unsubscribed from the single news group used for the test and 
disconnected from the server.  I then made sure all the files in the 
relevant directories on the PC were gone so there was nothing stored on 
the PC for that news group.  After that I resubscribed and made sure 
that the client in each test was configured to download for off-line 
reading.  Only after that, when I was sure everything was cleaned up and 
configured correctly, did I reconnect and start downloading the 2191 
articles in the news group to generate the times.  I also confirmed that 
I could disconnect from the server after downloading and read any 
article I selected with both clients.   

But wait, I know after reading the above you are still a non believer so 
I have some additional data for you. :)

The total directory size of the news group used for tests on the 
Slackware server is 11,676 KBs of which 882 KBs is in the .overview 
file.

The file size on the PC for the news group using Gravity after the 
download was 8,452 KBs before compaction and 6,314 KBs after compaction.  

The file size using Seamonkey was 7,148 KBs after the download.

Each article is saved as an individual file on the server in one 
directory for each news group.  In examining the directory contents for 
the tested news group there were less than 20 articles that were larger 
than 15 KB in size with the largest being 61 KB.  I would also guess 
over 90% were well under 10 KB.  Even including the overview file, the 
average file size for each article stored on the server is about 5,370 
bytes.

Using Pico I looked inside a half dozen of the largest files (articles)
on the server including the 61 KB file and they were all text.

Lastly, I have done as you suggested.  I cleaned everything up by 
unsubscribing etc. and configured each client to download headers only.  
In both cases the download was so fast that I really could not measure 
it manually with a stopwatch.  It was literally in the blink of an eye.

 
Technical Details
Message-ID: <MPG.33f18bd6f8c6e5d989684@news.eternal-september.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <MPG.33eec63338883d69989680@news.eternal-september.org> <15wbp42wisuah.dlg@v.nguard.lh> <MPG.33f0f9e724c4bd72989681@news.eternal-september.org> <hkbfh74xggkv.dlg@v.nguard.lh>

Show Full Headers
Complete Article Headers
Message-ID: <MPG.33f18bd6f8c6e5d989684@news.eternal-september.org>
Subject: Re: Gravaity 3.04 News Reader Dowloads Slow
Date: Sun, 6 Aug 2017 21:26:35 -0400
From: NotReal <NotReal@nospam.com>
References: <MPG.33eec63338883d69989680@news.eternal-september.org> <15wbp42wisuah.dlg@v.nguard.lh> <MPG.33f0f9e724c4bd72989681@news.eternal-september.org> <hkbfh74xggkv.dlg@v.nguard.lh>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: A noiseless patient Spider
Lines: 135
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: mx02.eternal-september.org; posting-host="94437fee4fcfac5ebdcd984944a5edb9";
 logging-data="23285"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/uRcqdEdsRVWfaI7/LNd8zDc0o9BwsaAM="
User-Agent: MicroPlanet-Gravity/3.0.4
X-Antivirus-Status: Clean
X-Antivirus: Avast (VPS 170806-0, 08/06/2017), Outbound message
Cancel-Lock: sha1:LrOx3PS56U86Z+wQHkbxlAwAv4g=
X-Received-Body-CRC: 4163224952
X-Received-Bytes: 8655