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

Write stall cause memory usage peak #6332

Closed
Tracked by #6426
flowbehappy opened this issue Nov 18, 2022 · 2 comments
Closed
Tracked by #6426

Write stall cause memory usage peak #6332

flowbehappy opened this issue Nov 18, 2022 · 2 comments
Assignees
Labels
component/storage type/enhancement The issue or PR belongs to an enhancement.

Comments

@flowbehappy
Copy link
Contributor

flowbehappy commented Nov 18, 2022

Enhancement

Keep writing into an increasing PK(without shard_rows_bit) table with large throughput(over 15MB/s). The Avg_row_length is 1764.
Then try to restart tiflash:

  1. The memory peak is most significant after restarting.
  2. Write stall during the normal phase also causes high memory usage

c7d583e9-9417-4919-9acb-79f3b737708a
1504e39b-4f61-49a8-8e5b-8b7dd9492bb8

@flowbehappy flowbehappy added type/enhancement The issue or PR belongs to an enhancement. component/storage labels Nov 18, 2022
@flowbehappy
Copy link
Contributor Author

We need to change the default setting evict_cache_on_memory_ratio in tiflash proxy.

@hongyunyan
Copy link
Contributor

hongyunyan commented Dec 15, 2022

It's same as #6399, thus close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/storage type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

3 participants