🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Martin G. Rathmayer Thu, 20 Nov 1997 00:00
NFS/INN/Solaris/NetApp Question ...
#23433
Author: Martin G. Rathmayer
Date: Thu, 20 Nov 1997 00:00
20 lines
1539 bytes
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.

Does somebody know what kernel tuning is necessary to improve NFS
client performance or rather what to do to reserve permanent space
for NFS buffers.

Thanks, MGR
-- 
MARTIN G. RATHMAYER                       Email: rathmayer@edvz.tuwien.ac.at
Member of Communications Group            Phone: (++43-1 58801-5834)
Computing Services                        FAX:   (++43-1 587 42 11)
Technical University of Vienna, Wiedner Hauptstr. 8-10, A-1040 Vienna/AUSTRIA
    PGP Public-Key: ftp://nic.tuwien.ac.at/netinfo/info/kom-pubring.pgp
    PGP Finger-Print: 91 8A 7F 2C 97 66 1A 4E 56 68 0F 57 FF 33 A9 A3 

Re: NFS/INN/Solaris/NetApp Question ...
#23458
Author: Dave Barr
Date: Thu, 20 Nov 1997 00:00
21 lines
1243 bytes
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.

Run an INN with actived.  It will cut your nnrpd size down to 150-200k
resident.

I would recommend "1.7.insync", which is what I run.

http://www.insync.net/~aos/inn.html

--Dave
-- 
http://www.cis.ohio-state.edu/~barr/
barr@cis.ohio-state.edu

Re: NFS/INN/Solaris/NetApp Question ...
#23576
Author: Mike Wilson
Date: Mon, 24 Nov 1997 00:00
24 lines
1381 bytes
Martin G. Rathmayer wrote:
> : 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 ?
> 
> : These options are what the several FAQ's and unix groups suggest. This
> : will not solve all your problems however.

Has something to do with the way V3 reads directories. I don't have the
USENIX papers with me right now so I can't recall just what it was. I
think V2 uses a smaller read than V3... but don't quote me.


-- 

---
Mike Wilson
No Howard, No Eagle! - Spread the word.

Re: NFS/INN/Solaris/NetApp Question ...
#23603
Author: Martin G. Rathmayer
Date: Mon, 24 Nov 1997 00:00
32 lines
1943 bytes
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 ?

: These options are what the several FAQ's and unix groups suggest. This
: will not solve all your problems however. 

MGR
-- 
MARTIN G. RATHMAYER                       Email: rathmayer@edvz.tuwien.ac.at
Member of Communications Group            Phone: (++43-1 58801-5834)
Computing Services                        FAX:   (++43-1 587 42 11)
Technical University of Vienna, Wiedner Hauptstr. 8-10, A-1040 Vienna/AUSTRIA
    PGP Public-Key: ftp://nic.tuwien.ac.at/netinfo/info/kom-pubring.pgp
    PGP Finger-Print: 91 8A 7F 2C 97 66 1A 4E 56 68 0F 57 FF 33 A9 A3 

Re: NFS/INN/Solaris/NetApp Question ...
#23621
Author: 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


Re: NFS/INN/Solaris/NetApp Question ...
#23693
Author: Grimlaf
Date: Wed, 26 Nov 1997 00:00
115 lines
3889 bytes
This is a multi-part message in MIME format.

--------------17719C3ECA
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Martin G. Rathmayer 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

quite good, we were able to support a userbase of 150,000 on a single
F540 with Ultra 1 front ends. (when you start maxing out the filer cpu,
go to FDDI, you'll get massive performance improvements)

I'm getting ready to run some trials on an F630 with Origin 2000 front
ends. I'll then run the same test with fiber disks, should be fun to see
what kinda bang you get for the buck.

> sometimes when there are a lot of nnrpd readers and memory is tight
> the NFS client performance is very bad.

add as much memory as you can ;)
do everything you can to shrink your nnrpd.

mmap the active file or use actived
strip your binaries once they are debugged

> Does somebody know what kernel tuning is necessary to improve NFS
> client performance or rather what to do to reserve permanent space
> for NFS buffers.

/etc/system attached

netapp and sun tech support are also a good source for NFS tuning tips.

Dan Tedrick

--------------17719C3ECA
Content-Type: text/plain; charset=us-ascii; name="system"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="system"

* set:
*
*	Set an integer variable in the kernel or a module to a new value.
*	This facility should be used with caution.  See system(4).
*
*	Examples:
*
*	To set variables in 'unix':
*
*		set nautopush=32
*		set maxusers=40

set maxusers=2048

*
*  Lets be really unique and document these changes:
*
*                  semmnu    =   Number of undo structures in system
set semsys:seminfo_semmnu=1024
*
*                  semmap    =   Number of entries in semaphore map
set semsys:seminfo_semmap=500
*
*                  semmni    =   Number of semaphore identifiers
set semsys:seminfo_semmni=500
*
*                  semmns    =   Number of semaphores in system
set semsys:seminfo_semmns=500
*
*                  semmsl    =   Maximum number of semaphores per ID
set semsys:seminfo_semmsl=500
*
*                  semume    =   Maximum number of undo entries per process
set semsys:seminfo_semume=100
*
*                  shmmin    =   Minimum shm segment size in bytes
set shmsys:shminfo_shmmin=200
*
*                  shmmax    =   Maximum shm segment size in bytes
* set shmsys:shminfo_shmmax=268435456     * old recommendation
* set shmsys:shminfo_shmmax=536870912
set shmsys:shminfo_shmmax=1073741824
*
*                  shmmni    =   Number of semaphore identifiers
set shmsys:shminfo_shmmni=500
*
*                  shmseg    =   Maximum number of shm segments per process
set shmsys:shminfo_shmseg=200


*
*	To set a variable named 'debug' in the module named 'test_module'
*
*		set test_module:debug = 0x13

set nfs:nfs_nra=4
set nfs:nfs3_nra=4
set nfs:nfs_max_threads=10
set nfs:nfs3_max_threads=10
*set ncsize=20000
*set ufs_ninode=20000
set bufhwm=15000
* set hard limit on filedescriptors
set rlim_fd_max = 4096
* set soft limit on filedescriptors
set rlim_fd_cur = 1024

--------------17719C3ECA--


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