*BSD News Article 31869


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!gatech!newsfeed.pitt.edu!uunet!news.delphi.com!usenet
From: John Dyson <dysonj@delphi.com>
Newsgroups: comp.os.386bsd.questions
Subject: Re: NFS server under FreeBSD
Date: Sun, 19 Jun 94 19:22:35 -0500
Organization: Delphi (info@delphi.com email, 800-695-4005 voice)
Lines: 22
Message-ID: <Zm9Q4+j.dysonj@delphi.com>
References: <2u2a2k$c37@news.demos.su>
NNTP-Posting-Host: bos1f.delphi.com
X-To: Max Klochkov <max@dream.demos.su>

Max Klochkov <max@dream.demos.su> writes:
 
>  Would you like to tell me please, how can I turn off synchronous
>writing on my FreeBSD 1.1 nfs server? And what else can I do to
>improve perfomance of the NFS?
 
 
This can be dangerous and use it *only* at your own risk.  I have been
told that this *might* not be the best thing to do... Here it is --
 
At around line 546 in nfs_serv.c there is a line that has an
	IO_SYNC | IO_NODELOCKED
 
	replace that phrase with
 
	IO_NODELOCKED
 
A couple of us debated on whether or not this should be done -- and we
decided to be conservative.  Please be careful.
 
John
dyson@implode.root.com