OpenDataPlane / odp

The ODP project is an open-source, cross-platform set of application programming interfaces (APIs) for the networking data plane

Home Page:https://opendataplane.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Maximum number of scheduling groups is restricting and unintuitively retrieved

MatiasElo opened this issue · comments

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.)