Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jun 2007 13:03:11 +0200
From:      "Claus Guttesen" <kometen@gmail.com>
To:        hshh <hunreal@gmail.com>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: Bad performance while transfer large block size through NFS.
Message-ID:  <b41c75520706010403x8b57f1ao39aacbcbfa4ff4b5@mail.gmail.com>
In-Reply-To: <9b6b59500706010310h145a1804ie97e57aa0c5e90a4@mail.gmail.com>
References:  <9b6b59500706010310h145a1804ie97e57aa0c5e90a4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> I set up one NFS server, and mounted on other server by TCP. Servers
> connected with Giga network, and running 6.2-RELEASE.
>
> But I found the performance is very bad while transfering large block size data.
> For example, I use dd on NFS client to test the speed.
> And ``systat -vm 1'' is displayed HDD is most busy,
> Disks   da0
> KB/t  16.00
> tps     239
> MB/s   3.73
> % busy   91
>
> Can I do some tuning to improve large block size transfer over NFS?

Try adding read- and write-size 32768, partial /etc/fstab:

 rw,intr,nfsv3,-a=4,-w=32768,-r=32768

or adding -r 32768 -w 32768 while mounting from command line.

-- 
regards
Claus

When lenity and cruelty play for a kingdom,
the gentlest gamester is the soonest winner.

Shakespeare



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b41c75520706010403x8b57f1ao39aacbcbfa4ff4b5>