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

Re: Optimizing back-end: saving cycles or saving I/O (was: Re: [PATCH v2] Saving a few cycles, part 3/3)

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 12 May 2010 08:05:39 +0300 (Jerusalem Daylight Time)

Johan Corveleyn wrote on Wed, 12 May 2010 at 01:16 +0200:
> Yes, some form of caching may or may not be a good approach, but the
> main point is that ideally, for a certain client request, every
> interesting rev file should be opened and read exactly once. Currently
> this is definitely not the case (for "svn log" it's closer to 10
> opens/closes and 5 times the amount of bytes of every rev file
> involved;

/me nods

> with packed revs it's even worse because of the extra lookup
> of the rev offset in the pack manifest file).
>

The offsets are cached now (e.g., ffd->packed_offset_cache).
Received on 2010-05-12 07:05:28 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.