majek / openonload

git import of openonload.org https://gist.github.com/majek/ae188ae72e63470652c9

Home Page:openonload.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The latency of ef_eventq_poll() is large

Roser-ZY opened this issue · comments

The latency periodically reaches to 2000ns ~ 3000ns, and when there is no event the latency is less than 100ns.
I put it into a dead loop to poll and I have no idea if I accomplish the function in a wrong way?

Thanks for help.

I have improve my codes and the latency is stable in most cases, but about 60s(sometimes less than 20s) there is a large latency in ef_vi_eventq_poll.
Is the ef_vi has some mechanism?

Were you able to fix this issue? @Roser-ZY