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

Latency spike when inserting edge with batch size of 1024 #3466

Closed
kikimo opened this issue Dec 14, 2021 · 1 comment
Closed

Latency spike when inserting edge with batch size of 1024 #3466

kikimo opened this issue Dec 14, 2021 · 1 comment
Assignees
Labels
need info Solution: need more information (ex. can't reproduce) type/enhancement Type: make the code neat or more efficient
Milestone

Comments

@kikimo
Copy link
Contributor

kikimo commented Dec 14, 2021

Please check the FAQ documentation before raising an issue

We continue observed latency spike when inserting edge with batch size of 1024, latency spike 1086815 vs normal 48874 :

insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:47589 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:46583 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:47045 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:1028017 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:45934 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:46012 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:46351 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:47799 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:46490 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:46793 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:48733 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:47053 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:48381 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:47029 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:46681 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:48063 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:47839 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:45776 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:47882 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:46381 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:44486 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:46547 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:48080 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:49942 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:44523 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:45387 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:47456 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:54132 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:51732 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:44010 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:44960 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:45173 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:45391 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:45070 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:45224 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:44493 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:45363 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:44965 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:45112 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:43971 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:46546 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:45925 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:46701 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:45703 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:45014 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:44799 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:45026 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:44761 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:44723 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:45161 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:1086815 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:48874 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:46853 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:46113 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:45388 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:46788 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:45542 LatencyDetailUs:map[]})}), err: <nil>
insert resp: ExecResponse({Result_:ResponseCommon({FailedParts:[] LatencyInUs:44694 LatencyDetailUs:map[]})}), err: <nil>

Your Environments (required)

  • OS: uname -a
  • Compiler: g++ --version or clang++ --version
  • CPU: lscpu
  • Commit id (e.g. a3ffc7d8)

How To Reproduce(required)

Steps to reproduce the behavior:

  1. Step 1
  2. Step 2
  3. Step 3

Expected behavior

Additional context

@kikimo kikimo added the type/bug Type: something is unexpected label Dec 14, 2021
@Sophie-Xie Sophie-Xie added this to the v3.0.0 milestone Dec 14, 2021
@liuyu85cn
Copy link
Contributor

may be raft buffer related.

@Sophie-Xie Sophie-Xie assigned critical27 and unassigned liuyu85cn Dec 15, 2021
@critical27 critical27 added need info Solution: need more information (ex. can't reproduce) type/enhancement Type: make the code neat or more efficient and removed type/bug Type: something is unexpected labels Dec 28, 2021
@Sophie-Xie Sophie-Xie modified the milestones: v3.0.0, v3.1.0 Jan 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need info Solution: need more information (ex. can't reproduce) type/enhancement Type: make the code neat or more efficient
Projects
None yet
Development

No branches or pull requests

4 participants