You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should affinity of the thread be set before creating it ?
I see that at some point one of the thread is not creating which makes thead0 wait indefinitely.
This happens with high core count > 200
The text was updated successfully, but these errors were encountered:
lucasclucasdo
pushed a commit
to codeauroraforum/synchronization-benchmarks
that referenced
this issue
May 14, 2018
Set thread affinity to a particular hardware thread prior to thread
creation. This creates a potential disconnect between the start
order and the cpu on which the thread is running necessitating some
changes to the synchronized start code and the addition of a core
number thread argument in order to correctly index per-cpu variables
inside the locks algorithms.
FixesARM-software#16
Change-Id: Ia27d70e7d2875637a4ef1514e61636fc1b662698
The listed commit addresses this issue with what I think you are requesting. It seems to work fine on the systems to which I have access. Also, there is a new command-line option which should make the logical core number assignments behave in a more sensible order in case you're running on a 4 thread-per-core system (pass '-i 4' in this case). The threads still wait so delayed scheduling will still cause hangs; this feature is required to maximize the amount of time all requested cores are running simultaneously. Please test this out and let me know if it fixes your issue.
Should affinity of the thread be set before creating it ?
I see that at some point one of the thread is not creating which makes thead0 wait indefinitely.
This happens with high core count > 200
The text was updated successfully, but these errors were encountered: