🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63265

Re: Workload for an XOVER command ? (reducing xover bandwidth and volume)

#63265
From: Juergen Helbing
Date: Sat, 18 Jan 2003 09:23
59 lines
3333 bytes
curt@kcwc.com (Curt Welch) wrote:

>It's true that a server is likely to have "hiden" overhead which it has to
>deal with on a per-xover command issue.  If you ask for 5 overview records,
>it might internally be reading multiple disks blocks that in fact cover 500
>records and then just throwing out the 495 you didn't ask for.

Could you do me the favour and check how large the XOVER chunks
are on your own servers ?
This seems to be a VERY GOOD approach:

If the host does read really in blocks of (let's say) 16.384 bytes
then fetching  45, 47, 49 would be REALLY nonsense.

Of course this depends a lot from the used Raid/OS - but some 
REAL numbers would help to find out some real constants
for the minimum XOVER-block-Size.


>But, the best way for you to figure out what's "right" should be to ignore
>the server side issues, and let the server admins deal with that.  You
>should simple see what works best for you.  What works best for you is
>likely to be what works best for the server admins as well.

WOW - this is the kind of answer I really like ;-)
But I'm taking _care_ about your harddisks, my friend !

And it would be really hard for you - as a host-admin - to change
the disk-cache constants inside your RAID-drives....

>But you need to remeber that different servers will respond differently.
>So you need to be careful to test perfomance over a wide range of different
>servers to make sure you haven't done something that works create for one
>type of server but which is a total waste of time for others (but anyone
>doing NNTP development has already learned that problem).

I am running the method actually on >10 different major hosts - for testing.
And I am offering the user to switch OFF the XHDR-option per host.
(Especially the mp3.newsfeeds.com is so slow that it makes no sense
 to use multiple XOVER commands on it. Sometimes it takes >30 seconds
to get an answer to a command ;-)

>The harder trade-off is understanding how the issue changes between the
>needs of a user which has very slow network connection vs ones with a fast
>low-latency connection.

Yes - I've answered Alex already:
It seems to be a good idea to find this really out dynamically.

We discussed "fetching full headers for a few hundred or thousands msgs"
earlier (to find something in the headers of a msg) - do you remember ?
From my own experience with this HDR-method I can say that it is
completely unusuable - and should NEVER be considered again.

CU
-- 
Juergen

Technical Details
Message-ID: <0123a.i1320c@archiver.winews.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!news.alt.net!usenet
References: <4954a.g13201@archiver.winews.net> <20030116214503.616$qE@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <0123a.i1320c@archiver.winews.net>
Subject: Re: Workload for an XOVER command ? (reducing xover bandwidth and volume)
Date: Sat, 18 Jan 2003 09:23:01 +0000
From: archiver@i3w.com (Juergen Helbing)
References: <4954a.g13201@archiver.winews.net> <20030116214503.616$qE@newsreader.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!news.alt.net!usenet
Newsgroups: news.software.nntp
Organization: Altopia Corp. - Usenet Access - http://www.altopia.com
Lines: 58
X-Newsreader: MyNews