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

Re: notification output bottleneck

From: Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com>
Date: Thu, 30 Aug 2012 13:50:26 +0200

On Thu, Aug 30, 2012 at 1:12 PM, Branko Čibej <brane_at_wandisco.com> wrote:

> On 30.08.2012 13:02, Johan Corveleyn wrote:
> > But won't the output thread then take just as long, so the user still
> > has to wait until that is finished? There is not much point (from the
> > users perspective) in having the checkout finished after 25 minutes,
> > if the output still keeps coming in for another 25 minutes...
> Network I/O and WC disk operations will not be waiting for console
> output, which is what's happening now; they'll both run in parallel. The
> total checkout time would be reduced to whichever takes longest today,
> console output or everything else. In other words, if your checkout
> takes 30 minutes today, and 10 when you redirect to /dev/null, then
> there's a good chance that with a separate output thread it'll take 20
> minutes.

I'm not too keen on the thread approach
(it must be optional to support systems
without threads) but it would elegantly
solve another issue: what happens if the
output rate drops or if there was an error.

An output thread could simply buffer data
up to some limit and flush after either that
limit was reached or some timeout like
.1 seconds.

-- Stefan^2.

Join us this October at Subversion Live
 for two days of best practice SVN training, networking, live demos,
committer meet and greet, and more! Space is limited, so get signed up
Received on 2012-08-30 13:51:01 CEST

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