Announcement

Collapse
No announcement yet.

Multi-Threading Two Wiki Tutorials and a Video, Enjoy!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Multi-Threading Two Wiki Tutorials and a Video, Enjoy!

    Dear Community,

    I have two wiki tutorials on multi threading now!

    1. Actual Multi Threading for Large Tasks

    This is a tutorial on creating actual new threads that will run until they are requested to stop!

    To put this in perspective, the entire Render Thread is one such thread, as I am showing you how to create below!

    I had great performance gains from creating an actual thread to compute the first 50,000 prime numbers. My fps stayed at solid 90 (my personal chosen max) the whole time!

    https://wiki.unrealengine.com/Multi-...n_UE4#Overview


    2. Using the UE4 Task Graph System to perform a bunch of smaller tasks

    If you have a bunch of small tasks to be handled outside of game thread then the Task Graph system is ideal!

    https://wiki.unrealengine.com/Multi-...k_Graph_System


    3. Video

    In this video I am computing the first 50,000 prime numbers while continuing to play in the Game thread!

    This used my slower method of the Task Graph system (I created 50,000 tasks, one for each prime to find )

    The performance of actually creating a dedicated thread is incredibly much better than what I did below

    The video shows you the overall result though, of being able to compute large quantities of data while still playing in the Game Thread



    Enjoy!

    Rama
    Last edited by Rama; 04-22-2014, 06:23 PM.
    UE4 Marketplace: Melee Weapon Plugin & Compressed Binary Save System Plugin | Rama's C++ AI Jumping Videos | Vertex Snap Editor Plugin

    ♥ Rama

    #2
    bump Multi-threading 4 you

    Rama
    UE4 Marketplace: Melee Weapon Plugin & Compressed Binary Save System Plugin | Rama's C++ AI Jumping Videos | Vertex Snap Editor Plugin

    ♥ Rama

    Comment

    Working...
    X