Thread (38 messages) flat view 38 messages, 8 authors, 2017-03-30

Re: [PATCH] mk: parallelize make config

From: Wiles, Keith <hidden>
Date: 2017-01-23 17:50:29

On Jan 23, 2017, at 10:18 AM, Olivier Matz [off-list ref] wrote:

Hi Ferruh,

On Sun, 22 Jan 2017 01:50:34 +0000, Ferruh Yigit
[off-list ref] wrote:
quoted
make config dependency resolving was always running serial,
parallelize it for better performance.

$ time make T=x86_64-native-linuxapp-gcc config
real    0m12.633s

$ time make -j8 T=x86_64-native-linuxapp-gcc config
real    0m1.826s

Signed-off-by: Ferruh Yigit <redacted>
I have a patch that fix the same issue (configuration takes to long),
but done differently. It is more intrusive, since it rework the way
DEPDIRS are used, but it does not require to use -j.
I tested the patch and the performance is very quick and seems to work very nicely. I have not looked at the other patch yet are they both compatible and could be combined or not?
I'm sending it as a reply to this thread.

Regards,
Olivier
Regards,
Keith
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help