Skip to content

Commit

Permalink
Merge pull request #1791 from c-ewing/c-ewing-clarify-check-cpu
Browse files Browse the repository at this point in the history
Clarify check-cpu.sh documentation
  • Loading branch information
servantftechnicolor authored Dec 23, 2024
2 parents 4a604ec + d3f3dae commit b4515cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/check-cpu.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

# This script is used to check the amount of available memory to ensure 2 GB of memory per process.
# If the number of processes is greater than the amount of available memory (considering 2 GB per core) we restrict the number of cores to use.
# If the number of processes is greater than the amount of available memory (considering 2 GB per core) we restrict the number of parallel make jobs to avoid resource contention.
#
# Sample usage:
# CPU_CORES=`check-cpu.sh`
Expand Down

0 comments on commit b4515cf

Please sign in to comment.