File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
content/en/docs/concepts/configuration Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -132,23 +132,23 @@ CPU: 1
132
132
Node Score:
133
133
134
134
intel.com/foo = resourceScoringFunction((2+1),4)
135
- = (100 - ((4-3)*100/4)
136
- = (100 - 25)
137
- = 75
138
- = rawScoringFunction(75)
139
- = 7
135
+ = (100 - ((4-3)*100/4)
136
+ = (100 - 25)
137
+ = 75 # requested + used = 75% * available
138
+ = rawScoringFunction(75)
139
+ = 7 # floor(75/10)
140
140
141
141
Memory = resourceScoringFunction((256+256),1024)
142
142
= (100 -((1024-512)*100/1024))
143
- = 50
143
+ = 50 # requested + used = 50% * available
144
144
= rawScoringFunction(50)
145
- = 5
145
+ = 5 # floor(50/10)
146
146
147
147
CPU = resourceScoringFunction((2+1),8)
148
148
= (100 -((8-3)*100/8))
149
- = 37.5
149
+ = 37.5 # requested + used = 37.5% * available
150
150
= rawScoringFunction(37.5)
151
- = 3
151
+ = 3 # floor(37.5/10)
152
152
153
153
NodeScore = (7 * 5) + (5 * 1) + (3 * 3) / (5 + 1 + 3)
154
154
= 5
You can’t perform that action at this time.
0 commit comments