You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -341,6 +350,10 @@ type ResourceSliceMixins struct {
341
350
// a collection of counters that a CounterSet can "include"
342
351
// to extend the set of counters it already defines.
343
352
//
353
+
// The maximum number of counter set mixins in a ResourceSlice is
354
+
// 32 and the total number of counters across counter set mixins and
355
+
// counter sets in a single ResourceSlice must not exceed 256.
356
+
//
344
357
// +optional
345
358
// +listType=atomic
346
359
CounterSet []CounterSetMixin
@@ -460,7 +473,7 @@ type DeviceCounterConsumption struct {
460
473
// The mixins referenced here must be defined in the same
461
474
// ResourceSlice.
462
475
//
463
-
// The maximum number of includes is 8.
476
+
// The maximum number of includes is 4.
464
477
//
465
478
// +featureGate=DRAResourceSliceMixins
466
479
// +optional
@@ -501,10 +514,18 @@ The ResourceSlice-wide limits will be:
501
514
* Total combined number of attributes and capacity in a ResourceSlice is 4096 (so with the maximum number of devices, there can be 32 per device).
502
515
* Total number of counters is 256.
503
516
* Total number of consumed counters is 2048 (so with the maximum number of devices, there can be 16 per device).
517
+
* Total number of counter sets is 32.
518
+
* Total number of device mixins is 128 (same as max number of devices).
519
+
* Total number of counter set mixins is 32 (same as max number of counter sets).
520
+
* Total number of device counter consumption mixins is 64.
521
+
504
522
505
523
We will still enforce some per-field limits:
506
-
* The number of mixins that can be referenced from each device, counter set or device counter consumption is 8.
524
+
* The number of mixins that can be referenced from each device or counter set is 8.
525
+
* The number of mixins that can be referenced from each device counter consumption is 4.
507
526
* The number of taints per device is 4.
527
+
* The number of device counter consumptions per device is 4. This means that each device can only consume counters from a maximum of 4 different counter sets.
528
+
508
529
509
530
We will also enforce one limit on the flattened device:
510
531
* The combined number of attributes and capacities for a single device can not exceed 32. We do this
0 commit comments