Skip to content

Question: how does this affect JVM ergonomics? #142

@tschut

Description

@tschut

On startup, a JVM will typically determine certain behavior (e.g. thread pool size, garbage collector defaults) based on available system resources (CPU, memory). On top of that, so may application code. Typically the amount of CPUs available is used to determine basic concurrency in some processes. Also see the Oracle docs on ergonomics.

My question is: how does applying kube-startup-cpu-boost influence this? Will the JVM (and application code) detect the "boosted" CPU number? This may have adverse effects on performance when CPU is reverted to the request settings later.

I realize I can test this to see how it works in practice (and hope to find some time for that), but this seems pretty fundamental and I'd love to see the behavior as part of the documentation/specification, especially since this project explicitly targets JVM applications.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions