🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
40 messages
40 total messages Started by Jayme Cox Fri, 02 Dec 1994 23:08
NNTP vs NFS
#13213
Author: Jayme Cox
Date: Fri, 02 Dec 1994 23:08
17 lines
1106 bytes
	I'm about to set up a machine to use as a dedicated news server
for our site and was wondering which would be the better choice.

	1) Set all readers to NNTP
	2) NFS mount news spool

By better, I mean which would be faster and place less of a load on the
ethernet and/or machines.

Thanks,
		--Jayme

-- 
Jayme@rain.org                         http://www.rain.org/~jayme/sig.html

"The Crystal Wind is the Storm and the Storm is Data and the Data is Life"
                    D.K. Moran  _The Long Run_
Re: NNTP vs NFS
#13320
Author: Charles
Date: Mon, 05 Dec 1994 00:00
25 lines
1827 bytes
Jayme Cox (jayme@rain.org) wrote:
: 	I'm about to set up a machine to use as a dedicated news server
: for our site and was wondering which would be the better choice.

: 	1) Set all readers to NNTP
: 	2) NFS mount news spool

Go NNTP.  I used to be in the NFS camp, but over the last couple years
I've moved over to the NNTP way of thinking.   NNTP is where it's happening.
All the new user authentication, thread databases, etc are being implemented
through NNTP.  

Also, I don't know of any Mac, and there probably aren't any PC either, news
readers that use file based (NFS) reading.  They all use NNTP.

NFS can also cause problems on clients.  What happens when your news machine
goes down?  You've got NFS mounts all over the place that are going to be
screaming.  

Do you have many remote sites?  I support news for a company that has sites
all around the globe, connected anywhere from T1 to 56KB.  NFS mounts
over 56KB links are not a good idea, but reading news via NNTP works
just fine.

Charles
Re: NNTP vs NFS
#13335
Author: J. Porter Clark
Date: Mon, 05 Dec 1994 14:43
29 lines
1988 bytes
charles@backfire.mn.org (Charles) writes:

>Jayme Cox (jayme@rain.org) wrote:
>:      I'm about to set up a machine to use as a dedicated news server
>: for our site and was wondering which would be the better choice.

>:      1) Set all readers to NNTP
>:      2) NFS mount news spool

>Go NNTP.  I used to be in the NFS camp, but over the last couple years
>I've moved over to the NNTP way of thinking.   NNTP is where it's happening.
>All the new user authentication, thread databases, etc are being implemented
>through NNTP.

A big plus for NNTP is that the News Overview database, as seen via
NNTP, is (mostly) in sync with the spool.  If you use NFS to get at the
spool and the News Overview database, you will occasionally find
articles listed in the database that have been canceled.  Users
occasionally complain about such things.

>NFS can also cause problems on clients.  What happens when your news machine
>goes down?  You've got NFS mounts all over the place that are going to be
>screaming.

This is a good point.  You can tell your clients to soft-mount the
directories, but in my experience, you can't count on them to do so.
--
J. Porter Clark    porter.clark@msfc.nasa.gov
NASA/MSFC Flight Data Systems Branch
Re: NNTP vs NFS
#13391
Author: k p c
Date: Tue, 06 Dec 1994 22:37
13 lines
1705 bytes
Hmm, there's no reason not to provide both and let the users decide
whether or not to mount the spool on the basis of what is best for
them.

Some situations involving information filtering, local databases and
archivers, and recursive grepping require the spool to be present.

As for the default, NNTP is perhaps best.

But it's an axiom of the net that users will come up with needs that
developers and administrators never considered, so it's a good idea to
provide both capabilities at the outset rather than waiting for a
request to come in.
Re: NNTP vs NFS
#13417
Author: Tim Pierce
Date: Wed, 07 Dec 1994 16:58
13 lines
1326 bytes
In article <3bv8uu$8q5@anvil.msfc.nasa.gov>,
J. Porter Clark <jpc@anvil.msfc.nasa.gov> wrote:

>A big plus for NNTP is that the News Overview database, as seen via
>NNTP, is (mostly) in sync with the spool.  If you use NFS to get at the
>spool and the News Overview database, you will occasionally find
>articles listed in the database that have been canceled.

This is not necessarily true if you are not using INN.

-- 
Green Card fodder: Canter, Siegel, green card, Joel Furr, liable,
fortune, conspiracy, CyberSell, Tennessee Bar.
Re: NNTP vs NFS
#13426
Author: Wayne Davison
Date: Wed, 07 Dec 1994 22:48
12 lines
1171 bytes
According to Tim Pierce <twpierce@midway.uchicago.edu>:
> J. Porter Clark <jpc@anvil.msfc.nasa.gov> wrote:
> >A big plus for NNTP is that the News Overview database, as seen via
> >NNTP, is (mostly) in sync with the spool.
> 
> This is not necessarily true if you are not using INN.

Really?  Do you know of a specific nntp daemon that doesn't weed/fake
the xover data?  I know that INN and the reference NNTP both do this.
-- 
Wayne Davison
davison@borland.com
Re: NNTP vs NFS
#13532
Author: Duncan Sinclair
Date: Sun, 11 Dec 1994 21:01
26 lines
1745 bytes
In <3btl62$qq0@gremlin.backfire.mn.org> charles@backfire.mn.org (Charles) writes:

>Jayme Cox (jayme@rain.org) wrote:
>: 	I'm about to set up a machine to use as a dedicated news server
>: for our site and was wondering which would be the better choice.

>: 	1) Set all readers to NNTP
>: 	2) NFS mount news spool

>Go NNTP.  I used to be in the NFS camp, but over the last couple years
>I've moved over to the NNTP way of thinking.   NNTP is where it's happening.
>All the new user authentication, thread databases, etc are being implemented
>through NNTP.  

I remember reading that NFS works out as faster than NNTP.

If NNTP is designed for reading news, while NFS is a more general
protocal, can anyone explain this?

Thanks for any comments,



--
   Duncan Sinclair  |  sinclair@dis.strath.ac.uk  |  sinclair@dcs.gla.ac.uk
       ---  Would the *real* UNIX Operating System please stand up.  ---
Re: NNTP vs NFS
#13573
Author: Don Lewis
Date: Tue, 13 Dec 1994 02:45
18 lines
1664 bytes
In article <3bv8uu$8q5@anvil.msfc.nasa.gov>,
J. Porter Clark <jpc@anvil.msfc.nasa.gov> wrote:
>charles@backfire.mn.org (Charles) writes:
>>NFS can also cause problems on clients.  What happens when your news machine
>>goes down?  You've got NFS mounts all over the place that are going to be
>>screaming.
>
>This is a good point.  You can tell your clients to soft-mount the
>directories, but in my experience, you can't count on them to do so.

If you use soft mounts, when the news server goes down, your news reader
will see its attempt to open articles fail and think they have been
cancelled.  It will then mark them as read and you won't seem them
when the new server is fixed.
-- 
Don "Truck" Lewis                                       Silicon Systems
Internet: gdonl@gv.ssi1.com                             138 New Mohawk Road
Phone: +1 916 478-8284       FAX: +1 916 478-8251       Nevada City, CA  95959
Re: NNTP vs NFS
#13580
Author: Casper H.S. Dik
Date: Tue, 13 Dec 1994 10:35
29 lines
1788 bytes
sinclair@dis.strath.ac.uk (Duncan Sinclair) writes:

>I remember reading that NFS works out as faster than NNTP.

It is my experience that readers are more repsonsive when reading over
NFS than when reading over nntp.

NFS also has the advantage that when you have multiple users reading
news on one NFS news client, the file caching is shared (the active
file being the most important one).

>If NNTP is designed for reading news, while NFS is a more general
>protocal, can anyone explain this?

Well, NNTP readers usually transfer the entire article before
presenting it.  They also need to transfer the entire article
and usually write it on disk. (There's no present the first 4K in NNTP).

NFS readers will open the file and read it.  As soon as the first
buffer has been read they can present it to the reader, the OS
will then take care of read ahead.

If you come across a large article which doesn't seem interesting
after all, NFS readers will not transfer the whole file.

Having /var/spool/news mounted with "intr,bg" makes crashed
fileservers a non-problem.

Casper
Re: NNTP vs NFS
#13597
Author: Brian Edmonds
Date: Tue, 13 Dec 1994 22:33
34 lines
2855 bytes
>>>>> "Casper" == Casper H S Dik <casper@fwi.uva.nl> writes:

Casper> NFS also has the advantage that when you have multiple users
Casper> reading news on one NFS news client, the file caching is shared
Casper> (the active file being the most important one).

This is a good point, if you normally have more than one simultaneous
news user per unix host.  Like many undergrad setups.  For individual
workstation environments, though, it's not so useful.

Casper> Well, NNTP readers usually transfer the entire article before
Casper> presenting it.  They also need to transfer the entire article
Casper> and usually write it on disk. (There's no present the first 4K
Casper> in NNTP).

The usually do, but they obviously don't have to.  For all the things
that people say Netscape got wrong, one thing it does right is that it
displays news articles as they come in.  Being on the other side of a
14.4 SLIP link from my news servers at home, I can attest to this
firsthand.

Casper> If you come across a large article which doesn't seem
Casper> interesting after all, NFS readers will not transfer the whole
Casper> file.

Hmm, I don't know how Netscape could actually do this under NNTP, short
of severing the connection.  I haven't checked to see if this is what
actually happens, however.

---Tenchi-Muyo---Dominion---Greenwood--Lodoss--Akira---/================
 Brian Edmonds (Prodigy Technologies Corporation)     / SCA: Bardas,OFLT
 http://www.cs.ubc.ca/spider/edmonds      ...hi kibo / Lions Gate, AnTir
---The-The--Dire-Straits--KLF--Doors--Colin-James---/___inux spoken here
	    http://sailfish.peregrine.com/wb/ww/m(92,42,0,0)
Re: NNTP vs NFS
#13607
Author: Collis dr. G.V.
Date: Wed, 14 Dec 1994 08:23
25 lines
1700 bytes
Jayme Cox (jayme@rain.org) wrote:
: 	I'm about to set up a machine to use as a dedicated news server
: for our site and was wondering which would be the better choice.

: 	1) Set all readers to NNTP
: 	2) NFS mount news spool

: By better, I mean which would be faster and place less of a load on the
: ethernet and/or machines.

: Thanks,
: 		--Jayme

In common with all other posts, I would recommend NNTP rather than NFS.
The local news system I set up is accessed from UN*X boxes, PCs and
VAX/VMS via nntp and it works well.

However, you may need to provide some NFS access for certain
newsreaders; NN (nngrep) for instance assumes it has "direct" access to
its index files.

--
 Geoff Collis, CSSG, Philips Semiconductors, Southampton, U.K.
 email: collis@hpcssg.serigate.philips.nl (seri : collis@hpcssg)
 tel  : +31-40-744091 (NatLab) or +44 703 316360 (Southampton)
Re: NNTP vs NFS
#13634
Author: Hamish Marson
Date: Thu, 15 Dec 1994 01:58
24 lines
2179 bytes
Brian Edmonds (bedmonds@prodigy.bc.ca) wrote:
> >>>>> "Casper" == Casper H S Dik <casper@fwi.uva.nl> writes:

> Casper> NFS also has the advantage that when you have multiple users
> Casper> reading news on one NFS news client, the file caching is shared
> Casper> (the active file being the most important one).

> This is a good point, if you normally have more than one simultaneous
> news user per unix host.  Like many undergrad setups.  For individual
> workstation environments, though, it's not so useful.

This is bogus. Why do you think that file accesses by NNTP aren't
cached? Under AIX a file is cached in main memory, until a reboot, or
the memory space is needed by something else...


--
======================================================================
|  Hamish Marson                                                     |
|  Systems Programmer              |                                 |
|  Computer Services               | INTERNET h.marson@waikato.ac.nz |
|  University of Waikato           | PHONE    +64 7 8562889 xt 8181  |
|  New Zealand                     | FAX      +64 7 8384066          |
===========Disclaimer :- Remember. You heard it here first.===========
Re: NNTP vs NFS
#13648
Author: Brian Edmonds
Date: Thu, 15 Dec 1994 16:54
22 lines
2401 bytes
>>>>> "Hamish" == Hamish Marson <hamish@thebes.waikato.ac.nz> writes:

Hamish> This is bogus. Why do you think that file accesses by NNTP
Hamish> aren't cached? Under AIX a file is cached in main memory, until
Hamish> a reboot, or the memory space is needed by something else...

Not quite.  File accesses via NFS can be cached by the OS *locally*, as
they are accessed at the OS level.  Accesses via NNTP are done at the
application level, so even if you have two newsreaders reading exactly
the same thing in sync, you'll still get two copies flowing over the
network, as the OS has no way to know they're the same and thereby cache
them.

Sure, they're both cached, but NFS can cache locally, thereby reducing
load on both the network and on the NFS server (likely the same host as
the news server).

---AD-Police---Akira---UF---Greenwood---Lodoss---UY----/================
 Brian Edmonds (Prodigy Technologies Corporation)     / SCA: Bardas,OFLT
 http://www.cs.ubc.ca/spider/edmonds     ...security / Lions Gate, AnTir
---Shonen-Knife--Depeche-Mode--Dire-Straits--INXS---/___inux spoken here
	    http://sailfish.peregrine.com/wb/ww/m(92,42,0,0)
Re: NNTP vs NFS
#13662
Author: Tom Limoncelli
Date: Fri, 16 Dec 1994 03:12
24 lines
1800 bytes
In <BEDMONDS.94Dec15085412@priss.prodigy.bc.ca> bedmonds@prodigy.bc.ca (Brian Edmonds) writes:

>Not quite.  File accesses via NFS can be cached by the OS *locally*, as
>they are accessed at the OS level.  Accesses via NNTP are done at the
>application level, so even if you have two newsreaders reading exactly
>the same thing in sync, you'll still get two copies flowing over the
>network, as the OS has no way to know they're the same and thereby cache
>them.

>Sure, they're both cached, but NFS can cache locally, thereby reducing
>load on both the network and on the NFS server (likely the same host as
>the news server).

Hello?  What are the chances that two people will read the
same article at the same time (or even within 5 minutes of
each other)?

Close To Zero.

--tal
-- 
        Tom Limoncelli -- tal@plts.org (home) -- tal@big.att.com (work)

                   "I just *LOVE* scanning for life forms!"
Re: NNTP vs NFS
#13680
Author: Brian Edmonds
Date: Fri, 16 Dec 1994 16:12
15 lines
2168 bytes
>>>>> "Tom" == Tom Limoncelli <tal@plts.org> writes:

Tom> Hello?  What are the chances that two people will read the same
Tom> article at the same time (or even within 5 minutes of each other)?

Sure.  I was talking theoretically, as the original poster appeared to
be implying that almighty AIX would cache articles retrieved via NNTP on
the local machine at the *OS* level.  Practically speaking, it's not
likely to be important.

---Project-Ako---Greenwood---UY---Maison-Ikkoku---DP---/================
 Brian Edmonds (Prodigy Technologies Corporation)     / SCA: Bardas,OFLT
 http://www.cs.ubc.ca/spider/edmonds          ...SDI / Lions Gate, AnTir
---Annie-Lennox---Colin-James---Leslie-Spit-Treeo---/___inux spoken here
	    http://sailfish.peregrine.com/wb/ww/m(92,42,0,0)
Re: NNTP vs NFS
#13693
Author: k p c
Date: Sat, 17 Dec 1994 04:53
10 lines
1500 bytes
Quoth jayme@rain.org (Jayme Cox):
> 	I'm about to set up a machine to use as a dedicated news server
> for our site and was wondering which would be the better choice.
> 
> 	1) Set all readers to NNTP
> 	2) NFS mount news spool

	3) Do both.  NNTP has advantages but users will always need
	   the news spool for doing things that their newsreaders
	   can't do as easily.
Re: NNTP vs NFS
#13769
Author: Collis dr. G.V.
Date: Wed, 21 Dec 1994 08:50
32 lines
1939 bytes
Collis dr. G.V. (collis@prl.philips.nl) wrote:
: Jayme Cox (jayme@rain.org) wrote:
: : 	I'm about to set up a machine to use as a dedicated news server
: : for our site and was wondering which would be the better choice.

: : 	1) Set all readers to NNTP
: : 	2) NFS mount news spool

: : By better, I mean which would be faster and place less of a load on the
: : ethernet and/or machines.

: : Thanks,
: : 		--Jayme

: In common with all other posts, I would recommend NNTP rather than NFS.
: The local news system I set up is accessed from UN*X boxes, PCs and
: VAX/VMS via nntp and it works well.

: However, you may need to provide some NFS access for certain
: newsreaders; NN (nngrep) for instance assumes it has "direct" access to
: its index files.

Apologies, but I lost a mail request from *someone* who wanted to know 
which VAX/VMS newsreader I was using. So I have posted the answer as a
follow-up:

      FNews but I can't remember which anon-ftp site (use archie).
      
--
 Geoff Collis, CSSG, Philips Semiconductors, Southampton, U.K.
 email: collis@hpcssg.serigate.philips.nl (seri : collis@hpcssg)
 tel  : +31-40-744091 (NatLab) or +44 703 316360 (Southampton)
Re: NNTP vs NFS
#13791
Author: Anthony D'Atri
Date: Wed, 21 Dec 1994 19:53
9 lines
1202 bytes
>However, you may need to provide some NFS access for certain
>newsreaders; NN (nngrep) for instance assumes it has "direct" access to
>its index files.

As near as I can tell, NN also inists on an INN-only NNTP extension.  I
ended up having to build it to retrieve articles and NOV files through the
filesystem (ie., NFS).  I refuse to build custom (ie., nnmaster) thread
databases for a specific newsreader, and nnmaster running via NNTP in my
experience swamps the server.
Re: NNTP vs NFS
#13790
Author: Anthony D'Atri
Date: Wed, 21 Dec 1994 19:56
12 lines
1397 bytes
>Hello?  What are the chances that two people will read the
>same article at the same time (or even within 5 minutes of
>each other)?

>Close To Zero.

Even at a big site (which I'm not) I agree with you on that.  At the various
sites that I've used/run news, reading the articles via NFS has always been
snappier for me than reading them via NNTP.  As has been mentioned here, the
ability to read the first block(s) of the file while the others are still
coming might have something to do with it.  I suspect that the reduced
number of contexts on the server has something to do with it, too.
Re: NNTP vs NFS
#13794
Author: Rob Robertson
Date: Wed, 21 Dec 1994 22:19
44 lines
2665 bytes
In article <D16FE4.Byw@statsci.com> aad@statsci.com (Anthony D'Atri) writes:

   Even at a big site (which I'm not) I agree with you on that.  At the various
   sites that I've used/run news, reading the articles via NFS has always been
   snappier for me than reading them via NNTP.  As has been mentioned here, the
   ability to read the first block(s) of the file while the others are still
   coming might have something to do with it.  I suspect that the reduced
   number of contexts on the server has something to do with it, too.

if you've got a good implementation of nntp, nntp need not be so slow. 
there are alot of places where there are duplicate system calls,
getting information that could have been cached; where one does
redundant opens and reads.

having an o/s with a decent vm system helps.

yeah, with NFS you can read the first parts o files, but remember that
most articles are well under 4k.

what i like about nntp is that it provides:

	o a standard interface, that supports pretty much *all*
	  platforms, a good chunk of my newsreader clients are now on
	  macintosh/dos/windows platforms.   

	o a way of measuring usage.  when one is asking for 10 
	  more gig o disc, it is useful to have something to point to. 

	o it is harder for people to do massive greps on my spool
	  directory.  this was a problem when i worked at a 350 person
	  lab, seven years ago.  now at a university with a reader
	  population of 8,000-10,000 i shudder to think what a couple
	  of unthinking users could do.

my only performance problem with innd/nnrpd, is that waiting for innd
to fork off the nnrpd process can occasionally take a couple o
seconds. 

rob
--
			  william robertson
			rob@agate.berkeley.edu
		  datakommunikation&netwerkzervices
			     uc berkeley
Re: NNTP vs NFS
#13796
Author: Tim Pierce
Date: Wed, 21 Dec 1994 23:26
18 lines
1708 bytes
In article <D16FE4.Byw@statsci.com>, Anthony D'Atri <aad@statsci.com> wrote:

>At the various
>sites that I've used/run news, reading the articles via NFS has always been
>snappier for me than reading them via NNTP.  As has been mentioned here, the
>ability to read the first block(s) of the file while the others are still
>coming might have something to do with it.  I suspect that the reduced
>number of contexts on the server has something to do with it, too.

I was always led to understand that the real lose in
newsreading via NFS was in trying to *post* through NFS --
the server goes crazy trying to handle all of the file locks
at once.  Having never seriously administered an NFS server,
I've never had the opportunity to view or diagnose any of
this behavior first-hand.

Might it not be a win, then, to permit news reading over NFS
but require that posting be done via NNTP?
Re: NNTP vs NFS
#13817
Author: Alan Brown
Date: Thu, 22 Dec 1994 11:19
19 lines
1689 bytes
In article <D16FE4.Byw@statsci.com>, Anthony D'Atri <aad@statsci.com> wrote:

>snappier for me than reading them via NNTP.  As has been mentioned here, the
>ability to read the first block(s) of the file while the others are still
>coming might have something to do with it.  I suspect that the reduced
>number of contexts on the server has something to do with it, too.

This is a reader issue. Telnetting into a NNTP port and retrieving 
a message with "article xxxxx" results in the item being shown 
immediately. 

Just because _some_ (many?) readers wait until the complete article is
received before displaying it doesn't mean than NNTP is inherently
slower than NFS.



-- 
AB
Re: NNTP vs NFS
#13816
Author: Casper H.S. Dik
Date: Thu, 22 Dec 1994 11:37
10 lines
1232 bytes
twpierce@quads.uchicago.edu (Tim Pierce) writes:

>Might it not be a win, then, to permit news reading over NFS
>but require that posting be done via NNTP?

That's what we do.  Most news readers read through NFS, everything posts
through NNTP.  The few readers that use NNTP seem to require more
resources on the server than all the clients using NFS.

Casper
Re: NNTP vs NFS
#13832
Author: Steinar Haug
Date: Thu, 22 Dec 1994 19:24
14 lines
1646 bytes
> >Might it not be a win, then, to permit news reading over NFS
> >but require that posting be done via NNTP?
> 
> That's what we do.  Most news readers read through NFS, everything posts
> through NNTP.  The few readers that use NNTP seem to require more
> resources on the server than all the clients using NFS.

And we use NNTP only. The combination of innd and nnrpd works just fine
for us. Yes, we have experienced server overload - but that was with an
old Sparcstation-1+ and 120+ clients. I tend to doubt that NFS would have
been markedly better in this situation.

Steinar Haug, SINTEF RUNIT, University of Trondheim, NORWAY
Email: Steinar.Haug@runit.sintef.no
Re: NNTP vs NFS
#13845
Author: Tom Limoncelli
Date: Fri, 23 Dec 1994 14:20
14 lines
1329 bytes
In <1994Dec21.232620.28860@midway.uchicago.edu> twpierce@quads.uchicago.edu (Tim Pierce) writes:

>Might it not be a win, then, to permit news reading over NFS
>but require that posting be done via NNTP?

I think the big win is to have reading via NFS and posting via
NNTP.  I also permit reading via NNTP so all the macs and PCs
won't have any problems.

--tal
-- 
        Tom Limoncelli -- tal@plts.org (home) -- tal@big.att.com (work)

                   "I just *LOVE* scanning for life forms!"
Re: NNTP vs NFS
#13889
Author: Kevin Kadow
Date: Sun, 25 Dec 1994 18:32
23 lines
1735 bytes
In article <3dembr$pl6@plts.org>, Tom Limoncelli <tal@plts.org> wrote:
>In <1994Dec21.232620.28860@midway.uchicago.edu> twpierce@quads.uchicago.edu (Tim Pierce) writes:
>
>>Might it not be a win, then, to permit news reading over NFS
>>but require that posting be done via NNTP?
>
>I think the big win is to have reading via NFS and posting via
>NNTP.  I also permit reading via NNTP so all the macs and PCs
>won't have any problems.

NFS has more _network_ overhead than NNTP, and probably more processor
work on the machine reading news, the load on the news server depends on how
well written the nntpd program is...

NNTP reading does have some advantages over NFS, especially in the area of
logging and keeping track of what groups are actually read (and what groups
can be removed because nobody reads them).

--
kadokev@ripco.com						 Kevin Kadow

FREE Usenet/Mail, inexpensive Internet - Ripco... Wearing white hats since 1983
Dialup:(312) 665-0065|Gopher:gopher.ripco.com|Telnet:foley.ripco.com ('info')
Re: NNTP vs NFS
#13945
Author: Anthony D'Atri
Date: Tue, 27 Dec 1994 21:22
9 lines
1056 bytes
>>>Might it not be a win, then, to permit news reading over NFS
>>>but require that posting be done via NNTP?

Exactly.

>NFS has more _network_ overhead than NNTP, and probably more processor
>work on the machine reading news,

Neither is clear.
Re: NNTP vs NFS
#14079
Author: Greg Andrews
Date: Sun, 01 Jan 1995 06:08
24 lines
1642 bytes
tal@plts.org (Tom Limoncelli) writes:
>
>Hello?  What are the chances that two people will read the
>same article at the same time (or even within 5 minutes of
>each other)?
>
>Close To Zero.
>

Not here.  Our machines have a turnover of around 150 users
within a 5 minute period during peak usage hours.  While news
isn't the only thing they do, it's done often enough that
I estimate 3-15 people will be reading the same articles
within 5 minutes of each other.

Large sites need to solve problems that small sites think
don't exist at all...

  -Greg
-- 
:::::::::::::::::::  Greg Andrews  gerg@netcom.com  :::::::::::::::::::
Fortune Cookie:  Matter cannot be created or destroyed,
                 nor can it be returned without a receipt.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Re: NNTP vs NFS
#14078
Author: John Hascall
Date: Sun, 01 Jan 1995 16:07
35 lines
2192 bytes
Greg Andrews <gerg@netcom.com> wrote:
}tal@plts.org (Tom Limoncelli) writes:
}>Hello?  What are the chances that two people will read the
}>same article at the same time (or even within 5 minutes of
}>each other)?  ...  Close To Zero.

}Not here.  Our machines have a turnover of around 150 users
}within a 5 minute period during peak usage hours.  While news
}isn't the only thing they do, it's done often enough that
}I estimate 3-15 people will be reading the same articles
}within 5 minutes of each other.

   That's one advantage of NNTP, you can actually
   measure such things rather than estimating --
   and you might be surprised.

   One thing you can measure is which newsgroups are
   in your reader's .newsrc files -- maybe your users
   are less diverse than ours, but other than the seven
   we "plant" in new .newsrcs, no newsgroup is subscribed-to
   in more than 5% of our .newsrcs and most are less than 1%
   (and > 99% of newsgroups are subscribed-to in at least one
   .newsrc).  This alone says that it is unlikely that people
   are reading the same newsgroup, let alone the same article.

}Large sites need to solve problems that small sites think
}don't exist at all...

   Tell me about it...

John
-- 
John Hascall                   ``An ill-chosen word is the fool's messenger.''

Systems Software Engineer, ISU Comp Center  +  Ames, IA  50011  +  515/294-9551
Re: NNTP vs NFS
#14126
Author: Tom Limoncelli
Date: Wed, 04 Jan 1995 05:34
39 lines
2517 bytes
In <gergD1pqEu.9xB@netcom.com> gerg@netcom.com (Greg Andrews) writes:

>Not here.  Our machines have a turnover of around 150 users
>within a 5 minute period during peak usage hours.  While news
>isn't the only thing they do, it's done often enough that
>I estimate 3-15 people will be reading the same articles
>within 5 minutes of each other.

Yes, with 150 every active people on one machine you might get 3-15
people reading the exact same article within 5 minutes of each other.
However, the way Sun's NFS cache interacts with Sun's vm system, 5
minutes might as well be 5 hours.  The bits will be gone from the cache
in all but the most contrived situations.

If you have 150 people reading netnews on one NFS client, you will
definately get better performance if they used NNTP just based on the
problems that UDP-based protocls like NFS have when you try to scale
them.

If you have 150 people running "trn" on the same Sun at the same
time I want to know what model you are using.

>Large sites need to solve problems that small sites think
>don't exist at all...

Don't lecture me about big sites :-).

However, super-huge sites have so many extenuating circumstances that
they need to try things both ways to see what works best.  Too
many variables.  They should also have experts on salary that know
enough that they don't have to post this kind of question to the net.

--tal

-- 
        Tom Limoncelli -- tal@plts.org (home) -- tal@big.att.com (work)
I know of job openings in New Jersey for:
     Extremely good Unix sysadmins with great people skills,
     Lotus Notes support people, PPP/SLIP PC/MAC/Unix experts.
Re: NNTP vs NFS
#14163
Author: Anthony D'Atri
Date: Thu, 05 Jan 1995 03:06
7 lines
1206 bytes
>Not here.  Our machines have a turnover of around 150 users
>within a 5 minute period during peak usage hours.  While news
>isn't the only thing they do, it's done often enough that
>I estimate 3-15 people will be reading the same articles
>within 5 minutes of each other.

Gee, do you only carry ten groups?
Re: NNTP vs NFS
#14162
Author: Anthony D'Atri
Date: Thu, 05 Jan 1995 03:09
19 lines
1717 bytes
>   That's one advantage of NNTP, you can actually
>   measure such things rather than estimating --
>   and you might be surprised.

If you're using nntpd, you can't measure much at all -- just when a machine
issues the 'group' command.

>   One thing you can measure is which newsgroups are
>   in your reader's .newsrc files

Which is orthogonal to NNTP vs. NFS vs. whatever.  Also, a group being in
someone's .newsrc doesn't mean that they actually read it.  I've known a
number of users who couldn't be bothered to unsubscribe to groups they
don't read.

>   (and > 99% of newsgroups are subscribed-to in at least one
>   .newsrc).

Sounds to me like someone's automatically subscribing to everything.
Re: NNTP vs NFS
#14181
Author: John Hascall
Date: Thu, 05 Jan 1995 14:43
39 lines
2120 bytes
}>   That's one advantage of NNTP, you can actually
}>   measure such things rather than estimating --
}>   and you might be surprised.
}
}If you're using nntpd, you can't measure much at all -- just when a machine
}issues the 'group' command.

     Adding logging is trivial...

}>   One thing you can measure is which newsgroups are
}>   in your reader's .newsrc files

}Which is orthogonal to NNTP vs. NFS vs. whatever.

     That was my point...

}                                                   Also, a group being in
}someone's .newsrc doesn't mean that they actually read it.  I've known a
}number of users who couldn't be bothered to unsubscribe to groups they
}don't read.

     True (check the article numbers for a somewhat more accurate count).
     On the other hand, I doubt that this skews the relative stats much,
     if at all.   (Are people more likely to quit reading, but not
     unsubscribe to rec.foo than rec.bar?)


}>   (and > 99% of newsgroups are subscribed-to in at least one
}>   .newsrc).

}Sounds to me like someone's automatically subscribing to everything.
}
     Possible, but I don't recall seeing this.

John
-- 
John Hascall                   ``An ill-chosen word is the fool's messenger.''

Systems Software Engineer, ISU Comp Center  +  Ames, IA  50011  +  515/294-9551
Re: NNTP vs NFS
#14180
Author: Peter Berger
Date: Thu, 05 Jan 1995 15:12
15 lines
1486 bytes
In article <D1wwrw.JJ0@statsci.com>, Anthony D'Atri <aad@statsci.com> wrote:
>Which is orthogonal to NNTP vs. NFS vs. whatever.  Also, a group being in
>someone's .newsrc doesn't mean that they actually read it.  I've known a
>number of users who couldn't be bothered to unsubscribe to groups they
>don't read.

And then there are pathological newsreaders like "Tin", whose default 
behavior is to effectly copy the entire active file to a user's .newsrc.


-- 
.....................................................................
  Peter G. Berger, Esq.  Telerama Public Access Internet, Pittsburgh
Internet: peterb@telerama.lm.com Phone: 412/481-3505 Fax: 412/481-8568
	   	 	http://www.lm.com/~peterb
Re: NNTP vs NFS
#14184
Author: Ian G Batten
Date: Thu, 05 Jan 1995 16:43
21 lines
1809 bytes
In article <3edc21$qf4@plts.org>, Tom Limoncelli <tal@plts.org> wrote:
> In <gergD1pqEu.9xB@netcom.com> gerg@netcom.com (Greg Andrews) writes:
> 
> >Not here.  Our machines have a turnover of around 150 users
> >within a 5 minute period during peak usage hours.  While news
> >isn't the only thing they do, it's done often enough that
> >I estimate 3-15 people will be reading the same articles
> >within 5 minutes of each other.
> 
> Yes, with 150 every active people on one machine you might get 3-15
> people reading the exact same article within 5 minutes of each other.
> However, the way Sun's NFS cache interacts with Sun's vm system, 5
> minutes might as well be 5 hours.  The bits will be gone from the cache
> in all but the most contrived situations.

I believe that Netcom use Auspexen.  It's not unreasonable at all to
have five minute cache hold on the data cache.  Ours is currently at 90
seconds, but then one of our build jockies seems to be reading the whole
filesystem a block at a time :-)

ian
Re: NNTP vs NFS
#14200
Author: Tom Limoncelli
Date: Fri, 06 Jan 1995 00:45
16 lines
1441 bytes
In <D1xyGK.Kux@fulcrum.co.uk> igb@fulcrum.co.uk (Ian G Batten) writes:

>I believe that Netcom use Auspexen.  It's not unreasonable at all to
>have five minute cache hold on the data cache.  Ours is currently at 90

We are talking about the NFS-client cache.  Talking about Auspexen
caches means you are talking about the NFS-server cache.

--tal
(and don't lecture me about Auspexen :-) )

-- 
        Tom Limoncelli -- tal@plts.org (home) -- tal@big.att.com (work)
I know of job openings in New Jersey for:
     Extremely good Unix sysadmins with great people skills,
     Lotus Notes support people, PPP/SLIP PC/MAC/Unix experts.
Re: NNTP vs NFS
#14204
Author: Toivo Pedaste
Date: Fri, 06 Jan 1995 02:52
10 lines
1350 bytes
One advantage of nntp is that when some does a
	find / -name 'somestuff'
on a client machine it won't descend into the nfs mounted news 
partion and reduce your news server to a gibbering wreck for the 
next half hour.
--
------------------------------------------------------------------
 Toivo Pedaste                        Email:  toivo@ucs.uwa.edu.au
 University Computing Services,       Phone:  +61 9 380 2605
 University of Western Australia      Fax:    +61 9 380 1014
Re: NNTP vs NFS
#14208
Author: Tracy J. Di Marco
Date: Fri, 06 Jan 1995 08:48
16 lines
1581 bytes
Anthony D'Atri <aad@statsci.com> wrote:
>John Hascall <john@iastate.edu> wrote:
}>   (and > 99% of newsgroups are subscribed-to in at least one
}>   .newsrc).
}Sounds to me like someone's automatically subscribing to everything.

Well, actually, he could very well be referring to me.  Depending upon
which .newsrc I'm currently using, I may have up to 300% of the newsgroups
available on from our local news server in my .newsrc.  And as I use it
more for scanning what we don't receive here, I'm subscribed to a great
many groups that I don't read on a regular basis.  
-- 
Tracy Di Marco <gendalia@buchanan07.res.iastate.edu>
      http://www.public.iastate.edu/~gendalia/
"This is getting nowhere.  I have news to read."
       -- Michael Grubb <mg@ac.duke.edu>
Re: NNTP vs NFS
#14251
Author: Tom Limoncelli
Date: Sun, 08 Jan 1995 03:21
20 lines
1494 bytes
In <3eib8q$lqg@styx.uwa.edu.au> toivo@ucs.uwa.edu.au (Toivo Pedaste) writes:

>One advantage of nntp is that when some does a
>	find / -name 'somestuff'
>on a client machine it won't descend into the nfs mounted news 
>partion and reduce your news server to a gibbering wreck for the 
>next half hour.

chmod a-x /var/spool/news

People can cd if they know the name, but they can't "find" or "ls".

Works for me!

--tal
-- 
        Tom Limoncelli -- tal@plts.org (home) -- tal@big.att.com (work)
I know of job openings in New Jersey for:
     Extremely good Unix sysadmins with great people skills,
     Lotus Notes support people, PPP/SLIP PC/MAC/Unix experts.
Re: NNTP vs NFS
#14262
Author: Tom Limoncelli
Date: Sun, 08 Jan 1995 14:40
21 lines
1548 bytes
In <3eib8q$lqg@styx.uwa.edu.au> toivo@ucs.uwa.edu.au (Toivo Pedaste) writes:

>One advantage of nntp is that when some does a
>	find / -name 'somestuff'
>on a client machine it won't descend into the nfs mounted news 
>partion and reduce your news server to a gibbering wreck for the 
>next half hour.

You can always do something like:
	cd /var/spool/news
	chmod a+x,a-r .

Now people can cd to a subdirectory of /var/spool/news, but
they can't "ls" or "find".

--tal
-- 
        Tom Limoncelli -- tal@plts.org (home) -- tal@big.att.com (work)
I know of job openings in New Jersey for:
     Extremely good Unix sysadmins with great people skills,
     Lotus Notes support people, PPP/SLIP PC/MAC/Unix experts.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads