k-i-d-d opened a new issue, #10583:
URL: https://github.com/apache/doris/issues/10583

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Description
   
   When load JSON, the tcmalloc hook takes about 15% of the CPU, and the actual 
load time increases by about 50%.
   
   
![image](https://user-images.githubusercontent.com/107781942/177100432-b3272d02-e2e2-4c90-afe1-66ebb6bacd4a.png)
   
   
![image](https://user-images.githubusercontent.com/107781942/177100486-5bcd8bc8-f71c-4c1c-a9a4-77664f527388.png)
   
   
   ### Solution
   
   TCmalloc hook is mainly divided into three parts time-consuming
   1. Hook itself and get alloc/free memory size
   2. Consume mem tracker
   3. get bthread thread local variable
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to