Reply To: req: Multithreading – performance issu large map

Home Forums General Discussion req: Multithreading – performance issu large map Reply To: req: Multithreading – performance issu large map

#15545
eis_os
Participant

I did a assembler code analysis, albeit on the Windows Version, so I have a pretty good understanding.

Sure. Thread 2 runs in parallel and will finish it’s calculation (in background). Then the thread will sleep until thread 1 joins thread 2. (= Waiting for thread 2 to be finished) If thread 2 isn’t finished yet, you get a full stop for thread 1. You see a freeze.
The windows and linux version are almost identical. I am actually used the debug data from the linux version to understand the windows version.

Some Ascii Art:

http://www.train-fever.net/index.php/Thread/2135-Was-macht-TF-Intern-und-warum-es-ruckelt/?postID=31877#post31877

Ascii Art 1 & 2 shows the gane time progressing from left to right, first is a month freeze compared to a GPU problem in Ascii Art 1.  Ascii Art 3 shows a normal join between Frames at month ends. Ascii Art 4 if a join can’t fit anymore in a frame because GPU commands eat all time already.

Sidenote: I wish I could directly work on the code to fix these bugs and performance problems.

  • This reply was modified 9 years, 4 months ago by eis_os.
  • This reply was modified 9 years, 4 months ago by eis_os.