From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: steve <lingxiang@huawei.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"zhangtiger@huawei.com" <zhangtiger@huawei.com>
Subject: Re: why nfs server delay 10ms in nfsd_write()?
Date: Wed, 18 May 2005 23:08:48 -0400 [thread overview]
Message-ID: <1116472128.11340.24.camel@lade.trondhjem.org> (raw)
In-Reply-To: <0IGP00IZRULADZ@szxml02-in.huawei.com>
to den 19.05.2005 Klokka 10:46 (+0800) skreiv steve:
> i have 2 questions:
> 1.i don't know why do we have to sleep for 10 ms, why not do sync immediately?
> 2.what will happen if we don't sleep for 10ms?
> when i delete these codes, i get a good result, and the write performace improved from 300KB/s to 18MB/s
See
http://www.usenix.org/publications/library/proceedings/sf94/full_papers/juszczak.a
Write gathering is basically a method for improving NFSv2 writes without
any protocol changes. Later, NFSv3 introduced the more efficient concept
of "unstable" writes into the protocol (see
http://www.netapp.com/ftp/NFSv3_Rev_3.pdf).
You can turn NFSv2 write gathering on and off using the wdelay/no_wdelay
export options ('man 5 exports')
Trond
next prev parent reply other threads:[~2005-05-19 3:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 2:46 steve
2005-05-19 3:08 ` Trond Myklebust [this message]
2005-05-19 3:13 ` Lee Revell
2005-05-19 12:53 ` Peter Staubach
2005-05-19 13:26 ` Trond Myklebust
2005-05-19 13:41 ` Peter Staubach
2005-05-19 13:59 ` Lee Revell
2005-05-19 14:10 ` Peter Staubach
2005-05-19 14:13 ` Avi Kivity
2005-05-20 10:44 steve
2005-05-20 13:05 ` Peter Staubach
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1116472128.11340.24.camel@lade.trondhjem.org \
--to=trond.myklebust@fys.uio.no \
--cc=lingxiang@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=zhangtiger@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®