manish jaggi
manish jaggi
I am running ./runall.sh. The issue is not seen when run a single instance of workload.
>>Hi, does the issue still happen with the "-s" flag which disables the SCHED_FIFO setting? No. Test completes without hanging
>> It should be close to the number of requested cores Yes. I havent seen with -s, anytime number of thread created < nthrds. So mainthread is not starved.
AFAIK, - main-thread and child thread 0 always runs on hw thread 0. - all child threads run on hw-thread0 and are then sets appropriate affinity and later get scheduled...
Tried this, and replaced below as well /* Spin until the "marshal" sets the appropriate bit */ wait64_yield(&sync_lock, (nthrds * 2) | 1); I think i missed one point, affinity...