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

Very large rev files

From: Rick Yorgason <rick_at_ldagames.com>
Date: 2007-03-21 23:53:58 CET

I have another performance issue with our Subversion repository
(although if anybody would like to take a look at my existing issue
<http://subversion.tigris.org/servlets/ReadMsg?list=users&msgNo=63804>
it would be appreciated).

The problem now is that many of my rev files are much bigger than I
assume they should be. I've taken a sample file from my real-world
repository and imported a few revisions into a clean repository to
showcase the issue. Check it out:

> skorpion@katrina:<<svntest/repo/db/revs$> ls -lh
> total 71026
> -rw-r--r-- 1 skorpion skorpion 115B 20 Mar 22:52 0
> -rw-r--r-- 1 skorpion skorpion 25M 21 Mar 02:40 1
> -rw-r--r-- 1 skorpion skorpion 22M 21 Mar 02:55 2
> -rw-r--r-- 1 skorpion skorpion 22M 21 Mar 03:10 3
> skorpion@katrina:<<svntest/repo/db/revs$> cd ../../..
> skorpion_at_katrina:~/code/sandbox/svntest$> svn co file:///home/skorpion/code/sandbox/svntest/repo/co_at_1 1
> A 1/Greece_Full.map
> Checked out revision 1.
> skorpion_at_katrina:~/code/sandbox/svntest$> svn co file:///home/skorpion/code/sandbox/svntest/repo/co_at_2 2
> A 2/Greece_Full.map
> Checked out revision 2.
> skorpion_at_katrina:~/code/sandbox/svntest$> svn co file:///home/skorpion/code/sandbox/svntest/repo/co_at_3 3
> A 3/Greece_Full.map
> Checked out revision 3.
> skorpion@katrina:~/code/sandbox/svntest$> ls -lh 1 2 3
> 1:
> total 56512
> -rw-r--r-- 1 skorpion skorpion 55M 21 Mar 17:24 Greece_Full.map
>
> 2:
> total 56512
> -rw-r--r-- 1 skorpion skorpion 55M 21 Mar 18:02 Greece_Full.map
>
> 3:
> total 56512
> -rw-r--r-- 1 skorpion skorpion 55M 21 Mar 18:05 Greece_Full.map
> skorpion@katrina:~/code/sandbox/svntest$> xdelta delta 1/Greece_Full.map 2/Greece_Full.map 1to2.diff
> skorpion@katrina:~/code/sandbox/svntest$> xdelta delta 2/Greece_Full.map 3/Greece_Full.map 2to3.diff
> skorpion@katrina:~/code/sandbox/svntest$> ls -lh 1to2.diff 2to3.diff
> -rw-r--r-- 1 skorpion skorpion 25K 21 Mar 18:18 1to2.diff
> -rw-r--r-- 1 skorpion skorpion 25K 21 Mar 18:20 2to3.diff

As you can see, the rev file is *one thousand* times bigger than the
delta that the xdelta utility produces.

Greece_Full.map doesn't have any sort of compression on it. It's mostly
a giant bitmap with a lot of header information, that changes in size
with each revision.

Anybody know what's going on?

-Rick-
This was tested on FreeBSD with svn 1.4.3 and xdelta 1.1.3, although the
issue was originally tested with svn 1.4.0 on Windows 2000 via Apache
with the Windows version of xdelta 1.1.3.

Anybody know what's going on?

-Rick-

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 21 23:54:01 2007

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.