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

libcommon: Provide RSS details metrics #9218

Merged
merged 4 commits into from
Aug 26, 2024

Conversation

EricZequan
Copy link
Contributor

@EricZequan EricZequan commented Jul 11, 2024

What problem does this PR solve?

Issue Number: ref #9032

Problem Summary:

What is changed and how it works?

Provide detailed RSS metrics (since Linux 4.5), so that we can learn mmap RSS usage. This is important for Vector Search.

Note: After this PR, libprocess_metrics is always used no matter TiFlash proxy is enabled or not. But it will not produce duplicated metrics and only provide extra metrics (like RSS details) when TiFlash proxy is enabled.

img_v3_02e4_65050200-e44f-4551-8c20-e34e96e41bcg

Linux 4.5 is shipped with these distributions:

  • Ubuntu 18.04 LTS
  • CentOS 8.0

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

None

Signed-off-by: “EricZequan” <[email protected]>
@ti-chi-bot ti-chi-bot bot added do-not-merge/needs-linked-issue release-note-none Denotes a PR that doesn't merit a release note. labels Jul 11, 2024
@sre-bot
Copy link
Collaborator

sre-bot commented Jul 11, 2024

CLA assistant check
All committers have signed the CLA.

@ti-chi-bot ti-chi-bot bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Jul 11, 2024
Signed-off-by: “EricZequan” <[email protected]>
Signed-off-by: “EricZequan” <[email protected]>
@ti-chi-bot ti-chi-bot bot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jul 12, 2024
@EricZequan EricZequan changed the title cherry-pick test libcommon: Provide RSS details metrics Jul 12, 2024
@Lloyd-Pottiger Lloyd-Pottiger changed the base branch from master to feature/vector-index August 26, 2024 03:28
@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Aug 26, 2024
@Lloyd-Pottiger
Copy link
Contributor

/retest

@Lloyd-Pottiger Lloyd-Pottiger changed the base branch from feature/vector-index to master August 26, 2024 06:27
Copy link
Contributor

ti-chi-bot bot commented Aug 26, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JaySon-Huang, Lloyd-Pottiger

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [JaySon-Huang,Lloyd-Pottiger]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Aug 26, 2024
Copy link
Contributor

ti-chi-bot bot commented Aug 26, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-08-26 03:37:21.900432175 +0000 UTC m=+755037.034882288: ☑️ agreed by Lloyd-Pottiger.
  • 2024-08-26 06:46:45.061801399 +0000 UTC m=+766400.196251523: ☑️ agreed by JaySon-Huang.

@ti-chi-bot ti-chi-bot bot merged commit bfb8c5d into pingcap:master Aug 26, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm release-note-none Denotes a PR that doesn't merit a release note. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants