You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Joe McDonnell (Jira)" <ji...@apache.org> on 2024/03/25 22:58:00 UTC
[jira] [Resolved] (IMPALA-12807) Add option to use the 'mold' linker
[ https://issues.apache.org/jira/browse/IMPALA-12807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe McDonnell resolved IMPALA-12807.
------------------------------------
Fix Version/s: Impala 4.3.0
Resolution: Fixed
> Add option to use the 'mold' linker
> -----------------------------------
>
> Key: IMPALA-12807
> URL: https://issues.apache.org/jira/browse/IMPALA-12807
> Project: IMPALA
> Issue Type: Improvement
> Components: Backend
> Affects Versions: Impala 4.3.0
> Reporter: Joe McDonnell
> Assignee: Joe McDonnell
> Priority: Major
> Fix For: Impala 4.3.0
>
>
> Mold is a new linker that says it is faster than lld and gold. See [https://github.com/rui314/mold]
> Hand testing it on my machine, it makes a big difference in speed of iteration:
> {noformat}
> # Test case:
> # - Start with fully built impalad
> # - touch be/src/scheduling/scheduler.cc
> # - time make -j12 impalad
> With Gold (current default):
> real 0m15.843s
> user 0m15.478s
> sys 0m2.127s
> real 0m15.820s
> user 0m15.302s
> sys 0m2.157s
> real 0m16.136s
> user 0m15.799s
> sys 0m2.098s
> With Mold:
> real 0m2.479s
> user 0m2.169s
> sys 0m0.958s
> real 0m2.674s
> user 0m2.218s
> sys 0m1.086s
> real 0m2.524s
> user 0m2.136s
> sys 0m1.042s{noformat}
> This seems like something we should investigate further.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)