UCP: API - adding priority attribute to ucp requests
What
Adding priority attribute to ucp_request_param_t
Why ?
Upcoming feature - high-priority messages, on supporting transports.
Few questions:
- What is the use case and how it is going to be implemented ?
- I don't thinking just stating "the priorities" is sufficient for QoS definition.E.g. Is this high priority for BW or latency ? Whaat "high" actually means. Do we optimize for minimum service level or max service levels ?
The above API definition is not complete. It requires more clarity and definition what you trying to achieve. Demonstration of working implementation also will be necessary for this change.
what is the use case and how it is going to be implemented ? I don't thinking just stating "the priorities" is sufficient for QoS definition.
Use Case
Prioritizing specific messages when possible, UCX will rely on HW configuration, for example: HW will be configured with a high-priority SL and UCX will be configured accordingly: UCX_IB_HIGH_PRIORITY_SL=<hw configured sl>
Implementation:
- Some of the
ifaceswill have priority messages capability - Each
uct_epcreated at UCP level will have a matching high-priorityuct_epif iface is capable - For each request:
request_param_twill indicate the priority level: in case the selected lane / the ep supports prioritizing, the priorityuct_epwill be used, inibthat ep will be configured to use the UCX_IB_HIGH_PRIORITY_SL value as sl.
what is the use case and how it is going to be implemented ? I don't thinking just stating "the priorities" is sufficient for QoS definition.
Use Case
Prioritizing specific messages when possible, UCX will rely on HW configuration, for example: HW will be configured with a high-priority SL and UCX will be configured accordingly: UCX_IB_HIGH_PRIORITY_SL=
Implementation:
- Some of the
ifaceswill have priority messages capability- Each
uct_epcreated at UCP level will have a matching high-priorityuct_epif iface is capable- For each request:
request_param_twill indicate the priority level: in case the selected lane / the ep supports prioritizing, the priorityuct_epwill be used, inibthat ep will be configured to use the UCX_IB_HIGH_PRIORITY_SL value as sl.
Can you please specify application use case ?
@shamisp can you pls take a look?
@shamisp can look please?