Skip to content

Commit 3d5d9f2

Browse files
committed
sync resource-bin-packing
sync resource-bin-packing
1 parent c43c360 commit 3d5d9f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ cpu = resourceScoringFunction((2+1),8)
295295
= rawScoringFunction(37.5)
296296
= 3 # floor(37.5/10)
297297

298-
NodeScore = (7 * 5) + (5 * 1) + (3 * 3) / (5 + 1 + 3)
298+
NodeScore = ((7 * 5) + (5 * 1) + (3 * 3)) / (5 + 1 + 3)
299299
= 5
300300
```
301301
@@ -341,7 +341,7 @@ cpu = resourceScoringFunction((2+6),8)
341341
= rawScoringFunction(100)
342342
= 10
343343

344-
NodeScore = (5 * 5) + (7 * 1) + (10 * 3) / (5 + 1 + 3)
344+
NodeScore = ((5 * 5) + (7 * 1) + (10 * 3)) / (5 + 1 + 3)
345345
= 7
346346
```
347347

0 commit comments

Comments
 (0)