tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* NFS performance
@ 2000-04-18  2:01 Greg Roberts
  0 siblings, 0 replies; 3+ messages in thread
From: Greg Roberts @ 2000-04-18  2:01 UTC (permalink / raw)
  To: tru64-unix-managers

Hi managers. Our AlphaStation 255/233Mhz (DU4.0D) server is having some
problems with sharing out several disk areas to a reasonably sized network
(around 50+ clients), with reports coming back saying that read/write
times to NFS mounts are extremely slow, some saying around 10 times slower
than writing to the local disk. We have the server on a switched port
(100MBit) and although we have a fair amount of network traffic on this
subnet, I wouldn't say it's anything too much to handle, so I'm looking to
the server for possible causes for poor performance.

I've been going through sys_check output, man pages on NFS setup, and I've
come up with some ideas on improving NFS, but I'm not sure about values to
use and I'd like some expert opinions on ways to better it. 

We have primarily Linux hosts working with the server, but we also have
SGI/Sun/Windows hosts as well. They all seem to be talking via UDP and NFS
V2, even though SGI and Sun should default to NFS V3 and TCP. I'm thinking
of forcing the use of TCP and NFS V3 (where possible).

First question: in an environment of around 50+ clients, what's the best
setup to use? UDP -v- TCP NFS V2 -v- V3?

The nfs_manual_setup man page suggests doing the following:

- increase the number of nfsd's running to improve responsiveness. It says
  you can define the number that talk UDP/TCP. 

Second question: How many is a good figure to use? I'm currently using the
default of 12 for each (UDP/TCP) - is this enough for 50+ clients, or
should I look to use more? How many more?

- if read/write performance is poor, increase the number of nfsiod's
  running (which is the case here)

Third question: The server is using the default of 7 - same as for Q2.

If there are web pages out there that talk about all this, please pass
them on, otherwise people's experience/thoughts will be appreciated. Poor
NFS performance has been an issue for some time, and users are getting to
their wits end on this, so a resolution is required soon.

Thanks,

------------
Greg Roberts

Computer Systems Officer
Dept. of Electrical & Electronic Engineering
The University of Western Australia
NEDLANDS WA 6907 Australia

Ph    : +61-08-9380-7366 
Fax   : +61-08-9380-1065
Email : gregr@ee.uwa.edu.au

^ permalink raw reply	[flat|nested] 3+ messages in thread

* NFS performance
@ 2001-06-07 10:05 Clemens Vonrhein
  0 siblings, 0 replies; 3+ messages in thread
From: Clemens Vonrhein @ 2001-06-07 10:05 UTC (permalink / raw)
  To: tru64-unix-managers

Dear all,

I'm having problems getting the NFS performance I expect from
non_Linux boxes.


Here is my setup:

  - NFS server, PWS500au, 4.0E (latest patches), 1.5MB of memory
    exported filessystem: AdvFS on RAID-5 (RA3000 on HSZ22)

  - several NFS clients (Linux, IRIX & DU 4.0F), all on 100MB
    filesystem mounted with default options

  - I followed all the recommendations in several sys_check runs on
    the Tru64 machines

And here is some performance data:

  - permanentely cp a 10MB file to the NFS mounted AdvFS from
    the clients:

    client            real_ave  real_min  real_max
                        [sec]     [sec]     [sec]
    ==============================================
    [1] linux/i386-1  0.147852  0.110000  0.280000
    [2] linux/i386-2  0.263134  0.160000  0.770000
    [3] linux/i386-3  0.154762  0.110000  0.230000
    [4] linux/i386-4  0.138129  0.090000  0.260000
    [5] linux/alpha   0.163403  0.130000  0.400000
    [6] irix 6.3      4.748460  4.450000  5.690000
    [7] DU 4.0F       5.112500  4.300000  5.800000


  - typical output of 'collect -s d' for the various clients while
    doing this permanent copying

    # DISK Statistics                                     client
    # R/S RKB/S  W/S WKB/S   AVS   AVW  ACTQ   WTQ  %BSY
        0     0   26   229 17.00  0.00  1.00  0.00 44.88     [1]
        0     0   53   438 21.76  0.00  1.00  0.00 116.65    [2]
        0     0   21   181 16.98  0.00  1.00  0.00 37.36     [3]
        0     1   27   232 16.06  0.00  0.00  0.00 43.83     [4]
        0     0   17   151 19.43  0.00  0.00  0.00 33.62     [5]
        0     0   22  2123 1077.17  0.00 16.00  0.00 2380.24 [6]
        0     0   52  1878 858.61  0.00 32.00 48.00 4481.38  [7]


One solution - at least for the SGI - would be to upgrade to the
latest OS (6.5.X). As far as I can see, there seem to be some NFS
enhancements.

Any hints, comments, remarks about what I'm doing wrong here?

Cheers

Clemens Vonrhein

-- 

***************************************************************
* Clemens Vonrhein, Ph.D.          vonrhein@GlobalPhasing.com
*
*  Global Phasing Ltd.
*  Sheraton House, Castle Park     Tel: +44-(0)1223-353033
*  Cambridge CB3 0AX, UK           Fax: +44-(0)1223-366889
*--------------------------------------------------------------
* BUSTER Development Group      (http://www.globalphasing.com)
***************************************************************

^ permalink raw reply	[flat|nested] 3+ messages in thread

* nfs performance
@ 2001-08-23 14:49 Xavier Mertens
  0 siblings, 0 replies; 3+ messages in thread
From: Xavier Mertens @ 2001-08-23 14:49 UTC (permalink / raw)
  To: tru64-unix-managers

Hi,

I'm using DS20's connected to a SUN server. The DSs mount a filesystem
(4Gb with a lof of small files) as read-only.

It seems that we have very poor performance! Here is a output of a nfsstat
command. Any comments? How can I fine tune the NFS performance?

(All interfaces are 100/FD)

X

Server rpc:
tcp:       calls   badcalls   nullrecv     badlen    xdrcall    creates
               0          0          0          0          0          0
udp:       calls   badcalls   nullrecv     badlen    xdrcall
               0          0          0          0          0

Server nfs:
      calls   badcalls    badprog    badproc    badvers    badargs
          0          0          0          0          0          0
 unprivport   weakauth
          0          0

Server nfs V2: (0 out of 0 calls)
       null    getattr    setattr       root     lookup   readlink       read
     0   0%     0   0%     0   0%     0   0%     0   0%     0   0%     0   0%
    wrcache      write     create     remove     rename       link    symlink
     0   0%     0   0%     0   0%     0   0%     0   0%     0   0%     0   0%
      mkdir      rmdir    readdir     statfs
     0   0%     0   0%     0   0%     0   0%

Server nfs V3: (0 out of 0 calls)
       null    getattr    setattr     lookup     access   readlink       read
     0   0%     0   0%     0   0%     0   0%     0   0%     0   0%     0   0%
      write     create      mkdir    symlink      mknod     remove      rmdir
     0   0%     0   0%     0   0%     0   0%     0   0%     0   0%     0   0%
     rename       link    readdir   readdir+     fsstat     fsinfo   pathconf
     0   0%     0   0%     0   0%     0   0%     0   0%     0   0%     0   0%
     commit
     0   0%

Client rpc:
tcp:       calls    badxids   badverfs   timeouts   newcreds
               0          0          0          0          0
         creates   connects   badconns     inputs     avails interrupts
               0          0          0          0          0          0
udp:       calls    badxids   badverfs   timeouts   newcreds    retrans
       768174914         14          0        679          0          0
        badcalls     timers      waits
             697      10236          0

Client nfs:
      calls    retrans   badcalls     nclget   nclsleep  ndestroys    ncleans
  768174235        114         18  768174235          0       2211  768172024

Client nfs V2: (0 out of 768174235 calls)
       null    getattr    setattr       root     lookup   readlink       read
     0   0%     0   0%     0   0%     0   0%     0   0%     0   0%     0   0%
    wrcache      write     create     remove     rename       link    symlink
     0   0%     0   0%     0   0%     0   0%     0   0%     0   0%     0   0%
      mkdir      rmdir    readdir     statfs
     0   0%     0   0%     0   0%     0   0%

Client nfs V3: (768174235 out of 768174235 calls)
       null    getattr    setattr     lookup     access   readlink       read
     0   0%   384M 50%     0   0%  5105K  0% 66195K  8%     1   0%   891K  0%
      write     create      mkdir    symlink      mknod     remove      rmdir
  5111   0%     0   0%     0   0%     0   0%     0   0%     1   0%     0   0%
     rename       link    readdir   readdir+     fsstat     fsinfo   pathconf
     0   0%     0   0%   247M 32%   102K  0% 64492K  8%     2   0%     0   0%
     commit
     0   0%


--
Xavier Mertens    &Wanadoo Belgium - A subsidiary of France Telecom
Head of NOC
XM1-6BONE         "Contrary to popular belief, Unix is userfriendly. It just
XM3-RIPE           happens to be selective about who it makes friends with"

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-08-23 14:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-07 10:05 NFS performance Clemens Vonrhein
  -- strict thread matches above, loose matches on Subject: below --
2001-08-23 14:49 nfs performance Xavier Mertens
2000-04-18  2:01 NFS performance Greg Roberts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox