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

Very poor performance when checking out large number of binary files

From: Niklas Deutschmann <niklas.deutschmann_at_methodpark.de>
Date: Mon, 27 Sep 2010 14:55:31 +0200

The performance of Subversion when checking out large number of files in
a single directory becomes extremely poor when the svn:mime-type
property is set to some binary MIME type.

Steps to reproduce:

1. Create a project that contains a few thousand small files in a single
directory that have no svn:mime-type property set.

2. Check out project

3. Set svn:mime-type property to some MIME type that indicates a binary
file (application/xyz) and commit

4. Check out project

The second checkout takes *dramatically* longer. Some numbers (project
with 3500 files, each ~1KB)

- no MIME type: ~2 minutes
- "binary" MIME type: >10 minutes (79% after 10 minutes, getting slower
and slower for each file)

We are using Subversion 1.6.6. The problem occurs
- with the command line client
- with the Subclipse Eclipse plugin (Eclipse 3.6) when the JavaHL client
library is used.
- with both the svn:// and the http:// protocol

The problem does *not* occur with Subclipse and the svnkit library

Niklas
Received on 2010-09-27 14:56:14 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.