odp
odp copied to clipboard
Maximum number of scheduling groups is restricting and unintuitively retrieved
Bogdan Pricope 2018-08-01 07:11:04 UTC Maximum number of scheduling groups is very short:
- for basic scheduler 28 (NUM_SCHED_GRPS - SCHED_GROUP_NAMED)
- for SP scheduler is 9
- for iquery scheduler is 253 (ok)
- etc.
Ideally, unless HW limitations, ODP should be able to create one scheduler group per core.
Also, retrieving the number of scheduler groups with queue capabilities API (odp_queue_capability()) is un-intuitive, considering the fact that ODP has a certain number of scheduler related APIs (odp_schedule_group_create(), odp_schedule_group_destroy(), odp_schedule_group_join(), odp_schedule_group_info(), etc.)