EdGarrity / SOS

Search for an Optimum Solution
1 stars 0 forks source link

Multi-Thread Does Not Converge #96

Open EdGarrity opened 5 years ago

EdGarrity commented 5 years ago

Single-Thread performed much better than Multi-Thread. MT started with a 450M error and did not vary much for 110 generations. ST started at 450M but quickly dropped to about 10M. Need to investigate further and resolve this issue.

EdGarrity commented 5 years ago

Test Plan:

  1. Setup to record a trace of a Push execution. Record the contents of all stacks after each instruction is executed. Save the trace to the database.
  2. Setup to run 500 copies of the best individual from Test Case Feed Through (#105).
  3. Run two times, once Single-Threaded, once Multi-Threaded.
  4. Compare stack traces and results.
EdGarrity commented 5 years ago

The StaticInit class may need a complete rewrite. This class seems to have been created to hold the static objects. However, it does not appear thread-safe even though it is used by every thread which uses Push functions.