On Wednesday 28 October 2009 03:04:41 Felix Fietkau wrote: > > That would be a huge advantage and speedup the openwrt buildprocess by > > about 35-40 percent points on my quad machine. The advantage gets higher > > the more cores we have. > > And I think quads are not that uncommon anymore today. > Why do you think the difference is that big between building multiple > packages at the same time and building individual packages in parallel?
Because the cpu utilization is horribly low during an openwrt build. It ranges from 25% for the toolchain to 99% for the kernel. For compiling "normal" packages there's usually an overall utilization of 60-75%. I'm pretty sure if we'd allow two processors (or more) on one package at the same time, it would go up to nearly 99% on my machine. Especially for bigger packages like busybox, ssh, etc... I'd also like to have an optional (default off) parallel build of the toolchain. I don't mind poking it two or three times. That'd still be faster than compiling the whole toolchain at 25%. -- Greetings, Michael. _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel