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

block-cache 这个参数的理解 #1090

Closed
isoleo opened this issue Sep 29, 2021 · 3 comments
Closed

block-cache 这个参数的理解 #1090

isoleo opened this issue Sep 29, 2021 · 3 comments
Labels
configuration how to set configuration in best practice

Comments

@isoleo
Copy link

isoleo commented Sep 29, 2021

block-cache 在配制文件里这个配制是8M。但是在wiki 里并没有看到这个参数 的解释。
这个参数调整前,数据量250G,内存只用了不到10G 。把这个参数调整大后,内存迅速就上来了。
可是io 并没有下来,依旧在90%以上甚至比调大之前的io压力更大。
这个参数是怎么理解呢?_

@leonjxchen
Copy link

这个值,你直接看rocksdb的文档可能更好

@kernelai
Copy link
Collaborator

kernelai commented Oct 8, 2021

这个值,你直接看rocksdb的文档可能更好

是的。这个就是rocksdb 的参数暴露。pika并未做任何优化。

@huadaonan
Copy link

这个要顶一下 很多内存暴涨问题来自这个参数的错误设定

@AlexStocks AlexStocks added the configuration how to set configuration in best practice label Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configuration how to set configuration in best practice
Projects
None yet
Development

No branches or pull requests

5 participants