Skip to content
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

JIT: scalable profile counter mode #84427

Merged
merged 8 commits into from
Apr 9, 2023

Commits on Apr 6, 2023

  1. JIT: scalable profile counter mode

    Add an config option to use a "scalable" profile helper for edge counters,
    where we try and avoid contention by probablistic updates once the counter
    value exceeds some threshold (currently 8192). Using the current xorshift
    RNG this gives the counter a two-sigma accuracy of around +/- 2%.
    
    The idea is loosely based on "Scalable Statistics Counters" by Dice, Lev,
    and Moir (SPAA’13).
    
    Also allow the scalable and interlocked profile modes to operate at the same
    time, recording two sets of counts per probe, so we can verify that this new mode
    is sufficiently accurate.
    AndyAyersMS committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    3f020d7 View commit details
    Browse the repository at this point in the history
  2. fix build

    AndyAyersMS committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    04482c8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ddc9178 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    150becd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8487b01 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2023

  1. review feedback

    AndyAyersMS committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    3cd2165 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2023

  1. merge main

    AndyAyersMS committed Apr 8, 2023
    Configuration menu
    Copy the full SHA
    73fa997 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2023

  1. merge main

    AndyAyersMS committed Apr 9, 2023
    Configuration menu
    Copy the full SHA
    a83205e View commit details
    Browse the repository at this point in the history