You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/07/12 06:15:51 UTC

[GitHub] [arrow] lidavidm commented on a change in pull request #10690: ARROW-13283: [Developer Tools] Support passing CPU/memory limits to Docker

lidavidm commented on a change in pull request #10690:
URL: https://github.com/apache/arrow/pull/10690#discussion_r667651605



##########
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:
       For reference, ninja explicitly checks for cpuset: https://github.com/ninja-build/ninja/commit/1bcc689324bdee090eed035353724abc3fa7c909




-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org