Joe McDonnell created IMPALA-12807:
--------------------------------------

             Summary: 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


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)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to