hkaiser changed the topic of #ste||ar to: STE||AR: Systems Technology, Emergent Parallelism, and Algorithm Research | stellar-group.org | HPX: A cure for performance impaired parallel applications | github.com/STEllAR-GROUP/hpx | This channel is logged: irclog.cct.lsu.edu
<gnikunj[m]>
Aah, no that's not a way to "achieve" spinlock. It's to tell the CPU that the current execution code is part of a spinlock so the CPU can optimize it accordingly (for instance adding PAUSE instruction in case of x86 - see _mm_pause documentation)
<gnikunj[m]>
it saves a few CPU cycles by doing so and using the PAUSE instruction, you end up saving power too (since you do nothing)
<gonidelis[m]>
Who implements the spinlock if not hpx?
<gnikunj[m]>
I wanted to improve the performance of HPX locks and wrote some widely used spinlock techniques. You may want to do some testing on it and integrate things back to HPX :P
<gonidelis[m]>
never got merged?
<gonidelis[m]>
sounds interesting
<gonidelis[m]>
i mean integrated
<gonidelis[m]>
*
<gonidelis[m]>
^^
<gnikunj[m]>
I could never do in-depth performance analysis and the required updates to the implementation to actually integrate things back in HPX. The locks I implemented here reduces cache traffic.
<gonidelis[m]>
Niche
diehlpk_work has quit [Remote host closed the connection]