Skip to content

Jvm app startup pr1 - #6865

Open
ashishsuneja wants to merge 2 commits into
GoogleCloudPlatform:masterfrom
ashishsuneja:jvm_app_startup_pr1
Open

Jvm app startup pr1#6865
ashishsuneja wants to merge 2 commits into
GoogleCloudPlatform:masterfrom
ashishsuneja:jvm_app_startup_pr1

Conversation

@ashishsuneja

Copy link
Copy Markdown
Collaborator

No description provided.

@ashishsuneja
ashishsuneja force-pushed the jvm_app_startup_pr1 branch 3 times, most recently from 980e302 to dd8a819 Compare July 11, 2026 15:10
ashishsuneja pushed a commit to ashishsuneja/PerfKitBenchmarker that referenced this pull request Jul 13, 2026
PR 3 of 3 — Baseline/Optimized Scenario + CPU Startup Boost via VPA.

Completes the 4-configuration benchmark matrix:
  Config 1: GKE  w/o cpuboost (scenario=baseline, cloud=GCP)
  Config 2: AWS  w/o cpuboost (scenario=baseline, cloud=AWS)
  Config 3: AKS  w/o cpuboost (scenario=baseline, cloud=Azure)
  Config 4: GKE  w/  cpuboost (scenario=optimized, cloud=GCP)

Changes:
- kubernetes_deployment_startup_boost_factor flag (default 2).
- kubernetes_deployment_startup_vpa_yaml flag (slowjvmstartup_vpa.yaml.j2).
- CheckPrerequisites(): raises if scenario=optimized on non-GCP or vLLM.
- GetConfig(): sets enable_vpa=True for scenario=optimized.
- Prepare(): applies VPA manifest with cpuBoostFactor for optimized.
- Run(): adds boost_factor to all sample metadata.
- slowjvmstartup_vpa.yaml.j2: VPA with startup boost policy.

Stacked on PR GoogleCloudPlatform#6865 (metrics) and PR GoogleCloudPlatform#6867 (vLLM workload).
ashishsuneja pushed a commit to ashishsuneja/PerfKitBenchmarker that referenced this pull request Jul 13, 2026
PR 3 of 3 — Baseline/Optimized Scenario + CPU Startup Boost via VPA.

Completes the 4-configuration benchmark matrix:
  Config 1: GKE  w/o cpuboost (scenario=baseline, cloud=GCP)
  Config 2: AWS  w/o cpuboost (scenario=baseline, cloud=AWS)
  Config 3: AKS  w/o cpuboost (scenario=baseline, cloud=Azure)
  Config 4: GKE  w/  cpuboost (scenario=optimized, cloud=GCP)

Changes:
- kubernetes_deployment_startup_boost_factor flag (default 2).
- kubernetes_deployment_startup_vpa_yaml flag (slowjvmstartup_vpa.yaml.j2).
- CheckPrerequisites(): raises if scenario=optimized on non-GCP or vLLM.
- GetConfig(): sets enable_vpa=True for scenario=optimized.
- Prepare(): applies VPA manifest with cpuBoostFactor for optimized.
- Run(): adds boost_factor to all sample metadata.
- slowjvmstartup_vpa.yaml.j2: VPA with startup boost policy.

Stacked on PR GoogleCloudPlatform#6865 (metrics) and PR GoogleCloudPlatform#6867 (vLLM workload).
@ashishsuneja
ashishsuneja force-pushed the jvm_app_startup_pr1 branch 3 times, most recently from 12556a2 to 4b9830f Compare July 13, 2026 09:29
ashishsuneja pushed a commit to ashishsuneja/PerfKitBenchmarker that referenced this pull request Jul 13, 2026
PR 3 of 3 — Baseline/Optimized Scenario + CPU Startup Boost via VPA.

Completes the 4-configuration benchmark matrix:
  Config 1: GKE  w/o cpuboost (scenario=baseline, cloud=GCP)
  Config 2: AWS  w/o cpuboost (scenario=baseline, cloud=AWS)
  Config 3: AKS  w/o cpuboost (scenario=baseline, cloud=Azure)
  Config 4: GKE  w/  cpuboost (scenario=optimized, cloud=GCP)

Changes:
- kubernetes_deployment_startup_boost_factor flag (default 2).
- kubernetes_deployment_startup_vpa_yaml flag (slowjvmstartup_vpa.yaml.j2).
- CheckPrerequisites(): raises if scenario=optimized on non-GCP or vLLM.
- GetConfig(): sets enable_vpa=True for scenario=optimized.
- Prepare(): applies VPA manifest with cpuBoostFactor for optimized.
- Run(): adds boost_factor to all sample metadata.
- slowjvmstartup_vpa.yaml.j2: VPA with startup boost policy.

Stacked on PR GoogleCloudPlatform#6865 (metrics) and PR GoogleCloudPlatform#6867 (vLLM workload).
ashishsuneja pushed a commit to ashishsuneja/PerfKitBenchmarker that referenced this pull request Jul 13, 2026
PR 3 of 3 — Baseline/Optimized Scenario + CPU Startup Boost via VPA.

Completes the 4-configuration benchmark matrix:
  Config 1: GKE  w/o cpuboost (scenario=baseline, cloud=GCP)
  Config 2: AWS  w/o cpuboost (scenario=baseline, cloud=AWS)
  Config 3: AKS  w/o cpuboost (scenario=baseline, cloud=Azure)
  Config 4: GKE  w/  cpuboost (scenario=optimized, cloud=GCP)

Changes:
- kubernetes_deployment_startup_boost_factor flag (default 2).
- kubernetes_deployment_startup_vpa_yaml flag (slowjvmstartup_vpa.yaml.j2).
- CheckPrerequisites(): raises if scenario=optimized on non-GCP or vLLM.
- GetConfig(): sets enable_vpa=True for scenario=optimized.
- Prepare(): applies VPA manifest with cpuBoostFactor for optimized.
- Run(): adds boost_factor to all sample metadata.
- slowjvmstartup_vpa.yaml.j2: VPA with startup boost policy.

Stacked on PR GoogleCloudPlatform#6865 (metrics) and PR GoogleCloudPlatform#6867 (vLLM workload).
…metrics

PR 1 of 3 — Metrics & Observability.

New metrics:
- per_pod_ready_time: one Sample per pod (pod_name in metadata) so callers
  can compute p50/p90 across replicas. Uses existing
  kubernetes_conditions.GetStatusConditionsForResourceType() data.
- cpu_utilization_peak_millicores / cpu_utilization_mean_millicores /
  cpu_utilization_reading_count: CPU polled in a background thread via
  _CpuUtilizationCollector._Observe() following the same pattern as
  kubernetes_hpa_benchmark.KubernetesMetricsCollector.

Existing max_pod_ready_time metric is preserved unchanged.

Adds scenario/workload/cloud metadata to all samples for cross-config
comparison (PR 3 will set scenario=optimized for GKE CPU Startup Boost).

Flag stubs for --kubernetes_deployment_startup_workload and
--kubernetes_deployment_startup_scenario registered now so PR 2 and PR 3
do not need flag renames.

PR 2 adds vLLM workload support.
PR 3 adds VPA CPU Startup Boost scenario (GKE only).
@ashishsuneja
ashishsuneja force-pushed the jvm_app_startup_pr1 branch from 4b9830f to ed112ee Compare July 14, 2026 14:00
ashishsuneja pushed a commit to ashishsuneja/PerfKitBenchmarker that referenced this pull request Jul 14, 2026
PR 3 of 3 — Baseline/Optimized Scenario + CPU Startup Boost via VPA.

Completes the 4-configuration benchmark matrix:
  Config 1: GKE  w/o cpuboost (scenario=baseline, cloud=GCP)
  Config 2: AWS  w/o cpuboost (scenario=baseline, cloud=AWS)
  Config 3: AKS  w/o cpuboost (scenario=baseline, cloud=Azure)
  Config 4: GKE  w/  cpuboost (scenario=optimized, cloud=GCP)

Changes:
- kubernetes_deployment_startup_boost_factor flag (default 2).
- kubernetes_deployment_startup_vpa_yaml flag (slowjvmstartup_vpa.yaml.j2).
- CheckPrerequisites(): raises if scenario=optimized on non-GCP or vLLM.
- GetConfig(): sets enable_vpa=True for scenario=optimized.
- Prepare(): applies VPA manifest with cpuBoostFactor for optimized.
- Run(): adds boost_factor to all sample metadata.
- slowjvmstartup_vpa.yaml.j2: VPA with startup boost policy.

Stacked on PR GoogleCloudPlatform#6865 (metrics) and PR GoogleCloudPlatform#6867 (vLLM workload).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants