Skip to content

x/build: make GCE buildlet pool quota accounting smarter #10704

@bradfitz

Description

@bradfitz

The GCE implementation of BuildletPool's quota accounting is way too dumb & conservative.

If it counted better, it could push our quota limits a lot harder.

In fact, it could push things as hard as possible until it hit limits, learn the limits, and then count from there.

Or it could poll quotas? (is there an API?)

Currently we have quota for 200 CPUs (and N RAM and disk, etc) but we limit ourselves to 60 builds at once, just because we haven't done the work to count how much of resource $X each build uses.

/cc @adg @crawshaw

Metadata

Metadata

Assignees

No one assigned

    Labels

    Buildersx/build issues (builders, bots, dashboards)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions