-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Ligthtning : Increase io size(BlockSize) of pebble DB #45037
Comments
I am trying changing the lightning code and see if it improves the performance. |
It's a good suggestion! Increasing the block size may have other effects such as higher memory consumption, we will think about it thoroughly. |
Hi, I have done the experiments internally by making the code changes. Performance improved 2X times. Bottleneck moved from network to disk. Will it be ok to you if i make the changes and upstream it. I will add it as an option controlled through configuration.toml file |
@mittalrishabh can you upload logs before/after change the code? and what's the iops/throughput config of lighting EBS? and can you share info about your data set:
|
I can run the experiment again to collect the logs. I will share the document with you for other details |
Hi, we think we can add a configuration item like
|
Enhancement
Well, recently, I got a question that's if we have any option to increase io size of pebble DB.
I found here is the only area changing something about LevelOptions. So, untill now, Tidb-lightning hasn't had a way to control it.
What the user want is when they are hiting the IOPS limit of the EBS drives in read data from pebble into SSTs of TiKV. In this way, "Pebble could relatively read more data at once to reduce iops"
more info --> https://pingcap.zendesk.com/agent/tickets/1896
The text was updated successfully, but these errors were encountered: