Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

limit palallel make with load average #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
limit palallel make with load average
Unlimited recursive and multiple parallel makes run much more tasks than CPUs, overloads system and dramatically increases load average. 
Option --load-average[=load]  specifies that no new jobs should be started if there are others jobs running and the load average is at least as specified.
  • Loading branch information
makelinux committed Nov 20, 2018
commit 7891894863307fa28e779fa9b61ae265f772d47b
2 changes: 1 addition & 1 deletion meta/conf/bitbake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ CACHE := "${CACHE}"
BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"

# Default to setting automatically based on cpu count
PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()} -l ${@oe.utils.cpu_count()}"

##################################################################
# Magic Cookie for SANITY CHECK
Expand Down