From: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com> |
---|---|
To: | Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: make install getting slower |
Date: | 2018-12-04 20:39:02 |
Message-ID: | 82ebda72-3545-a051-d291-00e131e65191@commandprompt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 12/4/18 12:31 PM, Andres Freund wrote:
> Hi,
>
> best of three of
> time make -s install INSTALL=/bin/true
>
> 9.3: 1.53s
> 9.4: 1.55s
> 9.5: 1.90s
> 9.6: 2.10s
> 10: 2.45s
> 11: 2.81s
> master: 2.99s
>
> Obviously a part of that can be explained by the tree getting bigger,
> but that can't be all of it.
>
> It also gets a bit worse if LLVM is enabled (due to the bitcode files
> getting installed), but that's "just" 0.3s for me. We should optimize
> that for fewer install invocations / using cp, but that seems seperate.
>
> I think this also has gotten more pronounced with newer OS versions, as
> the overhead of the spectre/meltdown mitigations have increased the cost
> of syscalls and forks.
>
> Obviously this doesn't terribly matter for actual installations, but I
> do find it fairly annoying when running regression tests...
Wouldn't using -j option with make help this?
JD
>
> Greetings,
>
> Andres Freund
>
--
Command Prompt, Inc. || http://the.postgres.company/ || @cmdpromptinc
*** A fault and talent of mine is to tell it exactly how it is. ***
PostgreSQL centered full stack support, consulting and development.
Advocate: @amplifypostgres || Learn: https://postgresconf.org
***** Unless otherwise stated, opinions are my own. *****
From | Date | Subject | |
---|---|---|---|
Next Message | Bossart, Nathan | 2018-12-04 20:40:40 | Re: Use durable_unlink for .ready and .done files for WAL segment removal |
Previous Message | Andres Freund | 2018-12-04 20:31:48 | make install getting slower |