Mellanox / libxlio

Other
32 stars 18 forks source link

issue: 3777348 Socketxtreme completions ring pool #112

Closed AlexanderGrissik closed 5 months ago

AlexanderGrissik commented 5 months ago

Description

This PR is based on PR 111 (issue: 3777348 Improvements for TCP flow unnecessary cache access). This PR begins with commit: issue: 3777348 Adding lock_spin_simple for smaller space utilization

What

Introduce ring_ec pool on ring. A smaller number of ring_ec objects can serve all the sockets in most cases. Having socket request ring_ec objects from ring (The same as with tcp_seg) and return when no longer needed, improves cache utilization.

Why ?

Performance improvement.

Change type

What kind of change does this PR introduce?

Check list