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/2012/2015/2017, XCODE 6.4** 8 9## Commercial games using Task Scheduler 10 11- Skyforge (PC, PS4, X1) 12 13## Build status 14 15Linux + OS X 16 17 18Windows 19 20 21 22 23## Useful reading (in random order): 24 25Parallelizing the Naughty Dog engine using fibers by Christian Gyrling 26 27http://www.swedishcoding.com/wp-content/uploads/2015/03/parallelizing_the_naughty_dog_engine_using_fibers.pdf 28 29id Tech 5 Challenges 30From Texture Virtualization to Massive Parallelization by J.M.P. van Waveren 31 32http://s09.idav.ucdavis.edu/talks/05-JP_id_Tech_5_Challenges.pdf 33 34Doom3 BFG Source Code Review: Multi-threading by Fabien Sanglard 35 36http://fabiensanglard.net/doom3_bfg/threading.php 37 38How Ubisoft Develops Games for Multicore - Before and After C++11 by Jeff Preshing 39 40http://www.youtube.com/watch?v=X1T3IQ4N-3g 41 42Killzone Shadow Fall: Threading the Entity Update on PS4 by Jorrit Rouwe 43 44http://www.slideshare.net/jrouwe/killzone-shadow-fall-threading-the-entity-update-on-ps4 45 46Killzone Shadow Fall Demo Postmortem by Michal Valient 47 48http://www.guerrilla-games.com/presentations/Valient_Killzone_Shadow_Fall_Demo_Postmortem.pdf 49 50Infamous Second Son : Engine Postmortem by Adrian Bentley 51 52http://adruab.net/wp-images/GDC14_infamous_second_son_engine_postmortem.pdf 53 54Multithreading the Entire Destiny Engine - GDC 2015 by Barry Genova 55 56http://www.gdcvault.com/play/1022164/Multithreading-the-Entire-Destiny (members only) 57http://chomikuj.pl/dexio21/GDC+2015/GDC+Vault+-+Multithreading+the+Entire+Destiny+Engine,4690817362.mp4%28video%29 58 59 60Intel Threading Building Blocks - Scheduling Algorithm 61 62https://www.threadingbuildingblocks.org/docs/help/reference/task_scheduler/scheduling_algorithm.htm 63 64CILK/CILK++ and Reducers 65 66http://www.slideshare.net/yunmingzhang/yunming-zhang-presentations 67 68Task Scheduling Strategies by Dmitry Vyukov 69 70http://www.1024cores.net/home/scalable-architecture/task-scheduling-strategies 71 72Implementing a Work-Stealing Task Scheduler on the ARM11 MPCore 73 74http://www.rtcgroup.com/arm/2007/presentations/211%20-%20Implementing%20a%20Work-Stealing%20Task%20Scheduler.pdf 75 76Lost Planet graphics course for 3D game fan of Nishikawa Zenji 77 78http://game.watch.impress.co.jp/docs/20070131/3dlp.htm 79 80Dragged Kicking and Screaming: Source Multicore by Tom Leonard 81 82http://www.valvesoftware.com/publications/2007/GDC2007_SourceMulticore.pdf 83 84Games: Playing with Threads by Ben Nicholson 85 86http://www2.epcc.ed.ac.uk/downloads/lectures/BenNicholson/BenNicholson.pdf 87 88Work Stealing by Pablo Halpern 89 90https://github.com/CppCon/CppCon2015/tree/master/Presentations/Work%20Stealing 91 92Enki Task Scheduler by Doug Binks 93 94http://www.enkisoftware.com/devlogpost-20150822-1-Implementing_a_lightweight_task_scheduler.html 95 96http://www.enkisoftware.com/devlogpost-20150905-1-Internals_of_a_lightweight_task_scheduler.html 97 98Molecule Engine blog - Job System 2.0 by Stefan Reinalter 99 100http://blog.molecular-matters.com/2015/08/24/job-system-2-0-lock-free-work-stealing-part-1-basics/ 101 102http://blog.molecular-matters.com/2015/09/08/job-system-2-0-lock-free-work-stealing-part-2-a-specialized-allocator/ 103 104http://blog.molecular-matters.com/2015/09/25/job-system-2-0-lock-free-work-stealing-part-3-going-lock-free/ 105 106Molecule Engine blog - Building a load-balanced task scheduler by Stefan Reinalter 107 108http://blog.molecular-matters.com/2012/04/05/building-a-load-balanced-task-scheduler-part-1-basics/ 109 110http://blog.molecular-matters.com/2012/04/12/building-a-load-balanced-task-scheduler-part-2-task-model-relationships/ 111 112http://blog.molecular-matters.com/2012/04/25/building-a-load-balanced-task-scheduler-part-3-parent-child-relationships/ 113 114http://blog.molecular-matters.com/2012/07/09/building-a-load-balanced-task-scheduler-part-4-false-sharing/ 115 116Do-it-yourself Game Task Scheduling by Jerome Muffat-Meridol 117 118https://software.intel.com/en-us/articles/do-it-yourself-game-task-scheduling 119 120Acquire and Release Semantics by Jeff Preshing 121 122http://preshing.com/20120913/acquire-and-release-semantics/ 123 124Lockless Programming Considerations for Xbox 360 and Microsoft Windows 125 126https://msdn.microsoft.com/en-us/library/windows/desktop/ee418650(v=vs.85).aspx 127 128C/C++11 mappings to processors by Peter Sewell 129 130https://www.cl.cam.ac.uk/~pes20/cpp/cpp0xmappings.html 131 132Memory Ordering in Modern Microprocessors, Part I by Paul E. McKenney 133http://www.linuxjournal.com/node/8211/print 134 135Memory Ordering in Modern Microprocessors, Part II by Paul E. McKenney 136http://www.linuxjournal.com/node/8212/print 137