Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

high cache and branch misses on libvma #1099

Open
1 of 2 tasks
boranby opened this issue Dec 17, 2024 · 0 comments
Open
1 of 2 tasks

high cache and branch misses on libvma #1099

boranby opened this issue Dec 17, 2024 · 0 comments

Comments

@boranby
Copy link

boranby commented Dec 17, 2024

Subject

I ran perf record -B -e cache-references,cache-misses,cycles,instructions,branches,branch-misses,faults,migrations -C <core> on both my UDP multicast receiving and TCP recv/send threads.
I see a very high cache and branch misses, attaching their outputs to this issue.

UDP multicast (only recv)

cycles cache_references cache_misses branches branch_misses

TCP (recv & send)

cycles cache_references cache_misses branches branch_misses

Issue type

  • Bug report
  • Feature request

Configuration:

  • Product version libvma 9.8.6
  • OS RHEL 9.5
  • OFED 24.04-0.7.0
  • Hardware Mellanox MT2894 Family [ConnectX-6 Lx]

Actual behavior:

I run my app with LD_PRELOAD=libvma.so VMA_SPEC=latency VMA_RX_UDP_POLL_OS_RATIO=0 VMA_SELECT_POLL_OS_RATIO=0 VMA_TCP_QUICKACK=1 configs.

I see very high cache and branch misses on my setup. Pinned 8 cores for UDP multicast listening and pinned 2 cores for two different TCP connections.

Expected behavior:

Low cache and branch misses for better low latency performance.

Steps to reproduce:

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

No branches or pull requests

1 participant