[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 17:19:49 +0200

On Sun, Jun 15, 2008 at 15:39, Stefan Küng <tortoisesvn_at_gmail.com> wrote:

> Update: the merge is the same when built with VS2005 than with VS2008.

While doing some tests with the VS2005 build I rememberd that the
devpartner community edition profiler works with VS2005 (it does not
with VS2008). So I installed it and ran the test merge with profiling
enabled:

84% of the time, the svn.exe spends in raw_poll() in file ne_socket
(neon). And in that function, the most time is spent with
ret = select(fdno + 1, &rdfds, &wrfds, NULL, tvp);

The time spent there is around 4 minutes 17 seconds. Considering the
whole merge takes about a minute more, I'd say that this is the
problem.

Now does anyone know why a select call would take so much time? Does
that mean the data does not arrive as fast as expected? Or that it
waits for more data (e.g., to fill a buffer) and then times out and
returns with the data it already has? Or could it mean that the *send*
of the data does not immediately send if some buffer is not full yet?

I'm currently rebuilding everything with VS2008 and I'll do some more
tests once that's done.

Stefan

--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
Received on 2008-06-15 17:20:05 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.