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

Re: Merging parallel-put to /trunk

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Thu, 11 Feb 2016 13:31:24 +0000

Evgeny Kotkov <evgeny.kotkov_at_visualsvn.com> writes:

> How faster is a commit going to be with parallel PUTs? Would that be
> at least twice faster?

If I take a 250MB file containing random data and commit over http to
localhost it takes 16s on my machine. The first 8s is the client
running at 100% CPU the second 8s is Apache running at 100% CPU. This
is on an SSD that will copy/fsync a 250MB file in less than 0.7s.

If I have two such files the commit takes twice as long: first the
client uses 8s then it waits while the server uses 8s, then the client
uses another 8s and finally it waits for another 8s for the server.

It is clear that we should be trying to do these 8s blocks of CPU in
parallel to achieve better performance. Our single threaded client will
always take 16s but the server could overlap its two 8s. If we were to
multithread the client it might be possible to commit both files in the
time it currently takes to commit one file.

Philip Martin
Received on 2016-02-11 14:31:30 CET

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