[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: SVN checkout slow on windows compare to linux

From: Wayne Johnson <wayne_at_zk.com>
Date: Thu, 23 Sep 2010 15:56:05 -0700

> >> I have a directory structure with only about 3 or 4 directory
> levels,
> >> but a few of the low-level directories contain 10K+ small (3-4 KB)
> >> files. I attempted to check it out onto a Windows XP box. Bad idea.
> It
> >> ended up taking 3 or 4 days. You could see the SVN (v1.6 command
> line)
> >> output progressively slowing down.
> >>
> >> Did the same thing under Ubuntu Linux. It was done within 10
> minutes.
> >
> > 3-4 days? Seriously?
> >
> > this only leaves two options:
> > * you're a git fanboy, trying to discredit SVN
> > * your Windows setup is completely screwed up
> >
> > Seriously: I often check out projects with 35K files within an hour
> or
> > so, and that's with one of the worst AV installed (Kaspersky).
> > If it takes you that long, something is wrong, and it definitely is
> > *not* svn or TSVN.
>
> * I could count on one hand the number of times I've used git. Nice
> try, but no.
>
> * Install Windows. Install Subversion. svn checkout. How is that
> screwed up? Again, nice try, but no.
>

I found this interesting article with the Google.

http://support.microsoft.com/kb/130694

In this article it points out that with long file names directory operations on NTFS are an O(n^2).

It is also possible for NTFS to become fragmented.

The Google was not as helpful in providing any benchmark comparisons be NTFS on Windows vs EXT3/4 on Linux.

Still I don't think this explains 3-4 days to create a working copy. How many files are in the working copy total? How big is the working copy when you get done checking it out?

There has to be some sort of configuration problem. 10 mins. vs 4320 mins. is quite a large difference.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2663837

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-09-24 00:56:30 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.