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

Small resource docs updates #69

Merged
merged 2 commits into from
Feb 28, 2024
Merged
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
12 changes: 7 additions & 5 deletions docs/project_defn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -309,25 +309,27 @@ using `GCP Batch <https://cloud.google.com/batch>`_ and `Cloud Run <https://clou
to be set to at least 2,048 if more than 8 simulations will be run in parallel on the same
machine (i.e., when vCPUs per machine_type ÷ vCPUs per sim > 8). Default: None (which should
result in a 30 GB boot disk according to the docs linked above).
* ``machine_type``: Optional. GCP Compute Engine machine type to use. If omitted, GCP Batch will
* ``machine_type``: Optional. GCP Compute Engine `machine type`_ to use. If omitted, GCP Batch will
choose a machine type based on the requested vCPUs and memory. If set, the machine type
should have at least as many resources as requested for each simulation above. If it is
large enough, multiple simulations will be run in parallel on the same machine. Usually safe
to leave unset.
large enough, multiple simulations will be run in parallel on the same machine. Typically
this is a type from the `E2 series`_. Usually safe to leave unset.
* ``use_spot``: Optional. Whether to use `Spot VMs <https://cloud.google.com/spot-vms>`_
for data simulations, which can reduce costs by up to 91%. Default: false
* ``postprocessing_environment``: Optional. Specifies the Cloud Run computing environment for
postprocessing.

* ``cpus``: Optional. `Number of CPUs`_ to use. Default: 2.
* ``cpus``: Optional. `Number of CPUs`_ to use. Use up to 8 for large jobs. Default: 2.
* ``memory_mib``: Optional. `Amount of RAM`_ needed in MiB. At least 2048 MiB per CPU is recommended.
Default: 4096.
Use up to 32768 MiB for large jobs. Default: 4096 MiB.

.. _GCP's default behavior: https://cloud.google.com/python/docs/reference/batch/latest/google.cloud.batch_v1.types.TaskGroup
.. _job limits: https://cloud.google.com/batch/quotas
.. _Batch OS environment docs: https://cloud.google.com/batch/docs/vm-os-environment-overview#default
.. _Number of CPUs: https://cloud.google.com/run/docs/configuring/services/cpu
.. _Amount of RAM: https://cloud.google.com/run/docs/configuring/services/memory-limits
.. _machine type: https://cloud.google.com/compute/docs/general-purpose-machines
.. _E2 series: https://cloud.google.com/compute/docs/general-purpose-machines#e2_machine_types

.. _postprocessing:

Expand Down
Loading