On 7/6/2013 5:28 PM, Jonathan Nieder wrote:
> David Rothenberger wrote:
>> On 7/5/2013 8:41 PM, Kyle McKay wrote:
>>> Daniel Shahaf has suggested also setting
>> I have a patch that does this, but since turning on bulk updates has
>> a possible performance penalty, I prefer your approach.
> I assume that's because http-bulk-updates defeats caching. If so,
> makes sense.
I believe that "bulk updates" means that serf makes one request for a
lot of information and receives it all in one big response. In "skelta"
mode, serf makes a single request for a single piece of information. The
serf authors feel this can lead to improved overall throughput because
they can pipeline these requests and have multiple connections open at
the same time.
The downside, though, is that serf will do multiple open_file calls in
parallel as it descends down sibling directories.
> It's still not clear to me how we know that ra_serf driving the editor
> in a non depth-first manner is the problem here. Has that explanation
> been confirmed somehow?
I did do a trace of "git svn fetch" and observed this non-depth-first
traversal. It certainly causes the failure we've observed.
> Is there a simple explanation of why violating the depth-first
> constraint would lead to multiple blob (i.e., file, not directory)
> deltas being opened in a row without an intervening close?
I believe serf is doing the following for a number of files in parallel:
3. change_file_prop, change_file_prop, ...
David Rothenberger ---- daver...@acm.org
The more pretentious the corporate name, the smaller the
organization. (For instance, the Murphy Center for the
Codification of Human and Organizational Law, contrasted
to IBM, GM, and AT&T.)
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html