pengzhao-intel commented on issue #9744: Performance regression when 
OMP_NUM_THREADS environment variable is not set
URL: 
https://github.com/apache/incubator-mxnet/issues/9744#issuecomment-367873227
 
 
   Thanks, @cjolivier01,  I mean we set this environment in the code as 
OMP_NUM_THREADS.
   
   Actually, this setting is useful when hyperthreading is ON and we only want 
to run each thread in a physical core as below picture shown 
(KMP_AFFINITY=granularity=fine,compact,1,0).
   
   So, this environment will guide how to map thread into the physical core.
   https://software.intel.com/en-us/node/522691
   
   
   ![guid-80fda344-d8c1-4fea-b268-94f685d19c4c-imageid 
0abe3e2e-7a5a-4072-b22f-da7f72eb9a18](https://user-images.githubusercontent.com/22461308/36572333-23cebc60-1876-11e8-9fa8-11004a562ca8.jpg)
   **KMP_AFFINITY=granularity=fine,compact,1,0**
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to