Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Programming Threads > Re: new multico...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 11 of 16 Topic 4019 of 4146
Post > Topic >>

Re: new multicore programming docs for GCC and Visual Studio

by "Dmitriy V'jukov" <dvyukov@[EMAIL PROTECTED] > Sep 29, 2008 at 05:35 AM

On Sep 29, 4:23=A0pm, "Chris M. Thomasson" <n...@[EMAIL PROTECTED]
> wrote:

> >> Are you using something like the algorithm in TBB?
>
> >http://publications.csail.mit.edu/lcs/pubs/pdf/MIT-LCS-TM-548.pdf
>
> > TBB is based on MIT's Cilk work:
>
>http://www.cilk.com/multicore-blog/bid/5607/Cilk-Wins-Most-Influentia...
>
> How does the internal low-level impl compare to the following:
>
> http://www.cs.bgu.ac.il/~hendlerd/papers/dynamic-size-deque.pdf
>
> I am looking for raw pseudo-code for atomic deque internal impl
details..=
..
> AFAICT, this work from SUN would scale better than Clik. Please correct
m=
e
> if I am way off base here. It seems like spawning a successor thread has
> overheads... Humm. Pleas try to bear with me here; okay? Correct my
> ignorance on Clik's work-stealing internal impl... Well, let me pick an
i=
mpl
> to focus on... Say, DEC Alpha?


AFAIK, in early days Cilk's work-stealing deque used mutex-based
pop(). But I remember there was some mentions of non-blocking
algorithms in the Cilk's papers, something like "some people point us
that it's possible to implement work-stealing deque in completely non-
blocking manner". And I don't know whether non-blocking deque was
finally incor****ated into Cilk.

If mutex is spin-mutex (i.e. there is only 1 atomic RMW per lock/
unlock) and stealing is rare, then mutex-based deque is nearly the
same as non-blocking deque with 1 RMW... provided that push() doesn't
use mutex. And provided that atomic RMW has the same cost as StoreLoad
memory fence (x86).


Dmitriy V'jukov
 




 16 Posts in Topic:
new multicore programming docs for GCC and Visual Studio
"cynko" <sie  2008-09-12 07:09:01 
Re: new multicore programming docs for GCC and Visual Studio
"Dmitriy V'jukov&quo  2008-09-12 06:27:57 
Re: new multicore programming docs for GCC and Visual Studio
"cynko" <sie  2008-09-16 21:50:09 
Re: new multicore programming docs for GCC and Visual Studio
"Chris M. Thomasson&  2008-09-19 02:23:55 
Re: new multicore programming docs for GCC and Visual Studio
"gremlin" <g  2008-09-28 12:13:07 
Re: new multicore programming docs for GCC and Visual Studio
"Chris M. Thomasson&  2008-09-28 14:20:48 
Re: new multicore programming docs for GCC and Visual Studio
"Chris M. Thomasson&  2008-09-28 14:23:00 
Re: new multicore programming docs for GCC and Visual Studio
"gremlin" <g  2008-09-29 07:43:44 
Re: new multicore programming docs for GCC and Visual Studio
"Chris M. Thomasson&  2008-09-29 05:23:10 
Re: new multicore programming docs for GCC and Visual Studio
"Chris M. Thomasson&  2008-09-29 05:25:23 
Re: new multicore programming docs for GCC and Visual Studio
"Dmitriy V'jukov&quo  2008-09-29 05:35:27 
Re: new multicore programming docs for GCC and Visual Studio
"Chris M. Thomasson&  2008-09-29 06:02:31 
Re: new multicore programming docs for GCC and Visual Studio
Jean-Marc Desperrier <  2008-09-29 19:43:26 
Re: new multicore programming docs for GCC and Visual Studio
"Dmitriy V'jukov&quo  2008-09-29 06:06:53 
Re: new multicore programming docs for GCC and Visual Studio
"Chris M. Thomasson&  2008-09-30 03:01:54 
Re: new multicore programming docs for GCC and Visual Studio
"Chris M. Thomasson&  2008-09-30 03:09:57 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 9:26:31 CST 2008.