Hello Houjun,
Thank you for reporting a performance issue with data!
Unfortunately, I haven't experienced this issue. I checked the code, but it is hard to judge if the implementation of ABT_eventual_set is bad or not. As far as I checked the implementation of ABT_eventual_set, this function does not looks very optimized
(I mean, it uses a naive spinlock), but doe not seem very slow (I mean, it does not allocate memory every time).
In any case, this single operation should be finished within 1us or less (under no contention). I guess it might be caused by a scheduling issue or an affinity issue, but since the performance of this function has not been fully examined, the current implementation
might have some performance bugs. I could diagnose this problem more if you would give me more details.
Thank You,
Shintaro Iwasaki