Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2008 11:43:06 +0100
From:      "Valerio Daelli" <valerio.daelli@gmail.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Bad performance of 7.0 nfs client with Solaris nfs server
Message-ID:  <27dbfc8c0802190243y113d3059yd0c602850a4dbd6b@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi list

we have a FreeBSD 7.0 NFS client (csup today, built world and kernel).
It mounts a Solaris 10 NFS share.
We have bad performance with 7.0 (3MB/s).
We have tried both UDP and TCP mounts, both sync and async.
This is our mount:

nest.xx.xx:/data/export/hosts/bsd7.xx.xx/ /mnt/nest.xx.xx nfs
noatime,async,-i,rw,-T,-3

Both our server (7.0 and Solaris 10) are Gigabit Ethernet, both are HP
Proliant DL360 i386 (NIC bge0):

---
FreeBSD 7.0:

[eldon@bsd7 ~]$ uname -a
FreeBSD bsd7.xx.xx 7.0-RC2 FreeBSD 7.0-RC2 #1: Mon Feb 18 17:46:46 CET
2008     root@bsd7.xx.xx:/usr/obj/usr/src/sys/BSD7  i386

---
This is our performance with iozone:
command line:

iozone -+q 1 -i 0 -i 1 -n 2048 -g 2G -Raceb iozone.xls -f
/mnt/nest.xx.xx/iozone.bsd7/iozone.tmp

FreeBSD 7:

	File stride size set to 17 * record size.
                                                            random
random    bkwd  record  stride
              KB  reclen   write rewrite    read    reread    read
write    read rewrite    read   fwrite frewrite   fread  freread
            2048    1024  109883  101289   769058   779880
            2048    2048    3812    3674   760479   767066
            4096    1024  111156  106788   724692   728040
            4096    2048    3336    2241   157132   733417
            4096    4096    2829    3364   699351   699807


As you can see, while with record length less than 1024KB the speed is
'fast', with record of 2048 or more (I've tried with record much
bigger) we get only
3 MB/s.
Is this a known issue? If you need more details please contact me, I
am willing to do more tests to risolve this problem.
Thanks

Valerio Daelli



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