dplyukhin / UIGC

A garbage collector for Akka actors!
Other
4 stars 2 forks source link

GC Frequency #43

Open dplyukhin opened 1 year ago

dplyukhin commented 1 year ago

Right now, CRGC runs at fixed intervals. This can mean that the GC doesn't run often enough (if memory is allocated very fast) or too often (if memory is allocated slowly). Using techniques like control theory, it's possible to do better.

First steps:

  1. Watch this talk: https://twitter.com/MadhavJivrajani/status/1590509215206232071
  2. Check out this proposal: https://go.googlesource.com/proposal/+/master/design/44167-gc-pacer-redesign.md
  3. Think about an approach to configure GC frequency and how to validate it.