i have some questions for hyperthreading:
(icc + Linux)
1. why openmp? I call direct threads on linux c++ - pthread_create. icc it not optimize like via openmp command or is same?
2. how can i tune app for hyperthreading via thread stack problem. I read hint to change offset but what i realy must do? Change size via ulimit -s ?
3. I have lot of mutex_lock/mutex_unlock on int variables like ++, x=x+10 .... Have icc some specific atomic operation for it to prevent overhead with mutex_lock/unlock operation?
4. Optimizing for hyperthreading is default on on icc or i must enable it via some swich?