All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felix Radensky <felix@allot.com>
To: nfs@lists.sourceforge.net
Subject: NFS over TCP performance
Date: Sun, 16 Jun 2002 15:41:04 +0300	[thread overview]
Message-ID: <3D0C8760.8050308@allot.com> (raw)

Hi,

I'm testing NFS server performance in the following environment:

NFS server :
 
Compaq Proliant ML 350,
dual 1.33 GHz CPU,
1G of RAM,
132G RAID5 based on Compaq Smart Array 532 (cciss driver),
linux-2.4.19-pre10 SMP kernel with latest NFS_ALL and NFS TCP patches,
ext3 filesystem with internal 400M journal,
NFS version 3,
nfs-utils 0.3.3,
e100 NIC driver version 2.0.30,
16 nfs server threads,
rmem_default and rmem_max are set to 1048576
 
NFS client:

Dual 1G CPU board based on ServerWorks chipset,
1G of RAM,
linux-2.4.18,
NFS version 3,
mount-2.11b,
e100 NIC driver version 2.0.30

Client and server are connected to 10/100 Cisco switch,
which is not congested, and both are synchronized to
100 Base Tx Full Duplex.

Client mounts /users directory like this:

mount -o rsize=8192,wsize=8192,hard,intr,tcp server_ip:/users /users

My test, as explained in Linux NFS howto, consists of copying a 2G
file, from client to server, like this

time dd if=/dev/zero of=testfile bs=8k count=262144

It takes about 4.5 min to complete the write. The same test, but over UDP,
takes around 3 min. My question is: is NFS over TCP supposed to be much
slower than over UDP, and if no, how can I improve the performance.
I've tried other values for rsize/wsize, but 8k seems to give the best 
performance.
I've also tried mounting ext3 filesystem with data=journal, but then 
test runs
about 4 times longer.

TIA,

Felix.


_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

             reply	other threads:[~2002-06-16 12:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-16 12:41 Felix Radensky [this message]
2002-06-17 16:05 ` NFS over TCP performance Tom McNeal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D0C8760.8050308@allot.com \
    --to=felix@allot.com \
    --cc=nfs@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.