From: Steve Dickson <SteveD@redhat.com>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: linux-nfs <nfs@lists.sourceforge.net>
Subject: Re: [NFS][PATCH] Making sure negative lookup entries don't exist
Date: Sat, 29 Jan 2005 07:59:51 -0500 [thread overview]
Message-ID: <41FB88C7.3060903@RedHat.com> (raw)
In-Reply-To: <1106967908.10024.19.camel@lade.trondhjem.org>
Trond Myklebust wrote:
>If you are going to do a GETATTR on each call, why cache negative
>dentries in the first place? Better then to simply remove the relevant
>lines in nfs_lookup() and replace all occurrences of d_delete() with
>d_drop().
>
>
Well I believe that would cause an otw lookup which is much more expensive
than a cheap getattr to ensure the correct mtime of the directory....
>Note, though, that both patches will seriously kill performance on
>static, frequently-accessed directories (think $PATH, /usr/share etc.),
>
>
Well in my testing, which consisted of running the cthon04 tests a
number of
times and counting the opts with nfsstat, the getattrs only went up by
3% and the
lookups when down by about 2%.... which was a bit surprising....
>so we're certainly not applying that kind of patch to the mainline
>kernel...
>
>
hmm... I hate when you say things like that... :-) I just trying to
come up with
a way to more aggressively time out negative cached entires w/out
effecting
the entire attribute cache in hopes to make things like ClearCase run
better....
Through some reverse engineering, it appears this is how other
implementations
seem to deal with negative cache entries....
steved.
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next prev parent reply other threads:[~2005-01-29 12:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-28 18:47 [NFS][PATCH] Making sure negative lookup entries don't exist Steve Dickson
2005-01-29 1:08 ` Mike Waychison
2005-01-29 12:32 ` Steve Dickson
2005-01-29 3:05 ` Trond Myklebust
2005-01-29 12:59 ` Steve Dickson [this message]
2005-01-29 19:32 ` Trond Myklebust
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=41FB88C7.3060903@RedHat.com \
--to=steved@redhat.com \
--cc=nfs@lists.sourceforge.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.