2004-11-26 12:30:20

by Thorsten Göllner

[permalink] [raw]
Subject: NFS performance question / (a)sync

Hi,

i just installed an current kernel (2.4.27) with NFS V3 support and want to access via an nfs-mount from another machine.

My /etc/exports look like that:
/data clientname(rw,sync,no_root_squash)

I mount it with "mount -t nfs servername:/data /data". Nothing uncommon so far.

When copying a file to the NFS-server I get a speed of 0,5 - 2,0 megabyte per second. Not really much.

When changing my /etc/exports to (ASYNC):
/data clientname(rw,async,no_root_squash)

I get a speed of about 11 megabyte per sonds. That is what I expect from a 100 Mbit-Ethernet-card.

Is it "normal" that I reach only 0,5 - 2,0 megabyte per socond when using sync-transfer? I know what this means, but I did not expect such a performance drop.

Because I want to setup a heartbeat-cluster (with drbd) I think I have to use SYNC. I will try ASYNC tomorrow, but I expect corrupted files when the primary server fails and the ressources switch to the secondary server (with nfs service takeover).

Thank for any comments,
-Thorsten-


2004-11-26 13:08:20

by Bernd Schubert

[permalink] [raw]
Subject: Re: NFS performance question / (a)sync

Hi Thorsten,

> Is it "normal" that I reach only 0,5 - 2,0 megabyte per socond when using
> sync-transfer? I know what this means, but I did not expect such a
> performance drop.

did you get those results on the drbd device? This was just (this week)=20
discussed on the drbd list, see the archives. Sync vs. async was also just=
=20
discussed on this list.


Cheers,
Bernd

=2D-=20
Bernd Schubert
Physikalisch Chemisches Institut / Theoretische Chemie
Universit=E4t Heidelberg
INF 229
69120 Heidelberg
e-mail: [email protected]


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs