Skip to content

Conversation

isaevil
Copy link
Contributor

@isaevil isaevil commented Feb 18, 2025

Description

Reset of stealing loop backoff is needed to lower a probability of a worker thread, leaving "block time" idle loop back to stealing loop (someone set arena's pool state to SET), to miss work coming as a result of work propagation. If not reset, it is possible that worker thread might not find any work and instead of trying to pause again it will immediately try to set arena pool state to UNSET.

Fixes # - issue number(s) if exists

Type of change

Choose one or multiple, leave empty if none of the other choices apply

Add a respective label(s) to PR if you have permissions

  • bug fix - change that fixes an issue
  • new feature - change that adds functionality
  • tests - change in tests
  • infrastructure - change in infrastructure and CI
  • documentation - documentation update

Tests

  • added - required for new features and some bug fixes
  • not needed

Documentation

  • updated in # - add PR number
  • needs to be updated
  • not needed

Breaks backward compatibility

  • Yes
  • No
  • Unknown

Notify the following users

List users with @ to send notifications

Other information

…tealing loop

Signed-off-by: Isaev, Ilya <ilya.isaev@intel.com>
@isaevil isaevil force-pushed the dev/isaevil/block_time_counter_reset branch from e7086e3 to 574975c Compare April 30, 2025 08:16
@isaevil isaevil marked this pull request as ready for review April 30, 2025 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant