[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] slow update/status on NFS
From: |
Benoît Dejean |
Subject: |
Re: [Monotone-devel] slow update/status on NFS |
Date: |
Wed, 23 May 2007 21:35:18 +0200 |
Le mercredi 23 mai 2007 à 10:26 +0200, Markus Schiltknecht a écrit :
> Hi,
>
> Richard Levitte wrote:
> > I just looked at the patch, and although I can see that it fixes
> > things for status, I think it could be taken one step further (and
> > thereby generalising the solution) by modifying the file_path class to
> > have a status cache.
>
> Shouldn't the OS do that sort of caching? That's probably why there's no
> difference with local filesystems. But why does the kernel not cache NFS
> stat() calls? Can we somehow teach the kernel to do that caching, so we
> don't have to write our own?
Yes it does, but even on a local filesystem, savings 4000 system calls
is not a stupid thing. Doing 4x in a row the same syscall on the same
file is stupid. I don't think we need caching : we just need to do the
things as many times as necessary.
--
Benoît Dejean
GNOME http://www.gnomefr.org/
LibGTop http://directory.fsf.org/libgtop.html
signature.asc
Description: Ceci est une partie de message numériquement signée
- Re: [Monotone-devel] slow update/status on NFS, (continued)
- Re: [Monotone-devel] slow update/status on NFS, Nathaniel Smith, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Ethan Blanton, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Nathaniel Smith, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Zack Weinberg, 2007/05/24
- [Monotone-devel] Re: slow update/status on NFS, Pavel Cahyna, 2007/05/29
- Re: [Monotone-devel] Re: slow update/status on NFS, Zack Weinberg, 2007/05/29
- Re: [Monotone-devel] slow update/status on NFS,
Benoît Dejean <=
- Re: [Monotone-devel] slow update/status on NFS, Benoît Dejean, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Stephen Leake, 2007/05/24
- Re: [Monotone-devel] slow update/status on NFS, Benoît Dejean, 2007/05/25
- Re: [Monotone-devel] slow update/status on NFS, Justin Patrin, 2007/05/28
- Re: [Monotone-devel] slow update/status on NFS, Derek Scherger, 2007/05/28
- Re: [Monotone-devel] slow update/status on NFS, Brian May, 2007/05/28
- Re: [Monotone-devel] slow update/status on NFS, Justin Patrin, 2007/05/28
- Re: [Monotone-devel] slow update/status on NFS, Benoît Dejean, 2007/05/29
- Re: [Monotone-devel] slow update/status on NFS, Daniel Carosone, 2007/05/28
- Re: [Monotone-devel] slow update/status on NFS, Chad Walstrom, 2007/05/29