public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Steve French <smfrench@austin.rr.com>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Robert Love <rml@novell.com>, linux-kernel@vger.kernel.org
Subject: Re: which ioctls matter across filesystems
Date: Fri, 29 Apr 2005 16:22:10 -0500	[thread overview]
Message-ID: <4272A582.3040709@austin.rr.com> (raw)
In-Reply-To: <1114809199.12692.96.camel@lade.trondhjem.org>

Trond Myklebust wrote:

>I think what the IETF NFS working group rather needs right now is an
>advocate that is willing to stand up and demonstrate why protocol
>support for inotify-style callbacks would be a more scalable solution
>than a solution based on a combination of GETATTR polling and read
>delegations (essentially the same thing as CIFS' op-locks) for
>directories.
>
>  
>
I agree.

>The current research (see
>http://www3.ietf.org/proceedings/05mar/slides/nfsv4-4/sld1.htm) which
>has uses real-life on-the-wire traffic actually leans more towards the
>GETATTR solution. That research was based on a set of anonymous tcpdump
>traces taken at Harvard University, though, so it reflects the traffic
>in a typical university environment. It may be that other use-cases
>exist that favour the inotify callbacks case.
>  
>
Very interesting, I had not seen that.   FYI - There are many years of 
real world experience on the current transact2 notify (it is deployed in 
some form on most clients) but I don't know whether one of the NAS 
storage companies or researchers has done a good research paper on this 
topic - although there is no lack of customer traces in SPEC and SNIA.

My gut reaction is that as
1) directory size increases (number of files per directory)
and
2) change rate goes down

(both of which could be client heuristics) the notify mechanism (on the 
directory, or parent directory) is much better, but with small 
directories and more frequent changes the getattr (Transact2 
QueryPathinfo) approach wins.   There is no one-size-fits-all that 
covers both cases.

  reply	other threads:[~2005-04-29 21:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-29 19:22 which ioctls matter across filesystems Steve French
2005-04-29 19:53 ` Trond Myklebust
2005-04-29 20:03   ` Robert Love
2005-04-29 20:42     ` Trond Myklebust
2005-04-29 20:47       ` Robert Love
2005-04-29 21:13         ` Trond Myklebust
2005-04-29 21:22           ` Steve French [this message]
2005-04-29 21:38             ` Trond Myklebust
2005-04-29 20:55       ` Steve French
2005-04-29 20:57         ` Robert Love
2005-04-29 21:05           ` Steve French
2005-04-29 20:47     ` Steve French
2005-04-29 20:50       ` Robert Love
2005-04-29 21:00         ` Steve French
2005-04-29 20:32   ` Steve French

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=4272A582.3040709@austin.rr.com \
    --to=smfrench@austin.rr.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rml@novell.com \
    --cc=trond.myklebust@fys.uio.no \
    /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