PlaneShift

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Engine
  • Assigned To
    Mike Gist
  • Operating System
  • Severity Critical
  • Priority
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: PlaneShift
Opened by Loyni - 02.04.2009
Last edited by Loyni - 05.04.2009

FS#2853 - Client(trunk) hangs while loading on single core systems

The client hangs while loading on single core systems.
This seems to be a threading issue.
The loading thread seems to starve, since it’s low priority.

Closed by  Loyni
05.04.2009 20:34
Reason for closing:  
Additional comments about closing:  

Information about the threading code might be a bit clearer, as it took me a few weeks to find out which setting to set. Maybe renaming ThreadManager.AlwaysRunNow would be a good idea so it is clear that setting it to true, does not mean running threading always, but exactly the opposite :)

Loyni commented on 02.04.2009 20:10

Assigning to Xordan, since he's working on it.

Mike Gist commented on 04.04.2009 08:32

Should be fixed in CS.

Loyni commented on 04.04.2009 16:56

The client still acts the same :(

Mike Gist commented on 04.04.2009 17:05

hmm, no idea then. Vornne tested for me and reported that there's no longer a problem.. can't think of anything else to try. :(

Loyni commented on 04.04.2009 23:28

Does "Threaded loading" option actually work?
non-threaded loading should be fine for such systems ;)

Mike Gist commented on 05.04.2009 03:40

yes it works, but it's only for map loading and it's set to non threaded by default.

Mike Gist commented on 05.04.2009 06:57

Adding this to psclient.cfg will disable threading entirely btw, so maybe try it.

ThreadManager.AlwaysRunNow = true

Loyni commented on 05.04.2009 20:31

That works Xordan :)

Mike Gist commented on 05.04.2009 20:56

I'll do one better and add an option into pslaunch.
The naming of that options makes good technical sense, maybe not if you don't know exactly what it does :)

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing