View Issue Details

IDProjectCategoryLast Update
0000851AI War 1 / ClassicBug - OtherOct 27, 2010 12:29 pm
ReporterDraco18s Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version3.905 
Summary0000851: Extreme Lag in Early Game?
DescriptionStarted a game with two others with 3.905 and a short time in creating our little backwater safezone the game started slowing down. We had someone else rehost, which averted the issue for a short while (better hardware?) but the game is still running at about half speed.

50 planet map, AI 7s, normal shipcap.

We can't figure out what's causing the slowdown. I've attached a save file as well as hardware specs of all three machines.
TagsNo tags attached.
Internal Weight

Activities

Draco18s

Oct 23, 2010 10:14 pm

developer  

aiwar_laggy.zip (239,268 bytes)

Chris_McElligottPark

Oct 24, 2010 12:42 pm

administrator   ~0002035

Hummm...

Well, I've loaded this up, and I'm getting the game running at full speed with 50fps draw. After a few minutes when the AI attacked Buweplau, it still stayed full speed but with the draw fps at 30. So there doesn't seem to be a bug inherent here, it must be either someone's hardware or the network connection not holding up when a bunch of orders are being given.

Suggestions:

1. If you think it's the network, you can increase the network skip to put less load on that while keeping the game speed up (but input will lag a bit).

2. Also if you think it's the network, and someone is on a wireless connection, it might be a good idea for them to go wired if they can. Wireless connections can be flaky.

3. During a period of lag, open the Players tab of the Stats window. There you'll see a lot of useful info, including what draw FPS everyone has, and what the overall game runtime speed is.

4. If someone has a super low FPS, then either their CPU or their GPU isn't keeping up with what's going on (and with the rest).

5. If everyone has a great FPS, but the game is still running slow, then you've got a network bottleneck.

6. The host can actually see a little (WAIT) message blinking in the status column per-player. Those are the players that execution is waiting on, and the longer the message blinks up there, the more they are causing it to lag. If the host sees no-one having WAIT messages, but it's still slow, then the host is the problem.

7. If the problem is with the CPU or the GPU for one or more players, then you'll want to use the Performance Profile on that same page. Anyone can adjust that, and it affects everyone. When you turn it down, the movement of ships will look more choppy, but it will lower the load on everyone's CPU and GPU, thus letting the game speed stay higher (hopefully realtime).

8. If the problem is with the CPU or the GPU just during big battles, you can always adjust up and down on the Performance Profile as needed. Most machines wouldn't need that, but it's helpful for ones that are borderline in some fashion (which none in the list you sent were, at all, but perhaps one of them had a lot of background processing going on).

In your specific case: I suspect network lag for someone.

Draco18s

Oct 24, 2010 1:17 pm

developer   ~0002036

1) We had network up to +10 with no appreciable difference.
2) I'd have to check on Cretel.
3) Can check
4) I think we all have reasonable GPUs, though we all had a CPU core maxed.
5) N/A
6) No wait messages that I'm aware of (though the location of that info has changed, so we should check to make sure)
7) Will do
8) It was pretty sluggish all around, not just combat.

And you're likely right, but thanks for the info on where to look for some of this profile info.

Chris_McElligottPark

Oct 24, 2010 2:22 pm

administrator   ~0002044

My pleasure. Let ms know how it goes, I'll be quite curious. I know in my alpha group, we have one player whose computer is good, but inexplicably runs slower than it should in general, not just for ai war. So we have to use the lower perf profiles in battles, which is a bit annoying, but not horrible. Then without him, we just run on very high all the time, even in huge fights. So it just takes one player to kind of drag it down for the rest, though the game is flexible enough now to still be playable in those circumstances thanks to the perf profiles.

Draco18s

Oct 24, 2010 3:15 pm

developer   ~0002048

I know our (second) host's hardware is better than mine, as I bought my current hardware off of him some years ago. It's been sufficient for anything I've cared to play thusfar (very long games of AI War 1.189 would eventually bog down, but generally we could do 80+ planet 20 hour games and this game was the new, "faster" version with only 50 planets).

Chris_McElligottPark

Oct 24, 2010 3:36 pm

administrator   ~0002051

Well, it is faster, but bear in mind that the different performance profiles put DRASTICALLY different load on your machines. I see you guys were playing on High, which puts a bit more load than the older versions.

Draco18s

Oct 24, 2010 5:48 pm

developer   ~0002059

I thought we were on a normal ship cap, but we might've changed that.
Anyway, thanks for taking a look at it. :)

Chris_McElligottPark

Oct 24, 2010 5:50 pm

administrator   ~0002061

Sorry, your performance profile was high, but your ship cap might have been normal; I didn't check.

Draco18s

Oct 24, 2010 5:58 pm

developer   ~0002064

No worries. We'll check FPS and stuff next time we play.

keith.lamothe

Oct 27, 2010 12:14 pm

administrator   ~0002224

Since this issue has been presumed fixed pending feedback for a while now, I'm optimistically marking this resolved :)

Draco18s

Oct 27, 2010 12:18 pm

developer   ~0002227

A while? It's been 3 days. :P
The three of us really only get a chance to play on weekends. But you're probably justified in closing it. ;) I'll re-open it if the suggestions don't work.

keith.lamothe

Oct 27, 2010 12:28 pm

administrator   ~0002228

Right now 3 days ago feels like a loooooong time ago ;)

But yea, please feel free to re-open if you see it again.

Draco18s

Oct 27, 2010 12:29 pm

developer   ~0002229

I know what you mean.

Issue History

Date Modified Username Field Change
Oct 23, 2010 10:14 pm Draco18s New Issue
Oct 23, 2010 10:14 pm Draco18s File Added: aiwar_laggy.zip
Oct 24, 2010 12:42 pm Chris_McElligottPark Note Added: 0002035
Oct 24, 2010 12:42 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Oct 24, 2010 12:42 pm Chris_McElligottPark Status new => feedback
Oct 24, 2010 1:17 pm Draco18s Note Added: 0002036
Oct 24, 2010 1:17 pm Draco18s Status feedback => assigned
Oct 24, 2010 2:22 pm Chris_McElligottPark Note Added: 0002044
Oct 24, 2010 3:15 pm Draco18s Note Added: 0002048
Oct 24, 2010 3:36 pm Chris_McElligottPark Note Added: 0002051
Oct 24, 2010 5:48 pm Draco18s Note Added: 0002059
Oct 24, 2010 5:50 pm Chris_McElligottPark Note Added: 0002061
Oct 24, 2010 5:58 pm Draco18s Note Added: 0002064
Oct 25, 2010 12:21 pm Chris_McElligottPark Status assigned => feedback
Oct 27, 2010 12:14 pm keith.lamothe Note Added: 0002224
Oct 27, 2010 12:14 pm keith.lamothe Status feedback => resolved
Oct 27, 2010 12:14 pm keith.lamothe Resolution open => fixed
Oct 27, 2010 12:18 pm Draco18s Note Added: 0002227
Oct 27, 2010 12:28 pm keith.lamothe Note Added: 0002228
Oct 27, 2010 12:29 pm Draco18s Note Added: 0002229