Date: Fri, 20 Aug 1999 19:37:26 -0700 (PDT) From: Matthew Dillon <dillon@apollo.backplane.com> To: Rob Snow <rsnow@lgc.com> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Async NFS exports? Message-ID: <199908210237.TAA69152@apollo.backplane.com> References: <199908201813.NAA66892@ns1.cioe.com> <199908202206.PAA65547@apollo.backplane.com> <37BDE39E.21EE705C@lgc.com>
next in thread | previous in thread | raw e-mail | index | archive | help
:Emm, I guess that answers my earlier question/mail: : :Why?---> : :/dev/vinum/stripe 17197511 86511 15735200 1% /stripe :basil# Bonnie -s 256 : -------Sequential Output-------- ---Sequential Input-- : -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- :Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU : 256 10817 97.3 15805 93.1 6338 41.4 9943 97.5 15796 51.2 : : :basil# mount_nfs -3 localhost:/stripe /mnt :basil# cd /mnt :basil# Bonnie -s 256 : : -------Sequential Output-------- ---Sequential Input-- : -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- :Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU : 256 4270 57.6 6639 30.6 1877 11.7 3804 55.3 6201 18.7 Buffer copy and protocol overhead, plus the data is being cached twice: once on the server and once on the client (which happens to be the same machine). The machine becomes cpu-bound with all the extra work. This is what I get. Ignore the read numbers (the machine has a lot of memory). This is with nfsd -n 4 and nfsiod -n 4, NFSv3 UDP mount, on a duel P-III/450 running CURRENT. /dev/da0h 2338236 1235921 915257 57% /usr/obj -------Sequential Output-------- ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU 256 9979 51.4 9154 19.0 9814 22.5 19727 99.8 103863 100.0 2163.4 43.2 localhost:/usr/obj/ 2338236 1235921 915257 57% /mnt -------Sequential Output-------- ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU 256 3532 30.9 4164 7.6 4364 14.9 13700 99.9 75964 99.7 2779.7 162.1 As you can see, I get very similar numbers for writing. 9 MB/sec on the local filesystem and 4.3 MB/sec via a localhost: NFS mount. -Matt Matthew Dillon <dillon@backplane.com> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908210237.TAA69152>