Re: Async NFS exports?

1999-08-22 Thread Doug Rabson
On Fri, 20 Aug 1999, Matthew Dillon wrote: : Just to be clear... I am wondering if mounting (on the NFS _server_) a : partition (that is exportable) as async will have any performance : benefits to the NFS clients? : :As a first guess, probably not unless you have a large number of active

Re: Async NFS exports?

1999-08-22 Thread Doug Rabson
On Fri, 20 Aug 1999, Matthew Dillon wrote: : Just to be clear... I am wondering if mounting (on the NFS _server_) a : partition (that is exportable) as async will have any performance : benefits to the NFS clients? : :As a first guess, probably not unless you have a large number of active

Re: Async NFS exports?

1999-08-22 Thread Matthew Dillon
: buffer cache is able to keep abrest of the write-rate. : : Hmm, interesting. I see another optimization I can do to fix the : buffer cache saturation case in CURRENT on the client. The COMMIT rpc's : aren't being issued async. : :You need to track the return value of the

Re: Async NFS exports?

1999-08-21 Thread Matthew Dillon
:The problem that occurs on the FreeBSD server is simply that the :nfsrv_commit() procedure calls fsync() on the file... on the *ENTIRE* :file, for every commit rpc, rather then syncing just the offset/range :requested. I am looking into ways to fix this. : Ok, I've

Re: Async NFS exports?

1999-08-21 Thread Matthew Dillon
:The problem that occurs on the FreeBSD server is simply that the :nfsrv_commit() procedure calls fsync() on the file... on the *ENTIRE* :file, for every commit rpc, rather then syncing just the offset/range :requested. I am looking into ways to fix this. : Ok, I've verified

Async NFS exports?

1999-08-20 Thread Steve Ames
I asked this on stable but didn't get a response... Would I get any performance increases by mounting NFS exported partition as Async? Would my soul be tormented in purgatory for doing it? Just to be clear... I am wondering if mounting (on the NFS _server_) a partition (that is exportable) as

Re: Async NFS exports?

1999-08-20 Thread Matthew D. Fuller
[ Caveat: I'm making this up as I go along ] On Fri, Aug 20, 1999 at 01:13:06PM -0500, a little birdie told me that Steve Ames remarked I asked this on stable but didn't get a response... Would I get any performance increases by mounting NFS exported partition as Async? Would my soul be

Re: Async NFS exports?

1999-08-20 Thread Matthew Dillon
:I asked this on stable but didn't get a response... Would I get any :performance increases by mounting NFS exported partition as Async? : :Would my soul be tormented in purgatory for doing it? : :Just to be clear... I am wondering if mounting (on the NFS _server_) a :partition (that is

Re: Async NFS exports?

1999-08-20 Thread Matthew Dillon
:I asked this on stable but didn't get a response... Would I get any :performance increases by mounting NFS exported partition as Async? : :Would my soul be tormented in purgatory for doing it? : :Just to be clear... I am wondering if mounting (on the NFS _server_) a :partition (that is

Re: Async NFS exports?

1999-08-20 Thread Rob Snow
Emm, I guess that answers my earlier question/mail: Why?--- basil# uname -a FreeBSD basil.dympna.com 3.2-RELEASE FreeBSD 3.2-RELEASE #7: Thu Aug 19 23:59:50 CDT 1999 [EMAIL PROTECTED]:/export/current/src/sys/compile/Basil-SMP [Dual PPro-233's] basil# cd /stripe basil# df -k . Filesystem

Re: Async NFS exports?

1999-08-20 Thread Matthew Dillon
:Emm, I guess that answers my earlier question/mail: : :Why?--- : :/dev/vinum/stripe 1719751186511 15735200 1%/stripe :basil# Bonnie -s 256 : ---Sequential Output ---Sequential Input-- : -Per Char- --Block--- -Rewrite-- -Per Char- --Block---

Re: Async NFS exports?

1999-08-20 Thread Matthew Dillon
: The reason is due to the way NFSv3 issues writes. NFSv3 issues a : write but no longer assumes that the write has been synced to the : server's disk as of when the reply comes back. Instead it keeps the :.. : :If you are looking for more optimizations, you can delay NFS write

Async NFS exports?

1999-08-20 Thread Steve Ames
I asked this on stable but didn't get a response... Would I get any performance increases by mounting NFS exported partition as Async? Would my soul be tormented in purgatory for doing it? Just to be clear... I am wondering if mounting (on the NFS _server_) a partition (that is exportable) as

Re: Async NFS exports?

1999-08-20 Thread Matthew D. Fuller
[ Caveat: I'm making this up as I go along ] On Fri, Aug 20, 1999 at 01:13:06PM -0500, a little birdie told me that Steve Ames remarked I asked this on stable but didn't get a response... Would I get any performance increases by mounting NFS exported partition as Async? Would my soul be

Re: Async NFS exports?

1999-08-20 Thread Matthew Dillon
:I asked this on stable but didn't get a response... Would I get any :performance increases by mounting NFS exported partition as Async? : :Would my soul be tormented in purgatory for doing it? : :Just to be clear... I am wondering if mounting (on the NFS _server_) a :partition (that is

Re: Async NFS exports?

1999-08-20 Thread Matthew Dillon
: Just to be clear... I am wondering if mounting (on the NFS _server_) a : partition (that is exportable) as async will have any performance : benefits to the NFS clients? : :As a first guess, probably not unless you have a large number of active :clients. Any modern hard disc will outperform

Re: Async NFS exports?

1999-08-20 Thread Alfred Perlstein
On Fri, 20 Aug 1999, Steve Ames wrote: I asked this on stable but didn't get a response... Would I get any performance increases by mounting NFS exported partition as Async? Would my soul be tormented in purgatory for doing it? Just to be clear... I am wondering if mounting (on the NFS

Re: Async NFS exports?

1999-08-20 Thread Matthew Dillon
:I asked this on stable but didn't get a response... Would I get any :performance increases by mounting NFS exported partition as Async? : :Would my soul be tormented in purgatory for doing it? : :Just to be clear... I am wondering if mounting (on the NFS _server_) a :partition (that is

Re: Async NFS exports?

1999-08-20 Thread Matthew Dillon
:Ok, I've run some more tests. Basically you want to run NFSv3 under :CURRENT and you want to run at least 3 nfsiod's. On a 100BaseTX network Oh, let me be a bit more clear: Run 3 nfsiod's on the client. Run 4 nfsd's on the server. e.g. 'nfsiod -n 3' on the client and 'nfsd

Re: Async NFS exports?

1999-08-20 Thread Terry Lambert
The reason is due to the way NFSv3 issues writes. NFSv3 issues a write but no longer assumes that the write has been synced to the server's disk as of when the reply comes back. Instead it keeps the buffer around and does a later commit rpc to do the sync, presumably

Re: Async NFS exports?

1999-08-20 Thread Rob Snow
Emm, I guess that answers my earlier question/mail: Why?--- basil# uname -a FreeBSD basil.dympna.com 3.2-RELEASE FreeBSD 3.2-RELEASE #7: Thu Aug 19 23:59:50 CDT 1999 rs...@basil.dympna.com:/export/current/src/sys/compile/Basil-SMP [Dual PPro-233's] basil# cd /stripe basil# df -k . Filesystem

Re: Async NFS exports?

1999-08-20 Thread Matthew Dillon
:Emm, I guess that answers my earlier question/mail: : :Why?--- : :/dev/vinum/stripe 1719751186511 15735200 1%/stripe :basil# Bonnie -s 256 : ---Sequential Output ---Sequential Input-- : -Per Char- --Block--- -Rewrite-- -Per Char- --Block---

Re: Async NFS exports?

1999-08-20 Thread Matthew Dillon
: The reason is due to the way NFSv3 issues writes. NFSv3 issues a : write but no longer assumes that the write has been synced to the : server's disk as of when the reply comes back. Instead it keeps the :.. : :If you are looking for more optimizations, you can delay NFS write