Skip to content

XDP should use all available logical processors for user mode operation #3524

@srsubra

Description

@srsubra

Describe the feature you'd like supported

During a recent test with QTIP, it was observed that the system had 4 logical processors
image

but XDP user mode polling seems to happen only for 2 of them leaving the other two underutilized as shown below

image

Proposed solution

XDP should leverage all available logical processors for user mode polling to maximize the perf.

Additional context

No response

Activity

added this to the Release 2.3 milestone on Mar 20, 2023
moved this to Should be written in MsQuic Walkthroughson May 8, 2023
modified the milestones: Release 2.5, Future on Jan 28, 2025
mtfriesen

mtfriesen commented on Feb 23, 2025

@mtfriesen
Contributor

@nibanks this machine has two cores eligible for RSS and was using those two cores according to the screenshots above. Is the ask to use hyperthreading cores for RSS or to spread the QUIC workers beyond the number of RSS cores?

For context, the default NDIS policy is to only allow RSS on physical processors, not on any additional logical processors on the system. XDP can override this (I think) but the original NDIS policy was based on measurements years ago showing no significant benefit for RSS on hyperthreading cores.

moved this from Planned to In Progress in DPT Iteration Trackeron Feb 25, 2025
linked a pull request that will close this issue on Feb 27, 2025
moved this from In Progress to Slipped in DPT Iteration Trackeron Mar 3, 2025
moved this from Slipped to No status in DPT Iteration Trackeron Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Area: LolaRelated to low latency workPartner: SQLBy or For the SQL teamfeature requestA request for new functionality

Type

Projects

Status

No status

Relationships

None yet

    Development

    Participants

    @mtfriesen@nibanks@srsubra

    Issue actions

      XDP should use all available logical processors for user mode operation · Issue #3524 · microsoft/msquic