-
Notifications
You must be signed in to change notification settings - Fork 51
[FLINK-19710] Revert implementation of PerfContext back to __thread to avoid performance regression #19
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
Conversation
|
@Myasuka could you attach the performance data before / after this change / fix? Thanks |
|
Below is the experimental result after apply this fix on a linux machine with 500GB memory in total.
|
|
Thanks for the follow up @Myasuka , from the numbers we could see a stable performance gain for almost all cases of our state micro benchmark. |
|
The key performance regression is introduced by usage of |
…o avoid performance regression
99cee73 to
20e9e08
Compare
|
Thanks for opening the PR @Myasuka Could you write more details about why we need the other code removal? |
|
@azagrebin I also leave the |
azagrebin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the explanation @Myasuka LGTM
RocksDB introduce performance regression via replaced __thread with thread_local keyword.
This PR reverts
PerfContextback to__threadand abort some usage as it would not be used Flink.