Skip to content

scheduler-perf: fail to record SchedulingThroughput in some scenarios #132188

Open
@saza-ku

Description

@saza-ku

/sig scheduling

When running scheduler-perf on my PC, it fails to record SchdulingThroughput in some scenarios. The specs of My PC: 12th Gen Intel(R) Core(TM) i5-1240P 1.70 GHz 16threads, 24GB RAM.

The dataItem is like this:

    {
      "data": null,
      "unit": "",
      "labels": {
        "Metric": "not applicable",
        "Name": "BenchmarkPerfScheduling/SchedulingWithNodeInclusionPolicy/500Nodes/namespace-2",
        "event": "not applicable",
        "extension_point": "not applicable",
        "plugin": "not applicable",
        "result": "not applicable"
      }
    },

throughputCollector measures the throughput at 1-second intervals. The issue occurs when all of pods are scheduled before 1 second passes.

We would have several solutions, but they have each pros and cons.

  • Just reducing the interval time
    • pros: Simple
    • cons: It could affect the scheduler performance
  • Calcurate the overall throughput based on the number of all pods and elapsed time
    • pros: No side effects
    • cons: Difficult to accurately calcurate

/cc @sanposhiho @macsko

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.sig/schedulingCategorizes an issue or PR as relevant to SIG Scheduling.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions