Skip to content

Commit cb471c7

Browse files
authored
Merge pull request #41738 from Arhell/ja-fix
[ja] Fix node score calculation
2 parents e9e4c10 + 61d78a4 commit cb471c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ cpu = resourceScoringFunction((2+1),8)
147147
= rawScoringFunction(37.5)
148148
= 3 # floor(37.5/10)
149149
150-
NodeScore = (7 * 5) + (5 * 1) + (3 * 3) / (5 + 1 + 3)
150+
NodeScore = ((7 * 5) + (5 * 1) + (3 * 3)) / (5 + 1 + 3)
151151
= 5
152152
```
153153

@@ -186,7 +186,7 @@ cpu = resourceScoringFunction((2+6),8)
186186
= rawScoringFunction(100)
187187
= 10
188188
189-
NodeScore = (5 * 5) + (7 * 1) + (10 * 3) / (5 + 1 + 3)
189+
NodeScore = ((5 * 5) + (7 * 1) + (10 * 3)) / (5 + 1 + 3)
190190
= 7
191191
192192
```

0 commit comments

Comments
 (0)