Date: Tue, 1 May 2012 07:00:49 +0200 (CEST) From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> To: Peter Jeremy <peterjeremy@acm.org> Cc: freebsd-hackers@freebsd.org Subject: Re: NFS - slow Message-ID: <alpine.BSF.2.00.1205010700240.5909@wojtek.tensor.gdynia.pl> In-Reply-To: <20120430085748.GA56921@server.vk2pj.dyndns.org> References: <alpine.BSF.2.00.1204272201440.6369@wojtek.tensor.gdynia.pl> <20120430085748.GA56921@server.vk2pj.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
i tried nfsv4, tested under FreeBSD over localhost and it is roughly the same. am i doing something wrong? On Mon, 30 Apr 2012, Peter Jeremy wrote: > On 2012-Apr-27 22:05:42 +0200, Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> wrote: >> is there any way to speed up NFS server? > ... >> - write works terribly. it performs sync on every write IMHO, > > You don't mention which NFS server or NFS version you are using but > for "traditional" NFS, this is by design. The NFS server is stateless > and NFS server failures are transparent (other than time-wise) to the > client. This means that once the server acknowledges a write, it > guarantees the client will be able to later retrieve that data, even > if the server crashes. This implies that the server needs to do a > synchronous write to disk before it can return the acknowledgement > back to the client. > > -- > Peter Jeremy >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1205010700240.5909>