msquic icon indicating copy to clipboard operation
msquic copied to clipboard

XDP should use all available logical processors for user mode operation

Open srsubra opened this issue 2 years ago • 1 comments

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

srsubra avatar Mar 20 '23 17:03 srsubra

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

mtfriesen avatar Feb 23 '25 22:02 mtfriesen