EasyApache 3 - speed up building by using more cores
Completed
It would be nice if EasyApache 3 could be configured to use more cores so the build completes faster. I found a post online which documents how to hack things to get it to do that, but it'd be nice if it was built in. See http://blog.unixy.net/2013/04/speed-up-cpanel-whm-easyapache-rebuilds-on-multi-core-or-multi-thread-server/ if desired.
If the reason it isn't already configured this way is because to not use too much CPU, the build could always run niced.
This is already done by EasyApache. It will pass -j2 to make when it detects multiple cores. Are you asking for EA to use more cores than 2?
This is already done by EasyApache. It will pass -j2 to make when it detects multiple cores. Are you asking for EA to use more cores than 2?
(Deleted and posted as reply to above)
(Deleted and posted as reply to above)
Morning!
I'm hesitant to spend a ton of effort on EA3 in this area since we're close to deprecating it. Instead of trying to figure out 'idle' cores, what if we just made it always use half the available cores on the machine?
If you had 1 or 2 cores, we'd always just use 1 core. If you have more than 4, we'd start using half the cores. If you have 8 cores, we'd use 4. If you have 32 cores, we'd make 16 cores available during building.
Does this sound like a good compromise?
Morning!
I'm hesitant to spend a ton of effort on EA3 in this area since we're close to deprecating it. Instead of trying to figure out 'idle' cores, what if we just made it always use half the available cores on the machine?
If you had 1 or 2 cores, we'd always just use 1 core. If you have more than 4, we'd start using half the cores. If you have 8 cores, we'd use 4. If you have 32 cores, we'd make 16 cores available during building.
Does this sound like a good compromise?
Hello,
Tuesday we released EA 3.32.9, which contains the option to add a 'make' rawopt and add in '-j#' to allow more cores to be used by make. Test it out and let us know how it works for you!
Hello,
Tuesday we released EA 3.32.9, which contains the option to add a 'make' rawopt and add in '-j#' to allow more cores to be used by make. Test it out and let us know how it works for you!
Deleting this comment and posting as direct reply to above post.
Deleting this comment and posting as direct reply to above post.
Replies have been locked on this page!