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

refactor the implementation of HashJoin to solve the false sharing problem #39061

Closed
XuHuaiyu opened this issue Nov 10, 2022 · 1 comment
Closed
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@XuHuaiyu
Copy link
Contributor

Enhancement

We've found many false sharing problems in HashJoin:

Split the HashJoin into build/probe workers to fix this problem is more elegant

@XuHuaiyu XuHuaiyu added the type/enhancement The issue or PR belongs to an enhancement. label Nov 10, 2022
ti-chi-bot pushed a commit that referenced this issue Nov 15, 2022
ti-chi-bot pushed a commit that referenced this issue Nov 17, 2022
ti-chi-bot pushed a commit that referenced this issue Nov 23, 2022
ti-chi-bot pushed a commit that referenced this issue Nov 29, 2022
ti-chi-bot pushed a commit that referenced this issue Dec 1, 2022
@XuHuaiyu XuHuaiyu closed this as completed Dec 2, 2022
@XuHuaiyu
Copy link
Contributor Author

XuHuaiyu commented Dec 9, 2022

Performance test results, you can see the improvement after this refactor. In the tidb_version column, None means without-refactor, 6.5.0 means with-refactor.
tpcds-tikv-50g gets 2.7% improvement, tpch-tikv-50g gets 3.9% improvement
20221209-133618

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

No branches or pull requests

1 participant