You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2022/04/05 17:17:13 UTC

[GitHub] [trafficserver] c-taylor opened a new issue, #8781: Replace pthread_* calls with C11 thread_local

c-taylor opened a new issue, #8781:
URL: https://github.com/apache/trafficserver/issues/8781

   Under load you can see the pthread calls in the functions:
     `ink_thread_(key_create|setspecific|getspecific|key_delete)`
   
   Start to feature in perf traces.
   
   Please review and consider migrating native C11 `thread_local` which should be faster, and _may_ also be copy free.
   
   A good example of where this is currently observed is in `TSHttpTxnReenable`.
   
   ```
    92.40 │       mov    Thread::thread_data_key@@Base,%edi
     1.59 │       callq  pthread_getspecific@plt
   ```
   
   


-- 
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: issues-unsubscribe@trafficserver.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [trafficserver] masaori335 commented on issue #8781: Replace pthread_* calls with C++11 thread_local

Posted by GitBox <gi...@apache.org>.
masaori335 commented on issue #8781:
URL: https://github.com/apache/trafficserver/issues/8781#issuecomment-1099704044

   @cmcfarlen is working on this.


-- 
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: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [trafficserver] bryancall closed issue #8781: Replace pthread_* calls with C++11 thread_local

Posted by GitBox <gi...@apache.org>.
bryancall closed issue #8781: Replace pthread_* calls with C++11 thread_local
URL: https://github.com/apache/trafficserver/issues/8781


-- 
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: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org