Skip to content

How do we allocate the cpu we need? #727

Description

@leftwo

some questions im interested in

How do we allocate downstairs?

  • one option: each downstairs gets up to X% cpu time allocated, independent of any other downstairs
    • two regions will not impact each others' available CPU time
    • may encounter throttling sooner than otherwise
  • another option: multiple downstairs are grouped into one bucket of CPU time
    • If one VM is bursting IO, but others are not doing IO, that VM's downstairs gets full CPU time available to it
    • If multiple VMs burst together, they will slow each other down
      • may cause confusing behavior for operators investigating IO throttling

How do we allocate Upstairs

  • Upstairs CPU is currently nontrivial for certain operations
    • Because upstairs is in the propolis process, we probably need to do any limiting at the tokio level
      • do we have any tools besides number of worker threads

related: #604

Metadata

Metadata

Assignees

No one assigned

    Labels

    FCSstuff for FCSmvpRequired for MVP

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions