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

use space low performance when get session and release frequently #2879

Closed
HarrisChu opened this issue Sep 16, 2021 · 2 comments
Closed

use space low performance when get session and release frequently #2879

HarrisChu opened this issue Sep 16, 2021 · 2 comments
Assignees
Labels
priority/hi-pri Priority: high type/bug Type: something is unexpected
Milestone

Comments

@HarrisChu
Copy link
Contributor

version v2.5.0

in stress test

  1. get session
  2. run use sf100;GO 1 STEP FROM 2608 OVER KNOWS
  3. then release the session.

concurrent 100.

latency p90 is 106196 us.


     ✓ IsSucceed

     █ setup

     █ teardown

     checks...............: 100.00% ✓ 68138      ✗ 0
     data_received........: 0 B     0 B/s
     data_sent............: 0 B     0 B/s
     iteration_duration...: avg=440.59ms     min=7.86ms med=167.36ms max=12.62s p(90)=1.23s    p(95)=1.93s
     iterations...........: 68138   225.940829/s
     latency..............: avg=73200.452347 min=2625   med=72990    max=165516 p(90)=106196   p(95)=114443.05
     responseTime.........: avg=74139.420764 min=3679   med=73915    max=166501 p(90)=107113.5 p(95)=115384.9
     vus..................: 100     min=0        max=100
     vus_max..............: 100     min=100      max=100

profile when running stress test.

(root@nebula) [sf100]> profile {use sf100}
Execution succeeded (time spent 81111/87323 us)

Execution Plan (optimize time 27 us)

-----+------------------------+--------------+-----------------------------------------------------+-------------------------------------------
| id | name                   | dependencies | profiling data                                      | operator info                            |
-----+------------------------+--------------+-----------------------------------------------------+-------------------------------------------
|  1 | RegisterSpaceToSession | 0            | ver: 0, rows: 0, execTime: 23us, totalTime: 80843us | outputVar: [                             |
|    |                        |              |                                                     |   {                                      |
|    |                        |              |                                                     |     "colNames": [],                      |
|    |                        |              |                                                     |     "type": "DATASET",                   |
|    |                        |              |                                                     |     "name": "__RegisterSpaceToSession_1" |
|    |                        |              |                                                     |   }                                      |
|    |                        |              |                                                     | ]                                        |
|    |                        |              |                                                     | inputVar:                                |
|    |                        |              |                                                     | space: sf100                             |
-----+------------------------+--------------+-----------------------------------------------------+-------------------------------------------
|  0 | Start                  |              | ver: 0, rows: 0, execTime: 0us, totalTime: 19us     | outputVar: [                             |
|    |                        |              |                                                     |   {                                      |
|    |                        |              |                                                     |     "colNames": [],                      |
|    |                        |              |                                                     |     "type": "DATASET",                   |
|    |                        |              |                                                     |     "name": "__Start_0"                  |
|    |                        |              |                                                     |   }                                      |
|    |                        |              |                                                     | ]                                        |
-----+------------------------+--------------+-----------------------------------------------------+-------------------------------------------

Thu, 16 Sep 2021 10:51:18 CST

the meta leader disk io is high

image

@HarrisChu HarrisChu added the type/bug Type: something is unexpected label Sep 16, 2021
@Sophie-Xie Sophie-Xie added this to the v2.6.0 milestone Sep 17, 2021
@Sophie-Xie Sophie-Xie added the priority/hi-pri Priority: high label Sep 17, 2021
@Sophie-Xie
Copy link
Contributor

@CPWstatic discussed this issue with Forest and Harris, it will be resolved in next version.

@Sophie-Xie Sophie-Xie modified the milestones: v2.6.0, v2.7.0 Sep 22, 2021
@Sophie-Xie Sophie-Xie modified the milestones: v2.7.0, v3.0.0 Oct 15, 2021
@Sophie-Xie Sophie-Xie assigned Aiee and unassigned CPWstatic Oct 15, 2021
@Sophie-Xie Sophie-Xie modified the milestones: v3.0.0, v3.1.0 Dec 17, 2021
@HarrisChu
Copy link
Contributor Author

fixed in v2.6.0

only poor performance when create or delete session frequently

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/hi-pri Priority: high type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

4 participants