← Back to Pull requests

adjust capacity planning, performance and project explanation pages #795

Closed
unknown closed this pull request without merging on Nov 17, 2026 14:36 UTC
View on GitHub
unknown unknown commented on Nov 17, 2026 10:52 UTC
Author

Documentation changes

This PR tackles 3 things:

  • updates the capacity planning and performance explanation pages so they describe instances in general instead of only applications, and so they cover virtualized Android and multi-display

  • removes statements that GPU is not supported for virtual machines

  • updates the projects explanation page
  • note:
    the capacity planning and performance pages were done in collaboration with @adglkh and @samzdev0
    the projects explanation page adds @jat-canonical's contribution

    changes include but not limited to:

    Capacity planning

  • Reframed the intro and the planning questions around instances instead of applications, grouped into instance resources, streaming and demand.

  • Replaced "Application resources" with "Instance resources". It explains where an instance's resources come from: application presets or the manifest (containerized Android only), or the amc launch options --cpus, --memory, --disk-size and --gpu-slots.

  • Added "Containerized Android", "Virtualized Android" and "Multi-display instances" subsections covering minimum resources, KVM, GPU or software rendering, and how multiple displays affect resources.
  • Performance

  • Reorganized "Instance density" into an intro plus "Containerized Android", "Virtualized Android" and "Multi-display instances" subsections.

  • Removed the outdated statement that AMS uses scheduler as the default. The default is now pinning.

  • Removed the obsolete shiftfs_enabled paragraph. The option was removed in 1.25.0.
  • GPU support for virtual machines
    Removed the outdated "GPU not supported for virtual machines" admonitions from:

  • rendering graphics

  • supported rendering resources

  • configure cluster nodes

  • capacity planning
  • Projects

  • added the 100.64.0.0/10 subnet pool that project subnets come from in the projects explanation intro

  • Noted that base instances created when an application is initialized are still launched in the default project.
  • Review and preview

    Have you reviewed and previewed your documentation updates?
    In your local repository,

  • Run make spelling and fix any spelling issues.

  • Run make linkcheck and fix any broken links.

  • Run make lint-md and fix any linting issues.

  • Run make run. This will build a local copy of the entire documentation and you can preview the updated pages locally before creating this PR.
  • Reviewers

    Make sure to get at least one review from the Anbox team.

    JIRA / Launchpad bug

    AC-5032
    AC-5384
    AC-5046

    [AC-5032]: https://warthogs.atlassian.net/browse/AC-5032?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

    Diff: 399 lines (+299 / -100) across 4 files Reviewer: ajanon Review duration: 223m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.43 · 399 lines diff across 4 files
    0.43
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.358
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #795"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 43.2% (MEDIUM) · Higher = larger blast radius
    43.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 17.1% · Safe to merge
    17.1%