[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] slow update/status on NFS
From: |
Richard Levitte |
Subject: |
Re: [Monotone-devel] slow update/status on NFS |
Date: |
Wed, 23 May 2007 15:41:43 +0200 (CEST) |
In message <address@hidden> on Wed, 23 May 2007 15:36:14 +0200, Markus
Schiltknecht <address@hidden> said:
markus> Richard Levitte wrote:
markus> > Have a time_t that gets initialised when stat() is used,
markus> > then compare it with the result of time() at any use,
markus>
markus> To really reduce memory consumption, you'd have to compare
markus> *all* cached stat results and throw away expired ones.
????????????
We're holding entire files in memory, and you worry about the memory
consumption of struct stat????? Let's get things in perspective! I
was suggesting doing the checks as needed (lazy check, so to say),
nothing else. The cache will die with the path object anyway.
markus> > I can't really say if this is really needed, since most
markus> > paths should be fairly short-lived objects...
markus>
markus> That, and for the sake of simplicity, I'd rather like to bind
markus> the cached status to the lifetime of the any_path object.
Good, I like that we agree on this.
Cheers,
Richard
-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.
--
Richard Levitte address@hidden
http://richard.levitte.org/
"When I became a man I put away childish things, including
the fear of childishness and the desire to be very grown up."
-- C.S. Lewis
- Re: [Monotone-devel] slow update/status on NFS, (continued)
- Re: [Monotone-devel] slow update/status on NFS, Richard Levitte, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Markus Schiltknecht, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Richard Levitte, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Markus Schiltknecht, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Ulf Ochsenfahrt, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Markus Schiltknecht, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Richard Levitte, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Markus Schiltknecht, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Richard Levitte, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Markus Schiltknecht, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS,
Richard Levitte <=
- Re: [Monotone-devel] slow update/status on NFS, Markus Schiltknecht, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Richard Levitte, 2007/05/23
- Re: [Monotone-devel] slow update/status on NFS, Matt Johnston, 2007/05/23
- 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, 2007/05/23