2002-12-11 13:13:56

by Jose Celestino

[permalink] [raw]
Subject: Client tuning

Hello,

I need some help fine tuning some NFS clients.

The server is a blackbox (an EMC Celerra which we don't administer, we
can't touch it, we can only give some hints and pray) the clients are
Linux boxes with kernel >= 2.4.18.

This system will be used, exclusivelly, as a webmail system with maildir
format "mailboxes". That means lots (ithousands to millions) of small
iles (<=30Kb) and tons of accesses to that same files. Access will be
made via an IMAP server, a POP server and a SMTP server.

I have the option of choosing between NFSv2/v3 and TCP/UDP and the
freedom to fully configure/reconfigure the client boxes. Any thoughs on
what I might tweak and look for? Any experiences on this?

TIA.

--
Jose Celestino | http://xpto.org/~japc/files/japc-pgpkey.asc
----------------------------------------------------------------
"Don't summarize. Don't abbreviate. Don't interpret." -- djb


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs


2002-12-11 21:10:34

by Brashers_Per

[permalink] [raw]
Subject: RE: Client tuning

Much information is available about the Celerra from:
http://www.emc.com/products/networking/celerra.jsp?openfolder=storage_networ
king

to quote the website:

The Celerra Clustered Network Server (CNS) is the world's fastest and most
scalable NAS gateway, delivering up to 200,000 operations per second and
supporting up to 224 direct network connections.
<snip>
EMC Celerra solutions all share the powerful DART operating environment and
tool set, providing a smooth path for growth as your performance and
capacity requirements expand.

Or in real speak: it is a modular box with a GNU friendly OS that works
with NFS and CIFS (if anyone cares) and can be modified in similar ways to
what you already do (if your a Linux geek).

In general using UDP requires a near perfect network (read -private
segment-) to gain much of its advantages, and V3 has many improvements over
V2. So your network will determine UDP/TCP and I have never seen a time to
need V2 over V3.

Much of the tuning listed on nfs.sorceforge.net is great. If you have not
checked it out yet, do so.


Just my $.02

Per

-------------------------------

Date: Wed, 11 Dec 2002 13:11:45 +0000
From: Jose Celestino <[email protected]>
To: [email protected]
Subject: [NFS] Client tuning

Hello,

I need some help fine tuning some NFS clients.

The server is a blackbox (an EMC Celerra which we don't administer, we
can't touch it, we can only give some hints and pray) the clients are
Linux boxes with kernel >= 2.4.18.

This system will be used, exclusivelly, as a webmail system with maildir
format "mailboxes". That means lots (ithousands to millions) of small
iles (<=30Kb) and tons of accesses to that same files. Access will be
made via an IMAP server, a POP server and a SMTP server.

I have the option of choosing between NFSv2/v3 and TCP/UDP and the
freedom to fully configure/reconfigure the client boxes. Any thoughs on
what I might tweak and look for? Any experiences on this?

TIA.

--
Jose Celestino | http://xpto.org/~japc/files/japc-pgpkey.asc
----------------------------------------------------------------
"Don't summarize. Don't abbreviate. Don't interpret." -- djb




-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

2002-12-12 01:10:22

by Andrew Ryan

[permalink] [raw]
Subject: Re: Client tuning

Jose Celestino wrote:
>
> I have the option of choosing between NFSv2/v3 and TCP/UDP and the
> freedom to fully configure/reconfigure the client boxes. Any thoughs on
> what I might tweak and look for? Any experiences on this?
>

First off I would recommend subscribing to and staying subscribed to this
list. If you use linux NFS (as client and/or server) then this list will
be invaluable.

The UDP/TCP question should probably be in the FAQ, as it has come up
many times before on the list. If you have a mismatch
in network speeds (e.g. 1000BaseT on server and 100BaseT on client) TCP
will give you better speeds. However, UDP support has been more
historically reliable in the linux kernel, and more widely used.

I wouldn't recommend using TCP NFS client before 2.4.20, out of the box,
2.4.20 is stable for me so far.

You can try tweaking mount(8) parameters, kernel patches (applying various
patches from Trond's site, at http://www.fys.uio.no/~trondmy/src), and
even vendor kernel RPM's (most vendors include some subset of Trond's
patches).

But, mostly you will need to run tests with your own setup to determine
what is the most stable and best-performing combination of kernel and
mount parameters. And if you find bugs, report them to the list so they
can be fixed in future versions.


cheers,
andrew



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs