Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

v5.1.0 - lightning - low cpu usage #1326

Open
glkappe opened this issue Jul 7, 2021 · 2 comments
Open

v5.1.0 - lightning - low cpu usage #1326

glkappe opened this issue Jul 7, 2021 · 2 comments

Comments

@glkappe
Copy link

glkappe commented Jul 7, 2021

tidb:v5.0.3
lightning: v5.1.0
single table、single lightning process
data scale source file count 34w,dump files size is 3.2TB

in lightning log, 「engine close start」
During this time there are many "engine close start" and no "engine close compacted", and no "restore file start"

image

Please help explain this phenomenon and explain the principle

@glkappe glkappe added the type/bug Something isn't working label Jul 7, 2021
@glkappe
Copy link
Author

glkappe commented Jul 7, 2021

@glorv

@sleepymole
Copy link
Contributor

Lightning doesn't guarantee to utilize 100% of the cpu. So this issue should be an enhancement.

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

No branches or pull requests

5 participants