Author Topic: [fixed]4194 Very bad performance for clients  (Read 1578 times)

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
[fixed]4194 Very bad performance for clients
« on: 17 March 2013, 01:23:14 »
We played  2 games  with 4 players. Both were very slow for the clients. The more units we had in game the more worse it was ( not a big number of  units maybe 300-400 ) . But for the server all was smooth!.
I for myself saw only 25 fps, but it was nearly unplayable because the movement of the units was too choppy.  It was like always freeze and trying to catch up followed by each other.

It looked like the computer was waiting for something ( thread/mutex problems ).  I don't think he was waiting for messages in this moment because I did not had many lines on the console about "waiting for message" .

In the last game I saw this on my console, but I think it doesnt matter:
(click to show/hide)

After these two games we tried the same with 3.7.1
I nearly never fall below 200 fps there and the commmanding of units was more responsive too .

« Last Edit: 18 April 2013, 18:28:25 by titi »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: 4194 Very bad performance for clients
« Reply #1 on: 20 March 2013, 00:50:45 »
If this happens again please save the game and post the saved game file so that I can reproduce this same.

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: 4194 Very bad performance for clients
« Reply #2 on: 20 March 2013, 09:31:14 »
There is nothing special to save, it happened (happens?) everytime to me if I am a client in 4 network players  game hosted by tomreyn. Directly when the game starts its slow and it gets a bit worse later in game. So it should be easy to reproduce with 4 players ( but not in local lan you need a bit "delay").

( sadly I am not there this evening, as my son makes a LAN-party at home and I am a bit involved :-D )
« Last Edit: 20 March 2013, 09:52:32 by titi »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: 4194 Very bad performance for clients
« Reply #3 on: 23 March 2013, 23:45:30 »
We tested a bit and we have some improvements now.

A problem we still see is, server and client in same LAN.  Just start the game and on client its choppy :-/ .
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: 4194 Very bad performance for clients
« Reply #4 on: 16 April 2013, 05:09:45 »
Is this still a problem?

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: 4194 Very bad performance for clients
« Reply #5 on: 16 April 2013, 09:09:12 »
I need to verify again when I am at home, but I think its fixed.
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: [fixed]4194 Very bad performance for clients
« Reply #6 on: 18 April 2013, 18:28:46 »
thats definitly fixed now.
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios