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

Re: merge very slow

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sun, 15 Jun 2008 18:45:17 +0200

Lieven Govaerts wrote:

> If the merge code can be optimized to make less ra calls, sure, that's
> better. But in the case that those 149 merge/update reports are really
> needed, I don't see a reason why we cannot reuse earlier idle
> connections in the ra_serf library. Isn't one of the principles of serf
> to allow maximum number of requests over a minimum number of sockets?

This might seem a little bit off topic now, but may I suggest to enhance
the svn_client_* API so that sessions can be re-used between those calls
too?

>> I've looked to merge.c code and I've shocked: we create many ra
>> sessions when merging. This is source of all slowdowns. And also there
>> is no comments why we doing so. Could someone explain why we creating
>> new sessions instead of reusing?
>>
>
> Did you look at the numbers I got from my test case? Only 7 sessions,
> and all of those were created at the start of the merge. So either you
> misinterpreted the code or my code tracing was incorrect. I don't know
> the merge code well enough to know who's right or wrong.

Yes, and I think my assumption was wrong. I'm now testing in another
direction. I'll report back as soon as I find something.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-06-15 18:45:46 CEST

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

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