-
Notifications
You must be signed in to change notification settings - Fork 726
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
pd CPU jitter every 5s #8674
Labels
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-8.1
This bug affects the 8.1.x(LTS) versions.
severity/major
type/bug
The issue is confirmed as a bug.
Comments
rleungx
added
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-8.1
This bug affects the 8.1.x(LTS) versions.
severity/major
labels
Sep 29, 2024
ti-chi-bot
pushed a commit
to ti-chi-bot/pd
that referenced
this issue
Oct 18, 2024
close tikv#8674 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
ti-chi-bot
pushed a commit
to ti-chi-bot/pd
that referenced
this issue
Oct 18, 2024
close tikv#8674 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
ti-chi-bot
pushed a commit
to ti-chi-bot/pd
that referenced
this issue
Oct 18, 2024
close tikv#8674 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-8.1
This bug affects the 8.1.x(LTS) versions.
severity/major
type/bug
The issue is confirmed as a bug.
Bug Report
What did you do?
I create IM empty tables
create table t (id int)
What did you expect to see?
CPU usage stable
What did you see instead?
On average, the CPU usage is about 200%+
PD server CPU usage jitter every 5s, between 0~700%
Attached is the cpu and heap profile:
pprof.pd-server.samples.cpu.012.pb.gz
pprof.pd-server.alloc_objects.alloc_space.inuse_objects.inuse_space.019.pb.gz
If we can avoid the
rand.NewSource
call, maybe we can save a lotWhat version of PD are you using (
pd-server -V
)?The text was updated successfully, but these errors were encountered: