Skip to content

Commit c2bc1f4

Browse files
authored
Merge pull request #41747 from Arhell/id-fix
[id] Fix node score calculation
2 parents 3ac316c + dd669d5 commit c2bc1f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/id/docs/concepts/scheduling-eviction/resource-bin-packing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ CPU = resourceScoringFunction((2+1),8)
169169
= rawScoringFunction(37.5)
170170
= 3
171171
172-
NodeScore = (7 * 5) + (5 * 1) + (3 * 3) / (5 + 1 + 3)
172+
NodeScore = ((7 * 5) + (5 * 1) + (3 * 3)) / (5 + 1 + 3)
173173
= 5
174174
175175
@@ -209,7 +209,7 @@ CPU = resourceScoringFunction((2+6),8)
209209
= rawScoringFunction(100)
210210
= 10
211211
212-
NodeScore = (5 * 5) + (7 * 1) + (10 * 3) / (5 + 1 + 3)
212+
NodeScore = ((5 * 5) + (7 * 1) + (10 * 3)) / (5 + 1 + 3)
213213
= 7
214214
215215
```

0 commit comments

Comments
 (0)