digitalmars.D.learn - Does D programming language have work steal queue?
- zoujiaqing (2/2) May 22 2022 Does D language have task steal queue?
- zoujiaqing (3/6) May 22 2022 I think the final usage scenario is similar to this C++ project:
- zoujiaqing (10/16) May 22 2022 This project implements many of the ideas in (available in
- Stefan Koch (6/9) May 22 2022 I have one called fluffy:
- mw (2/11) May 22 2022
- Stefan Koch (3/16) May 22 2022 Looks like I had the repo set to private.
- zoujiaqing (2/11) May 23 2022 Thanks ;)
- mw (6/9) May 22 2022 I have a C's liblfds D wrapper:
- zoujiaqing (3/12) May 23 2022 Thanks :)
Does D language have task steal queue? The requirements are high-performance, lock-free, and thread-safe.
May 22 2022
On Sunday, 22 May 2022 at 21:07:19 UTC, zoujiaqing wrote:Does D language have task steal queue? The requirements are high-performance, lock-free, and thread-safe.I think the final usage scenario is similar to this C++ project: https://github.com/ConorWilliams/Forkpool
May 22 2022
On Sunday, 22 May 2022 at 21:23:24 UTC, zoujiaqing wrote:On Sunday, 22 May 2022 at 21:07:19 UTC, zoujiaqing wrote:This project implements many of the ideas in (available in reference/): * F. Schmaus et al., “Nowa: A Wait-Free Continuation-Stealing Concurrency Platform”. In: 2021 IEEE International Parallel and Distributed Processing Symposium (IPDPS). 2021. * C. -X. Lin, T. -W. Huang and M. D. F. Wong, "An Efficient Work-Stealing Scheduler for Task Dependency Graph," 2020 IEEE 26th International Conference on Parallel and Distributed Systems (ICPADS), 2020, pp. 64-71, doi: 10.1109/ICPADS51040.2020.00018.Does D language have task steal queue? The requirements are high-performance, lock-free, and thread-safe.I think the final usage scenario is similar to this C++ project: https://github.com/ConorWilliams/Forkpool
May 22 2022
On Sunday, 22 May 2022 at 21:07:19 UTC, zoujiaqing wrote:Does D language have task steal queue? The requirements are high-performance, lock-free, and thread-safe.I have one called fluffy: https://github.com/UplinkCoder/fluffy I am not 100% sure about the performance I did try to make it reasonable but in the absence of anything else it might be jumping off point for you.
May 22 2022
On Sunday, 22 May 2022 at 22:37:43 UTC, Stefan Koch wrote:On Sunday, 22 May 2022 at 21:07:19 UTC, zoujiaqing wrote:The git link 404?Does D language have task steal queue? The requirements are high-performance, lock-free, and thread-safe.I have one called fluffy: https://github.com/UplinkCoder/fluffyI am not 100% sure about the performance I did try to make it reasonable but in the absence of anything else it might be jumping off point for you.
May 22 2022
On Sunday, 22 May 2022 at 23:35:11 UTC, mw wrote:On Sunday, 22 May 2022 at 22:37:43 UTC, Stefan Koch wrote:Looks like I had the repo set to private. It should work now.On Sunday, 22 May 2022 at 21:07:19 UTC, zoujiaqing wrote:The git link 404?Does D language have task steal queue? The requirements are high-performance, lock-free, and thread-safe.I have one called fluffy: https://github.com/UplinkCoder/fluffyI am not 100% sure about the performance I did try to make it reasonable but in the absence of anything else it might be jumping off point for you.
May 22 2022
On Sunday, 22 May 2022 at 22:37:43 UTC, Stefan Koch wrote:On Sunday, 22 May 2022 at 21:07:19 UTC, zoujiaqing wrote:Thanks ;)Does D language have task steal queue? The requirements are high-performance, lock-free, and thread-safe.I have one called fluffy: https://github.com/UplinkCoder/fluffy I am not 100% sure about the performance I did try to make it reasonable but in the absence of anything else it might be jumping off point for you.
May 23 2022
On Sunday, 22 May 2022 at 21:07:19 UTC, zoujiaqing wrote:Does D language have task steal queue? The requirements are high-performance, lock-free, and thread-safe.I have a C's liblfds D wrapper: https://github.com/mw66/liblfdsd right now only bmm and bss queue are wrapped. It's not in dub yet, but I have been using it for a while, feel free to give it a try, or even send PRs :-)
May 22 2022
On Sunday, 22 May 2022 at 23:34:19 UTC, mw wrote:On Sunday, 22 May 2022 at 21:07:19 UTC, zoujiaqing wrote:Thanks :) I will try it.Does D language have task steal queue? The requirements are high-performance, lock-free, and thread-safe.I have a C's liblfds D wrapper: https://github.com/mw66/liblfdsd right now only bmm and bss queue are wrapped. It's not in dub yet, but I have been using it for a while, feel free to give it a try, or even send PRs :-)
May 23 2022
On Monday, 23 May 2022 at 23:07:00 UTC, zoujiaqing wrote:On Sunday, 22 May 2022 at 23:34:19 UTC, mw wrote:BTW, some very simple performance comparison with other D queues are here: https://github.com/mw66/liblfdsd/tree/master/comparisonOn Sunday, 22 May 2022 at 21:07:19 UTC, zoujiaqing wrote:Does D language have task steal queue? The requirements are high-performance, lock-free, and thread-safe.I have a C's liblfds D wrapper: https://github.com/mw66/liblfdsd right now only bmm and bss queue are wrapped. It's not in dub yet, but I have been using it for a while, feel free to give it a try, or even send PRs :-)
May 23 2022
I will try it.It's in dub now: https://code.dlang.org/packages/liblfdsd Also added queue_umm: unbounded,manyproducer,many_consumer, lock-free queue
Jun 04 2022