-
Notifications
You must be signed in to change notification settings - Fork 156
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
Infinity loop on select() sleep with VMA_SPEC=latency #1098
Comments
Hello @kc-eos I think that this behavior is described at https://github.com/Mellanox/libvma/blob/master/README#L629-L641 |
Hi @igor-ivanov , thanks for the reply. I also noticed the description, but I still can't believe that On the other hand, when looking at other
Based on the above descriptions, I think one could expect the call Could you please discuss this with the team again to check if this is really an expected behaviors and consider fixing it? One more thing: FYI, I tested the same program with an older version of libvma - 8.1.4, and it works fine without blocking the user thread!! |
@galnoam probably some degradation is reported. |
Hi @igor-ivanov & @galnoam , Merry Christmas!! May I know is there any update on this thread? |
@AlexanderGrissik, check the reported issue? |
Hi, I encountered an issue when integrating
libvma
with the Reuters library.I am running in the
latency
profile but it seems that the user thread was busy spinning and stuck insideStep to reproduce
After some investigation, I wrote a simple program to narrow down the usage and able to reproduce the issue:
Environment
Test result
Workaround
With some more trial-and-error, it seems that this issue can be workaround by disabling
VMA_SELECT_POLL_OS_FORCE
. i.e.However, by doing this will unset the other 2 parameters
VMA_SELECT_SKIP_OS
&VMA_SELECT_POLL_OS_RATIO
back to default value. Hence. my question:VMA_SELECT_SKIP_OS
&VMA_SELECT_POLL_OS_RATIO
?The text was updated successfully, but these errors were encountered: