[PATCH V2] manifest: make lru size configurable

Matt Mackall mpm at selenic.com
Wed Feb 4 15:40:08 CST 2015


On Tue, 2015-02-03 at 18:44 -0800, Durham Goode wrote:
> # HG changeset patch
> # User Durham Goode <durham at fb.com>
> # Date 1422061563 28800
> #      Fri Jan 23 17:06:03 2015 -0800
> # Node ID 7e634219a049f21540d5803d8c0d8a8d25d809dd
> # Parent  e1dbe0b215ae137eec53ceb12440536d570a83d2
> manifest: make lru size configurable

Queued for default, thanks.

> On machines with lots of ram, it's beneficial to increase the lru size of the
> manifest cache.  On a large repo, configuring the lru to be size 10 can shave a
> large rebase (~12 commits) down from 95s to 70s.

Any chance I could get you to generate a list of manifests visited on
that rebase? Really curious why the working set is larger than 4. Seems
like we're probably doing something silly.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list