Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Aug 1995 15:16:12 +0800 (CST)
From:      Brian Tao <taob@gate.sinica.edu.tw>
To:        Terry Lambert <terry@cs.weber.edu>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Making a FreeBSD NFS server
Message-ID:  <Pine.BSI.3.91.950820150733.17751w-100000@aries>
In-Reply-To: <9508191751.AA19996@cs.weber.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 19 Aug 1995, Terry Lambert wrote:
> 
> You can turn on async writes in the BSD NFS server.

    I tried that out with some dramatic results:

(with untweaked kernel)
    MB      reclen  bytes/sec written   bytes/sec read      
    1       512     116914              298925              
    1       1024    150806              234236              
    1       2048    159973              395922              
    1       4096    134756              591267              
    1       8192    124853              630130              
    2       512     137942              643730              
    2       1024    127462              514244              
    2       2048    134486              518215              
    2       4096    130371              544493              
    2       8192    130816              522247              
[...]

(with tweaked kernel)
    MB      reclen  bytes/sec written   bytes/sec read      
    1       512     860370              621378              
    1       1024    798915              729444              
    1       2048    877240              762600              
    1       4096    762600              430185              
    1       8192    854889              710146              
    2       512     820903              731431              
    2       1024    801299              619943              
    2       2048    762600              600526              
    2       4096    789516              674460              
    2       8192    836247              719666              
[...]


> Be warned that, though Sun and SVR4 do this too, this is a cache
> coherency violation and can result in Bad Things Happening [...]

    I think it was Garrett who remarked that the whole idea of
stateless NFS was a gross violation of filesystem consistency.  ;-)

> One alternative is to use NFSv3 on both the client and the server.
> This means going all BSD or including OSF/1,

    Does this include BSD/OS 2.0 as well?
-- 
Brian ("Though this be madness, yet there is method in't") Tao
taob@gate.sinica.edu.tw <-- work ........ play --> taob@io.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.91.950820150733.17751w-100000>