[PATCH 5 of 6 V2] obscache: instantiate the cache and keep it warm

2017-05-20 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1495198006 -7200 # Fri May 19 14:46:46 2017 +0200 # Node ID 3c2a082a590aa8b57693c24b8461c2afdb8d5556 # Parent eb72bf5f892c01171513f9ebfef69c8a3dbdb1ab # EXP-Topic obscache # Available At https://www.mercurial-scm.org/repo/users/marmoute/me

Re: [PATCH 5 of 6 V2] obscache: instantiate the cache and keep it warm

2017-05-22 Thread Jun Wu
Excerpts from Pierre-Yves David's message of 2017-05-20 17:30:19 +0200: > [...] > diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py > --- a/mercurial/localrepo.py > +++ b/mercurial/localrepo.py > @@ -1272,6 +1272,9 @@ class localrepository(object): > self.ui.debug('updating

Re: [PATCH 5 of 6 V2] obscache: instantiate the cache and keep it warm

2017-05-23 Thread Pierre-Yves David
(I unified the two emails to keep the discussion simpler) On 05/23/2017 06:16 AM, Jun Wu wrote: Excerpts from Pierre-Yves David's message of 2017-05-20 17:30:19 +0200: [...] diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@

Re: [PATCH 5 of 6 V2] obscache: instantiate the cache and keep it warm

2017-05-23 Thread Jun Wu
Excerpts from Pierre-Yves David's message of 2017-05-23 11:49:49 +0200: > [...] > Does these details address your concerns? There are some automation which does reclones. Reclone could be done in seconds. 9 seconds obscache build time does look a bit painful for them. So I'd like to see a config o

Re: [PATCH 5 of 6 V2] obscache: instantiate the cache and keep it warm

2017-05-23 Thread Pierre-Yves David
On 05/23/2017 05:07 PM, Jun Wu wrote: Excerpts from Pierre-Yves David's message of 2017-05-23 11:49:49 +0200: [...] Does these details address your concerns? There are some automation which does reclones. Reclone could be done in seconds. 9 seconds obscache build time does look a bit painful

Re: [PATCH 5 of 6 V2] obscache: instantiate the cache and keep it warm

2017-05-23 Thread Jun Wu
Excerpts from Pierre-Yves David's message of 2017-05-23 20:20:49 +0200: > > On 05/23/2017 05:07 PM, Jun Wu wrote: > > Excerpts from Pierre-Yves David's message of 2017-05-23 11:49:49 +0200: > >> [...] > >> Does these details address your concerns? > > > > There are some automation which does reclo

Re: [PATCH 5 of 6 V2] obscache: instantiate the cache and keep it warm

2017-05-24 Thread Pierre-Yves David
On 05/24/2017 01:03 AM, Jun Wu wrote: Excerpts from Pierre-Yves David's message of 2017-05-23 20:20:49 +0200: On 05/23/2017 05:07 PM, Jun Wu wrote: Excerpts from Pierre-Yves David's message of 2017-05-23 11:49:49 +0200: [...] Does these details address your concerns? There are some automa

Re: [PATCH 5 of 6 V2] obscache: instantiate the cache and keep it warm

2017-05-24 Thread Jun Wu
Excerpts from Pierre-Yves David's message of 2017-05-24 14:03:22 +0200: > > On 05/24/2017 01:03 AM, Jun Wu wrote: > > Excerpts from Pierre-Yves David's message of 2017-05-23 20:20:49 +0200: > >> > >> On 05/23/2017 05:07 PM, Jun Wu wrote: > >>> Excerpts from Pierre-Yves David's message of 2017-05-2

Re: [PATCH 5 of 6 V2] obscache: instantiate the cache and keep it warm

2017-05-24 Thread Augie Fackler
> On May 24, 2017, at 13:39, Jun Wu wrote: > >> I seee, So if the obscache was included into the streaming clone, that >> would remove the impact to clone. > > One of our goals is to avoid using revlog for scalability. Adding new > dependence to revlog means we need more monkey patching to get

Re: [PATCH 5 of 6 V2] obscache: instantiate the cache and keep it warm

2017-05-24 Thread Jun Wu
Excerpts from Augie Fackler's message of 2017-05-24 13:41:53 -0400: > I'm extremely sympathetic to wanting to avoid new deps on revlog, but in > this case we're talking about a 500ms win on 'hg id' in the Mercurial > repository, which is significant savings. I have already demonstrated the index w