🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23621

Re: NFS/INN/Solaris/NetApp Question ...

#23621
From: Ragnar Lonn - Spam me and you di...
Date: Mon, 24 Nov 1997 00:00
46 lines
2666 bytes
In article <65bs7l$e3h@news.tuwien.ac.at>, "Martin G. Rathmayer" 
<rathmaye@mgr.kom.tuwien.ac.at> wrote:
>Mike Wilson <mwilson@flash.net> wrote:
>: Dave Barr wrote:
>: > 
>: > In article <651ddt$24f@news.tuwien.ac.at>,
>: > Martin G. Rathmayer <rathmaye@mgr.kom.tuwien.ac.at> wrote:
>: > >We want to run INN on a Solaris machine with a NetApp F540 Filer for
>: > >the News Spool. The tested performance seems to be quite good, but
>: > >sometimes when there are a lot of nnrpd readers and memory is tight
>: > >the NFS client performance is very bad.
>: Check your manuals for how to set these options.
>
>: Also use version 2 NFS for the connections. Excerpt from my vfstab:
>
>: news-nfs:/home/spool    -       /var/spool/news nfs     -       yes    
>: rw,vers=2,proto=udp,hard,intr
>
>Why NFS-2 and not NFS-3 ?
>

NFS v3 uses the READDIR+ function when reading directories. READDIR+,
as opposed to the old READDIR of NFS v2, doesn't just read the directory
file and return its contents but also read and return info about each of the
files in the directory in question. This is because most applications usually
ask for individual file data as a next step anyhow so under most circumstances
the READDIR+ routine is a performance saver but for INN news servers,
it is not as programs such as innd and nnrpd likes to read directories to
see what files are in them (spool directories) but don't care about file 
permissions or modification times, size, etc. So all the extra data returned
by READDIR+ will just be thrown away and your NFS server will have spent
time working on retrieving it for nothing.

Also, you probably want to use UDP as mentioned above because TCP
mounts require more overhead and means a slight performance loss in 
a switched LAN environment where connectivity between the machines
is very good. I also heard some stuff about the NFS-over-TCP mounts
sometimes failing due to buggy (client) software.

Regards,

  /Ragnar, Algonet/TNI


Technical Details
Message-ID: <65c4m6$eto$1@cubacola.tninet.se>
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!not-for-mail
References: <651ddt$24f@news.tuwien.ac.at> <651dprINNrs4@stumble.cis.ohio-state.edu> <3474642C.C6474B42@flash.net> <65bs7l$e3h@news.tuwien.ac.at>

Show Full Headers
Complete Article Headers
Message-ID: <65c4m6$eto$1@cubacola.tninet.se>
Subject: Re: NFS/INN/Solaris/NetApp Question ...
Date: Mon, 24 Nov 1997 00:00:00 +0000
From: prl@algonet.se (Ragnar Lonn - Spam me and you die)
References: <651ddt$24f@news.tuwien.ac.at> <651dprINNrs4@stumble.cis.ohio-state.edu> <3474642C.C6474B42@flash.net> <65bs7l$e3h@news.tuwien.ac.at>
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!not-for-mail
X-Deja-AN: 292183185
Organization: Algonet/TNI
Newsgroups: news.software.nntp