[dpdk-dev] Regarding HQOS with run-to-completion Model

farooq basha farooq.juturu at gmail.com
Mon Apr 28 13:25:07 CEST 2025


Hello DevTeam,

    I am planning to use DPDK HQOS for Traffic shaping with a
run-to-completion Model. While I was reading the dpdk-qos document, I came
across the following statement.

"*Running enqueue and dequeue operations for the same output port from
different cores is likely to cause significant impact on scheduler’s
performance and it is therefore not recommended"*

 Let's take an  example, Port1  & Port2 have 4 Rx queues and each Queue
mapped to a different CPU. Traffic coming on port1  gets forwarded to port2
. With the above limitation application needs to take a lock before doing
rte_sched_port_enqueue & dequeue operation. Performance is limited to only
1 CPU even though Traffic is coming on 4 Different CPUs.

Correct me if my understanding is Wrong?

Thanks
Basha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20250428/6ee64bc9/attachment-0001.htm>


More information about the dev mailing list