cloudfoundry / docs-buildpacks

http://docs.cloudfoundry.org/buildpacks/
Apache License 2.0
21 stars 118 forks source link

Document the "num_threads" parallel install option #240

Closed mogul closed 5 years ago

mogul commented 5 years ago

The buildpack looks for a num_threads option in the r.yml file and supplies it as the Ncpus parameter to the invocation of install.packages(). That was implemented here but not documented.

This behavior is extremely useful because it speeds up staging for R apps, potentially avoiding the default 15-minute staging timeout. When this flag was configured to match the number of CPUs available on our hosts, one cloud.gov customer reported a 38% speedup of staging time.

cfdreddbot commented 5 years ago

:white_check_mark: Hey mogul! The commit authors and yourself have already signed the CLA.

cf-gitbot commented 5 years ago

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

animatedmax commented 5 years ago

Thank you @mogul