xref: /TaskScheduler/README.md (revision 4a90b4a6)
1## About
2
3**Multithreaded task scheduler experiments.**
4
5**Written under the influence by great GDC talk "Parallelizing the Naughty Dog engine using fibers" by Christian Gyrling**
6
7Compiled and worked on : **Clang 3.4, GCC 4.8.2, MSVC 2010, XCODE 6.4**
8
9
10## Build status
11
12Linux + OS X
13![Travis build status](https://api.travis-ci.org/SergeyMakeev/TaskScheduler.svg?branch=master)
14
15Windows
16![Appveyor build status](https://ci.appveyor.com/api/projects/status/7o760ylay8mdplo6)
17
18
19
20## Useful reading (in random order):
21
22Parallelizing the Naughty Dog engine using fibers by Christian Gyrling
23
24http://www.swedishcoding.com/wp-content/uploads/2015/03/parallelizing_the_naughty_dog_engine_using_fibers.pdf
25
26id Tech 5 Challenges
27From Texture Virtualization to Massive Parallelization by J.M.P. van Waveren
28
29http://s09.idav.ucdavis.edu/talks/05-JP_id_Tech_5_Challenges.pdf
30
31Doom3 BFG Source Code Review: Multi-threading by Fabien Sanglard
32
33http://fabiensanglard.net/doom3_bfg/threading.php
34
35How Ubisoft Develops Games for Multicore - Before and After C++11 by Jeff Preshing
36
37http://www.youtube.com/watch?v=X1T3IQ4N-3g
38
39Killzone Shadow Fall: Threading the Entity Update on PS4 by Jorrit Rouwe
40
41http://www.slideshare.net/jrouwe/killzone-shadow-fall-threading-the-entity-update-on-ps4
42
43Killzone Shadow Fall Demo Postmortem by Michal Valient
44
45http://www.guerrilla-games.com/presentations/Valient_Killzone_Shadow_Fall_Demo_Postmortem.pdf
46
47Infamous Second Son : Engine Postmortem by Adrian Bentley
48
49http://adruab.net/wp-images/GDC14_infamous_second_son_engine_postmortem.pdf
50
51Multithreading the Entire Destiny Engine - GDC 2015 by Barry Genova
52
53http://www.gdcvault.com/play/1022164/Multithreading-the-Entire-Destiny (members only)
54http://chomikuj.pl/dexio21/GDC+2015/GDC+Vault+-+Multithreading+the+Entire+Destiny+Engine,4690817362.mp4%28video%29
55
56
57Intel Threading Building Blocks - Scheduling Algorithm
58
59https://www.threadingbuildingblocks.org/docs/help/reference/task_scheduler/scheduling_algorithm.htm
60
61CILK/CILK++ and Reducers
62
63http://www.slideshare.net/yunmingzhang/yunming-zhang-presentations
64
65Task Scheduling Strategies by Dmitry Vyukov
66
67http://www.1024cores.net/home/scalable-architecture/task-scheduling-strategies
68
69Implementing a Work-Stealing Task Scheduler on the ARM11 MPCore
70
71http://www.rtcgroup.com/arm/2007/presentations/211%20-%20Implementing%20a%20Work-Stealing%20Task%20Scheduler.pdf
72
73Lost Planet graphics course for 3D game fan of Nishikawa Zenji
74
75http://game.watch.impress.co.jp/docs/20070131/3dlp.htm
76
77Dragged Kicking and Screaming: Source Multicore by Tom Leonard
78
79http://www.valvesoftware.com/publications/2007/GDC2007_SourceMulticore.pdf
80
81Games: Playing with Threads by Ben Nicholson
82
83http://www2.epcc.ed.ac.uk/downloads/lectures/BenNicholson/BenNicholson.pdf
84
85Work Stealing by Pablo Halpern
86
87https://github.com/CppCon/CppCon2015/tree/master/Presentations/Work%20Stealing
88
89Enki Task Scheduler by Doug Binks
90
91http://www.enkisoftware.com/devlogpost-20150822-1-Implementing_a_lightweight_task_scheduler.html
92
93http://www.enkisoftware.com/devlogpost-20150905-1-Internals_of_a_lightweight_task_scheduler.html
94
95Molecule Engine blog - Job System 2.0 by Stefan Reinalter
96
97http://blog.molecular-matters.com/2015/08/24/job-system-2-0-lock-free-work-stealing-part-1-basics/
98
99http://blog.molecular-matters.com/2015/09/08/job-system-2-0-lock-free-work-stealing-part-2-a-specialized-allocator/
100
101http://blog.molecular-matters.com/2015/09/25/job-system-2-0-lock-free-work-stealing-part-3-going-lock-free/
102
103Molecule Engine blog - Building a load-balanced task scheduler by Stefan Reinalter
104
105http://blog.molecular-matters.com/2012/04/05/building-a-load-balanced-task-scheduler-part-1-basics/
106
107http://blog.molecular-matters.com/2012/04/12/building-a-load-balanced-task-scheduler-part-2-task-model-relationships/
108
109http://blog.molecular-matters.com/2012/04/25/building-a-load-balanced-task-scheduler-part-3-parent-child-relationships/
110
111http://blog.molecular-matters.com/2012/07/09/building-a-load-balanced-task-scheduler-part-4-false-sharing/
112
113Do-it-yourself Game Task Scheduling by Jerome Muffat-Meridol
114
115https://software.intel.com/en-us/articles/do-it-yourself-game-task-scheduling
116
117Acquire and Release Semantics
118
119http://preshing.com/20120913/acquire-and-release-semantics/