cyb70289 commented on a change in pull request #10690: URL: https://github.com/apache/arrow/pull/10690#discussion_r667586087
########## File path: docker-compose.yml ########## @@ -62,6 +62,14 @@ x-ccache: &ccache CCACHE_MAXSIZE: 500M CCACHE_DIR: /ccache +# CPU/memory limits to pass to Docker. These values emulate GitHub Actions: +# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners +x-limits: + # Note we use cpuset and not cpus since Ninja only detects and limits parallelism Review comment: Tested `--cpus` and `--cpuset-cpus`. With `--cpuset-cpus=0,1`, ninja spawns 2 jobs, as expected. With `--cpus=2`, ninja spawns 32 jobs on my 32 core machine, though only 2 host cores can be used. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
