multithreading?

  • mniip
    1st May 2011 Developer 0 Permalink
    I saw somebody discussed multithreading
    But result was "later"
    But my SystemExplorer shows 3 threads
    And the most interesting is that my DelphiDebugger shows 2 threads
  • The-Con
    1st May 2011 Member 0 Permalink
    Well my system says TPT is running on both of my cores, but its not. It has the same speed/ FPS as it does with one core being used. I would like multi-threading, but I don't think it is implemented yet. According to an earlier thread, there was once an attempt on multi-threading, but it was never used in the official.
    As a process, TPT is set to run on both of my cores, yet it only ever shows that it is using 50% of the processor, never any more. I only get 40-50 FPS on a blank page.
  • Racer-Delux
    1st May 2011 Member 0 Permalink
    TPT has no multithreading support. For instance, I have a quad core processor. It uses exactly 25% of my total processor (on a laggy sim - 1 core). It shows slightly higher than 25% because system processes are included.


    It is not to likely multithreading support will happen soon, as it can easily break saves - not to mention the fact that it would be very hard to code.
  • The-Con
    1st May 2011 Member 0 Permalink
    There was primative multi-threading in older versions, however it was never enabled. I get this info. from a previous thread on multi-threading.

    https://powdertoy.co.uk/Discussions/Thread/View.html?Thread=6508&PageNum=0#Message=101079

  • Pilihp64
    1st May 2011 Developer 0 Permalink
    there is some new multi-threading that helps with the new gravity that was added, it's not used in a way that would make it run faster, just to prevent gravity from making it slower.
  • The-Con
    1st May 2011 Member 0 Permalink
    @cracker64 (View Post)
    ok. do you think there will ever be plans for multithreading (for the purpose of spead/ performance in general) in the future?