You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by jo...@mindspeed.com on 2004/06/03 16:45:59 UTC

Re:performance issues over time

<br><font size=2 face="sans-serif">Hi Toby,</font>
<br>
<br><font size=2 face="sans-serif">Can you explain why </font><font size=3 face="Times New Roman">&nbsp;using DBI and DBD::SQLite will resolve the issue?</font>
<br><font size=3 face="Times New Roman">I don't see how by switching over to your new vss2svn will help the problem.</font>
<br>
<br><font size=3 face="Times New Roman">I don't think this problem is due to the migration script at all but rather to</font>
<br><font size=3 face="Times New Roman">a problem with subversion itself.</font>
<br>
<br><font size=3 face="Times New Roman">During my migration run, the system command that took the longest time to execute is</font>
<br><font size=3 face="Times New Roman">the following:</font>
<br>
<br><font size=3 face="Times New Roman">svn commit &nbsp;--non-interactive --non-recursive -username testuser --message &quot;Some message&quot; &nbsp;&quot;myfile&quot;</font>
<br>
<br><font size=2 face="sans-serif">Not only is my migration script running slow, just running the following command</font>
<br>
<br><font size=2 face="sans-serif">svn log &quot;svn://myserver/myfile&quot;</font>
<br>
<br><font size=2 face="sans-serif">from another machine to the same repository takes over a minute to complete. &nbsp;</font>
<br><font size=2 face="sans-serif">Doing a traceroute to the server shows a response time of under 10ms so it's not a network server issue.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Regards,<br>
John Liao<br>
<br>
<br>
</font>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: performance issues over time

Posted by Toby Johnson <to...@etjohnson.us>.
john.liao@mindspeed.com wrote:

> I don't think this problem is due to the migration script at all but 
> rather to
> a problem with subversion itself.
>
> During my migration run, the system command that took the longest time 
> to execute is
> the following:
>
> svn commit  --non-interactive --non-recursive -username testuser 
> --message "Some message"  "myfile"
>
> Not only is my migration script running slow, just running the 
> following command
>
> svn log "svn://myserver/myfile"
>
> from another machine to the same repository takes over a minute to 
> complete.  

If you are running the command while the other script is running also, 
then it likely is because of the migration script. Also, are you running 
the migration script on the same machine as the repository? If so, that 
definitely would have an affect.

The reason early versions of the script slowed down so much is that they 
dumped all comments of all files out to temporary files. This could give 
you thousands upon thousands of files, which bogged down the NTFS 
volume. That's why the svn commit was so slow. If you killed your script 
and deleted the _vss2svn directory, performance would return to normal.