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

Further reduce the aggressiveness of the keys eviction fiber #421

Merged

Conversation

danielealbano
Copy link
Owner

@danielealbano danielealbano commented May 28, 2023

This PR further reduce the aggressiveness of the keys eviction fiber running only once every 5ms instead of every 2ms.

This will not really impact significantly the amount of keys to be purged as the fiber does up to 100 loops to try to reduce the amount of inserted keys, infact the fiber will still free keys for up to 100 iterations for each run and will free 8 keys for each iteration, therefore in a second it might still free 100000 keys per thread, which is plenty without impacting on the performances.

@danielealbano danielealbano added the bug Something isn't working label May 28, 2023
@danielealbano danielealbano added this to the v0.4 milestone May 28, 2023
@danielealbano danielealbano self-assigned this May 28, 2023
@danielealbano danielealbano added this to In Progress in cachegrand via automation May 28, 2023
@danielealbano danielealbano enabled auto-merge (squash) May 28, 2023 11:46
@danielealbano danielealbano merged commit bec26a4 into main May 28, 2023
5 checks passed
cachegrand automation moved this from In Progress to Completed May 28, 2023
@danielealbano danielealbano deleted the bug-further-reduce-keys-eviction-fiber-aggressiviness branch May 28, 2023 11:51
Valkyrie00 added a commit that referenced this pull request Jun 1, 2023
* main: (27 commits)
  Bug fix aarch64 build issue (#427)
  Further increase to 7.5s the tls receive before the handshake is completed (#426)
  Bug fix tls redis benchmark (#425)
  Fix tls handshake wait blocks listener accept (#424)
  Disable required authentication by default (#423)
  Distinguish between failures during prep or during processing (#422)
  Further reduce the aggressiveness of the keys eviction fiber (#421)
  Bug catch negative counters (#420)
  Implement additional test for disabled commands (#419)
  Reduce the aggressiveness of the keys eviction fiber (#418)
  Impl commands disable (#417)
  Fix hashtable locking (#415)
  The entry index can be deleted once set in the hashtable (#416)
  Ensure that the hashtable for the redis commands is large enough (#414)
  Implement PING inline tests (#413)
  Add support for the PING command over the inline protocol (#412)
  Zero memory when upsize args list (#411)
  Implement Redis config get command (#410)
  Enforce TTL (#409)
  Fix the Redis module doc header (#408)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
cachegrand
  
Completed
Development

Successfully merging this pull request may close these issues.

None yet

1 participant