Skip to content

Commit

Permalink
remove superfluous ABT_thread_yield() call
Browse files Browse the repository at this point in the history
improves ops/s by 2-3% in sequntial benchmarks
  • Loading branch information
carns committed Sep 17, 2024
1 parent 8645635 commit 967f205
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/margo-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1973,10 +1973,6 @@ void __margo_hg_progress_fn(void* foo)
ret = margo_internal_trigger(mid, 0, 1, &actual_count);
} while ((ret == HG_SUCCESS) && actual_count
&& !mid->hg_progress_shutdown_flag);
/* once we have processed callbacks, give the ES an opportunity to
* run other ULTs if it needs to.
*/
ABT_thread_yield();

/* Check to see if there are any runnable ULTs in the pool now. If
* so, then we yield here to allow them a chance to execute.
Expand Down

0 comments on commit 967f205

Please sign in to comment.