This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: svn speed traversing slow filesystems
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: "Kaveh R. Ghazi" <ghazi at caipclassic dot rutgers dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 19 Nov 2005 14:08:11 -0500
- Subject: Re: svn speed traversing slow filesystems
- References: <200511191514.jAJFEIU4008764@caipclassic.rutgers.edu>
On Sat, 2005-11-19 at 10:14 -0500, Kaveh R. Ghazi wrote:
> Hi Dan,
>
> (BTW, sorry for the reposted messages.)
>
> While I was waiting for some svn commands to finish (cleanup, update)
> on my solaris2.7 box, which has a slow filesystem, I happened to run
> truss -p <svn-pid> out of curiosity to see what was taking so long.
> Turns out that svn does many file operations on long pathnames. I
> recall that gnu find and other gnu utilities that do directory
> traversal got jumbo speedups by changing to the directory and running
> the file ops on "./filename" without long path prefixes.
>
> Could a future svn version get the same speedup?
Actually, i just removed the need for most stat calls during update in
1.4.