gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] Re: [PATCH] arch speedups on big trees


From: Chris Mason
Subject: [Gnu-arch-users] Re: [PATCH] arch speedups on big trees
Date: Wed, 07 Jan 2004 07:05:48 -0500

On Wed, 2004-01-07 at 01:09, Miles Bader wrote:
> Charles Duffy <address@hidden> writes:
> > Depends on where you are. On AFS, for instance, stat() calls aren't
> > cached on the client, so they're potentially much slower (!) than
> > read()s; for that reason, checking the inode signatures is exceedingly
> > slow there, and so this optimization will be a very substantial gain.
> 
> Does AFS not special-case stats of files that are in the cache?!?
> 
> I've been using tla in NFS, btw, and one huge horrible lose there is that
> computing a changeset seems to do, for every file, `diff a b > ,tmp',
> where ",tmp" is _in the current tree_.  Creating a temporary file then
> deleting it is ... slow.
> 
That part is actually easy.  arch_make_changeset creates the tmpfile,
but could instead push that responsibility to arch_invoke_diff.  It
would only be created/unlinked if the diff func reported changes.

-chris






reply via email to

[Prev in Thread] Current Thread [Next in Thread]