Skip to content

Conversation

@itsomri
Copy link
Collaborator

@itsomri itsomri commented Aug 28, 2025

Take historical queue usage into account when calculating the fair share for each queue. The calculation is based on https://github.com/NVIDIA/KAI-Scheduler/blob/95910267b4a0b3c2f7bb156250767e3bd505130c/docs/developer/designs/time-aware-fairness/time-aware-fairness.md#design-details

@itsomri itsomri changed the title Use "usage" data in fair share calculations Consider historical usage data in fair share calculations Aug 28, 2025
@itsomri itsomri force-pushed the omric/time-aware-fairness-fair-share branch 2 times, most recently from 7d432c0 to dfde852 Compare August 31, 2025 13:48
@davidLif davidLif force-pushed the omric/time-aware-fairness-fair-share branch from 4553073 to 4fc852d Compare September 2, 2025 09:28
@github-actions
Copy link

github-actions bot commented Sep 2, 2025

Merging this branch will decrease overall coverage

Impacted Packages Coverage Δ 🤖
github.com/NVIDIA/KAI-scheduler/pkg/scheduler/plugins/proportion/resource_division 96.69% (-0.28%) 👎

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/NVIDIA/KAI-scheduler/pkg/scheduler/plugins/proportion/resource_division/resource_division.go 96.69% (-0.28%) 151 (+19) 146 (+18) 5 (+1) 👎

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/NVIDIA/KAI-scheduler/pkg/scheduler/plugins/proportion/resource_division/resource_division_test.go

@github-actions
Copy link

github-actions bot commented Sep 3, 2025

Merging this branch will decrease overall coverage

Impacted Packages Coverage Δ 🤖
github.com/NVIDIA/KAI-scheduler/pkg/scheduler/plugins/proportion/resource_division 96.00% (-0.97%) 👎

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/NVIDIA/KAI-scheduler/pkg/scheduler/plugins/proportion/resource_division/resource_division.go 96.00% (-0.97%) 150 (+18) 144 (+16) 6 (+2) 👎

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/NVIDIA/KAI-scheduler/pkg/scheduler/plugins/proportion/resource_division/resource_division_test.go

@davidLif davidLif force-pushed the omric/time-aware-fairness-fair-share branch from 1c7b348 to 13592df Compare September 3, 2025 08:31
@github-actions
Copy link

github-actions bot commented Sep 3, 2025

Merging this branch will decrease overall coverage

Impacted Packages Coverage Δ 🤖
github.com/NVIDIA/KAI-scheduler/pkg/scheduler/plugins/proportion/resource_division 96.69% (-0.28%) 👎

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/NVIDIA/KAI-scheduler/pkg/scheduler/plugins/proportion/resource_division/resource_division.go 96.69% (-0.28%) 151 (+19) 146 (+18) 5 (+1) 👎

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/NVIDIA/KAI-scheduler/pkg/scheduler/plugins/proportion/resource_division/resource_division_test.go

@github-actions
Copy link

github-actions bot commented Sep 3, 2025

Merging this branch will increase overall coverage

Impacted Packages Coverage Δ 🤖
github.com/NVIDIA/KAI-scheduler/pkg/scheduler/plugins/proportion/resource_division 97.35% (+0.38%) 👍

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/NVIDIA/KAI-scheduler/pkg/scheduler/plugins/proportion/resource_division/resource_division.go 97.35% (+0.38%) 151 (+19) 147 (+19) 4 👍

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/NVIDIA/KAI-scheduler/pkg/scheduler/plugins/proportion/resource_division/resource_division_test.go

@davidLif davidLif force-pushed the omric/time-aware-fairness-fair-share branch from ba0fc15 to 1882903 Compare September 3, 2025 12:34
@github-actions
Copy link

github-actions bot commented Sep 3, 2025

Merging this branch will increase overall coverage

Impacted Packages Coverage Δ 🤖
github.com/NVIDIA/KAI-scheduler/pkg/scheduler/plugins/proportion/resource_division 97.35% (+1.14%) 👍

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/NVIDIA/KAI-scheduler/pkg/scheduler/plugins/proportion/resource_division/resource_division.go 97.35% (+1.14%) 151 (+19) 147 (+20) 4 (-1) 👍

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/NVIDIA/KAI-scheduler/pkg/scheduler/plugins/proportion/resource_division/resource_division_test.go

@davidLif davidLif force-pushed the omric/time-aware-fairness-fair-share branch from 1882903 to ac8f8fd Compare September 3, 2025 17:37
@github-actions
Copy link

github-actions bot commented Sep 3, 2025

Merging this branch will increase overall coverage

Impacted Packages Coverage Δ 🤖
github.com/NVIDIA/KAI-scheduler/pkg/scheduler/plugins/proportion/resource_division 96.69% (+0.48%) 👍

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/NVIDIA/KAI-scheduler/pkg/scheduler/plugins/proportion/resource_division/resource_division.go 96.69% (+0.48%) 151 (+19) 146 (+19) 5 👍

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/NVIDIA/KAI-scheduler/pkg/scheduler/plugins/proportion/resource_division/resource_division_test.go

@itsomri itsomri force-pushed the omric/time-aware-fairness-fair-share branch from ac8f8fd to cfd410e Compare September 4, 2025 10:33
@itsomri itsomri closed this Sep 25, 2025
@itsomri itsomri deleted the omric/time-aware-fairness-fair-share branch September 25, 2025 07:33
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.

2 participants