All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiri Horky <jiri.horky@gmail.com>
To: linux-nfs@vger.kernel.org
Subject: MDS network utilization
Date: Wed, 06 Oct 2010 14:42:38 +0200	[thread overview]
Message-ID: <4CAC6EBE.9010809@gmail.com> (raw)

Hi,

I am trying to do some testing of SPNFS NFS4.1 implementation and I came 
across the following problem. When copying a new file to NFS4.1 cluster 
from a client, the network utilization of the MDS client is unexpectedly 
high. The test case and test-be is following:

1 MDS, three DSes + 1 client, using FC13, 
2.6.34.7-58.pnfs35.2010.09.14.fc13.i686.PAE kernel and 
nfs-utils-1.2.2-4.pnfs.fc13.i686.

I copy a new 4GB file (dd if=/dev/zero of=/nfs41/zero.file5 bs=4M 
count=1000) to the cluster and measuring number of bytes transfered on 
each server. While DSes show about 1.4GB of incoming traffic, and the 
client shows 4.2GB of outcoming traffic (which is reasonable), MDS 
numbers (that I expected to be negligible) show 5.1G In and 4.5G Out --> 
it seems like the data flow through the MDS.

Furthermore, when rewriting the same 4GB file with another 4GB bunch of 
data, the numbers are even worse:
MDS: 8.0G In / 4.7G out
DSes: 1.5G In / 1.3G out
Client: ~0.1 In / 4.2 out

I might be doing  something wrong, but I don't see it. My goal is to do 
some preliminary performance tests of NFS4.1, but maybe it is not yet a 
time to do that?

Cheers
Jiri Horky


$cat /etc/spnfsd.conf
[General]

Verbosity = 1
Stripe-size = 8192
Dense-striping = 0
Pipefs-Directory = /var/lib/nfs/rpc_pipefs
DS-Mount-Directory = /pnfs

[DataServers]
NumDS = 3
....
.....

                 reply	other threads:[~2010-10-06 13:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4CAC6EBE.9010809@gmail.com \
    --to=jiri.horky@gmail.com \
    --cc=linux-nfs@vger.kernel.org \
    /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.