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

请问可不可以修改一下GC的逻辑以避免单次GC可能要处理多个扇区? #322

Open
littlewhitezkz opened this issue Oct 25, 2024 · 1 comment

Comments

@littlewhitezkz
Copy link

我注意到kv的操作中有活跃值的概念,完全可以效仿这一模式,也对扇区引入这一机制。用活跃度来衡量扇区变成dirty的时间。每次GC只处理一个活跃度最低的扇区。

@armink
Copy link
Owner

armink commented Oct 28, 2024

那有没有想过,如何更新每扇区的 dirty 值呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants