diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2024-03-06 11:11:04 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2024-03-06 11:11:04 +0200 |
commit | e0805007423244218514b6dfec74b89067c7c468 (patch) | |
tree | 1e6ef6bc9897790dadeecf21f131279a141d369d /bbot/agent/agent.cli | |
parent | e98b7d27bc969762ec4952f82634bb6e6375b8c2 (diff) |
Rename --ram agent option to --build-ram, add --auxiliary-ram
Diffstat (limited to 'bbot/agent/agent.cli')
-rw-r--r-- | bbot/agent/agent.cli | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/bbot/agent/agent.cli b/bbot/agent/agent.cli index eb3553d..060cba0 100644 --- a/bbot/agent/agent.cli +++ b/bbot/agent/agent.cli @@ -189,10 +189,24 @@ namespace bbot "Number of CPUs (threads) to use, 1 by default." } - size_t --ram (1024 * 1024) // 1G + size_t --build-ram (4 * 1024 * 1024) // 4GiB { "<num>", - "Amount of RAM (in kB) to use, 1G by default." + "Amount of RAM (in KiB) to use for the build machine, 4GiB by default." + } + + size_t --auxiliary-ram + { + "<num>", + "Amount of RAM (in KiB) to use for auxiliary machines. To disable + running auxiliary machines, specify \cb{0}. If unspecified, then + currently the behavior is the same as specifying \cb{0} but this + may change in the future (for example, to support a more dynamic + allocation strategy)." + + // Note: it's not going to be easy to set it to unspecified in + // bbot-agent@.service so we may have to invent some special value, + // like `auto`. } string --bridge = "br1" |