On Fri, 11 Aug 2017 14:10:32 +0100
"Damien Sykes-Lindley" <dam...@dcpendleton.plus.com> wrote:

> Hi,
> I was introduced to Fossil about three years ago. It is the first VCS
> I have actually used extensively for my own work and as such I
> haven't really had much to compare it with. However, now I'm in the
> realm of contributing code I am having to learn how to make use of
> other systems as well. For the purposes of my experiments, I have
> been comparing Fossil alongside Git, as this seems to be the popular
> alternative and there is a comparison sheet describing many areas of
> difference between Fossil and Git. For the most part, Fossil has many
> advantages over Git. Though I couldn't help noticing there seemed to
> be a silence on speed comparisons. There is a separate article on
> performance statistics that again doesn't even mention speed.
<snip>
> Are there any configurations I may have
> missed that may help to optimise Fossil in these areas? If not, are
> there any plans to optimise Fossil in the future? Cheers. Damien.

For big repositories, you should increase the sqlite cache. Don't know
if today fossil 2.3 honors the deprecated default_cache_size
pragma/header option, but on Admin tab you can run pragma
default_cache_size=2147483648 to set it to 2GB always (afai understand
it doesn't use negative values to set cache size in number of pages). 

I used to "hack" fossil source code to always use big caches for import
git or svn repositories.

Don't know if there are other ways to execute pragmas before the
import, each fossil invocation is independent so setting it as pragma
cache_size won't work.

HTH

---   ---
Eduardo Morras <emorr...@yahoo.es>
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to