[FLINK-19710] Revert implementation of PerfContext back to __thread to avoid performance regression#19
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 |
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.