Skip to content

Conversation

@kpjeeja
Copy link

@kpjeeja kpjeeja commented Jan 9, 2026

Optimization of CPU hotspots with Progress/Control threads

    - This patch adds Adaptive sleep for progress Thread/control
    thread instead of while with timeout(0ms). if CQ completion does
    not thie progress Thread will keep spinning. Same applies for
    CM Thread.
    - Add Cq Burst read instead on 1 completion read.
    - in case of Eagain for send/write/read. add adaptive sleep
    delay to avoid udealy of some ms

Signed-off-by: Jeeja KP <jeeja.kp@intel.com>

    - This patch adds Adaptive sleep for progress Thread/control
    thread instead of while with timeout(0ms). if CQ completion does
    not thie progress Thread will keep spinning. Same applies for
    CM Thread.
    - Add Cq Burst read instead on 1 completion read.
    - in case of Eagain for send/write/read. add adaptive sleep
    delay to avoid udealy of some ms

Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Copy link

@jeromean jeromean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We would need to ensure EFA is not broken. Atleast, we can do it theoretically by confining our changes specific to verbs. I'll provide more comments once we understand the native progress thread of OFI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants