Henrik Johansen wrote: > > I have previously played with the nfsv3_bsize / nfsv4_bsize but never > went as high as 1 MB. > I am bit concerned about the NFS client issuing 1 MB reads / writes > when the servers filesystem is using a lower blocksize since this kind > of misalignment could multiply the IOPS on the serverside. > > I will have to test this to be sure though. > > It does however show improvement : > > henrik at opensolaris:/tmpfs# rm /nfs/testfile_5g; ptime cp testfile_5g > /nfs/ > > real 31.321109059 > user 0.017099704 > sys 11.804887174 > > Which gives me about ~165 mb/s - the fastest so far for a cp operation. You should get the same result with 'forcedirectio' mount option if you don't want to increase nfsv3_bsize / nfsv4_bsize which has system-wide effect.
-Dai