Lag issue (Entrenchment)

This game lags horribly for no apparent reason.  The game is at 3-6 FPS but is only using 623 MB of ram (bringing the total ram usage to 2.23 GB). CPU usage is at 50-65%.

I turned off ship icons (trade ship icons were already off) along with phase lanes and everything else.  When that didn't do anything I maxed the graphic settings just to see what happened, nothing did.  Zooming in to a major fleet battle or zooming out all the way had no effect.

I would like to play the game but as it stands now that isn't possible.

Dxdiag:

Operating System: Windows Vistaâ„¢ Business (6.0, Build 6002) Service Pack 2 (6002.vistasp2_gdr.101014-0432)

System Manufacturer: Gigabyte Technology Co., Ltd.

System Model: M68M-S2

Processor: AMD Athlon(tm) II X2 250 Processor (2 CPUs), ~3.0GHz

Memory: 4094MB RAM

Page File: 2338MB used, 6078MB available

DirectX Version: DirectX 11

Card name: ATI Radeon HD 4600 Series

Chip type: ATI display adapter (0x9490)
DAC type: Internal DAC(400MHz)
Display Memory: 2808 MB
Dedicated Memory: 1016 MB
Shared Memory: 1791 MB
Driver Name: aticfx64.dll,aticfx64.dll,aticfx32,aticfx32,atiumd64.dll,atidxx64.dll,atiumdag,atidxx32,atiumdva,atiumd6a.cap,atitmm64.dll
Driver Version: 8.17.0010.1077 (English)
DDI Version: 10.1
BGRA Supported: Yes
Driver Attributes: Final Retail
Driver Date/Size: 4/19/2011 21:07:46, 795648 bytes
Video Accel: ModeMPEG2_A ModeMPEG2_C

 

The game

Players: 10 (2 PC 8 NPC)

Game time: 3h ish

15,998 views 31 replies
Reply #1 Top

Well considering Sins mostly runs on one core and can only use 2GB of ram, you are probably just maxing out one or the other. The number of players and fleet sizes are more important to know, as well as what version of Sins you have.

Reply #2 Top

Version: 1.051

Players: 8 (2 PCs 6 NPCs)

 

I personally have 9 ships everyone else has near max.

Reply #3 Top

Opps my bad you but Entrenchment in the title lol. Well with almost any PC you are going to have a bit of performance issues with seven players at near max fleets. With Entrenchment RAM is probably the limiting factor (it sadly can't use your full 4 gigs), so try reducing your graphic effects and disable needless UI options like trade ship icons etc. Is your friend also having issues?

Reply #4 Top

I turn them from near max down to min and get no effect.  Also my friend's FPS only drops to 40 ish (he is using near max settings) and he is the one hosting.


Processor:   Intel Core i7 Q720 (can reach 2.8GHz)
Memory:     6GB DDR3
Video Card:  NVIDIA GeForce GTS 360M
Operating System:  Windows 7 Home Premium 64-bit

 

Also I don't really care about the 6 FPS, its the lag spikes that are annoying.  Also how far I'm zoomed in makes no difference.

 

P.S. I'd like to know why it caps out at 2 gigs of ram.

Reply #5 Top

Quoting igng, reply 4
I'd like to know why it caps out at 2 gigs of ram.
End of igng's quote

Its a 32-bit issue. Applications that are 32-bit (such as Sins) can only use 2 gigs.

Reply #6 Top

I'm pretty sure its 4 gigs.

Reply #7 Top

Operating systems can yes. The Applications are limited to 2 gigs.

Reply #8 Top

It is 2 GB of RAM, I guarantee it, but hopefully the engine optimization and TSOP stuff that made it into Diplomacy 1.2 will be backported to Entrenchment and vanilla.

Reply #9 Top

If ram is the problem why does it never use the full 2 gigs?  my PC uses about 1.6 gigs to just run the stuff I run in the background (Vent, Hamachi, FF, OS, etc) and I only use 2.9 when Sins is running.  So sins is only using 1.3 gigs.

 

Also if the problem is my ram and its being kept under what my computer is capable of and my friend is also artificially caped at the same point why does he get twice my FPS?

 

Reply #10 Top

Well if the big issue is the lag spikes, are you sure its just not your network? Does the same thing happen when you host the game? Also if you can handle similar fleet sizes in single player just fine that is probably a sign that it is a networking issue.

Reply #11 Top

The speed of the CPU can also cause issues. The faster the individual CPU the better performance. Your friend may have a faster CPU.

Reply #12 Top

If it was the network I would be getting consistent lag spikes. Seeing as they only show up 2-3 hours into the game and starting a new game with out restarting the game or resting the connection results in 2-3 hours with out lag spikes....

Reply #13 Top

As far as the faster CPU ... that doesn't explain the huge discrepancy. if he was getting 2x my FPS fine, but he is getting 5-10x.

 

We have at most a 2-3x discrepancy in FPS in other games if that.

Reply #14 Top

True but other things like RAM speed, BUS speed and even hard drive speed can affect it as well and some games use each component differently. If your friend has a top-notch machine (and if he normally puts out higher fps he probably does) and as everything as high as it can go then it can show up that huge.

Reply #15 Top

Updated OP


This game lags horribly for no apparent reason.  The game is at 3-6 FPS but is only using 623 MB of ram (bringing the total ram usage to 2.23 GB). CPU usage is at 50-65%.

I turned off ship icons (trade ship icons were already off) along with phase lanes and everything else.  When that didn't do anything I maxed the graphic settings just to see what happened, nothing did.  Zooming in to a major fleet battle or zooming out all the way had no effect.

I would like to play the game but as it stands now that isn't possible.

Dxdiag:

Operating System: Windows Vistaâ„¢ Business (6.0, Build 6002) Service Pack 2 (6002.vistasp2_gdr.101014-0432)

System Manufacturer: Gigabyte Technology Co., Ltd.

System Model: M68M-S2

Processor: AMD Athlon(tm) II X2 250 Processor (2 CPUs), ~3.0GHz

Memory: 4094MB RAM

Page File: 2338MB used, 6078MB available

DirectX Version: DirectX 11

Card name: ATI Radeon HD 4600 Series

Chip type: ATI display adapter (0x9490)
DAC type: Internal DAC(400MHz)
Display Memory: 2808 MB
Dedicated Memory: 1016 MB
Shared Memory: 1791 MB
Driver Name: aticfx64.dll,aticfx64.dll,aticfx32,aticfx32,atiumd64.dll,atidxx64.dll,atiumdag,atidxx32,atiumdva,atiumd6a.cap,atitmm64.dll
Driver Version: 8.17.0010.1077 (English)
DDI Version: 10.1
BGRA Supported: Yes
Driver Attributes: Final Retail
Driver Date/Size: 4/19/2011 21:07:46, 795648 bytes
Video Accel: ModeMPEG2_A ModeMPEG2_C
 

End of quote

Reply #16 Top

you playing on ICO? or LAN?

there is another thread which mentioned, and then a dev confirmed a patch for a lag fix.  It seems to be diplo only though.

Reply #17 Top

So anything below diplo is just unplayable on a map with more than 4 players?

 

Also its a lan connection over Hamachi not that it matters because I get lag in single player too.

Reply #18 Top

Never had too many issues with Entrenchment and Vanilla (and that's with distant stars mod) but please keep in the mind the devs are doing what they can to fix the lag issues. They have already done much to fix it already and will be doing more.

Reply #19 Top

This game lags horribly for no apparent reason.  The game is at 3-6 FPS but is only using 623 MB of ram (bringing the total ram usage to 2.23 GB). CPU usage is at 50-65%.
...
Memory: 4094MB RAM
...
Display Memory: 2808 MB
Dedicated Memory: 1016 MB
Shared Memory: 1791 MB
...
End of quote

Let see, 2.23 GB ram ( 2283.52 MB ) used for OS/application, 1791 MB ram used by the shared video memory... 2283.52 + 1791 = 4074.52 MB ... seem that you are using your full RAM !!! The memory that is reserved for graphics is taken away from the total system memory...

If you have a dedicated graphic memory of almost 1GB, why do you need to use shared memory for extend it to almost 2.8 GB of display memory ???

Your system become so short in memory that the pagefile system begin to be used... remember that disk access and read/write is slower that RAM...

For resolve your lag, try something like ( if you BIOS allow to change the amount of shared memory ):

Display Memory: 1016 MB
Dedicated Memory: 1016 MB
Shared Memory: 0 MB
 

It will free 1.75 GB of the main memory for your application/OS...

A other thing... 2283 mb ram used, where 623 are for the game... so, without the game, already 1660 mb are used !!! My laptop with Vista x64 is using only 787 mb... my desktop with XP pro x64, a little less that 250 mb... seem that you have a lot of crap running on your computer !

From http://en.wikipedia.org/wiki/Shared_Memory_Architecture 

"In computer architecture, Shared Memory Architecture (SMA) refers to a design where the graphics chip does not have its own dedicated memory, and instead shares the main system RAM with the CPU and other components.

This design is used with many integrated graphics solutions to reduce the cost and complexity of the motherboard design, as no additional memory chips are required on the board. There is usually some mechanism (via the BIOS or a jumper setting) to select the amount of system memory to use for graphics, which means that the graphics system can be tailored to only use as much RAM as is actually required, leaving the rest free for applications. A side effect of this is that when some RAM is allocated for graphics, it becomes effectively unavailable for anything else, so an example computer with 512 MiB RAM set up with 64MiB graphics RAM will appear to the operating system and user to only have 448 MiB RAM installed.

The disadvantage of this design is lower performance because system RAM usually runs slower than dedicated graphics RAM, and there is more contention as the memory bus has to be shared with the rest of the system. It may also cause performance issues with the rest of the system if it is not designed with the fact in mind that some RAM will be 'taken away' by graphics."

Reply #20 Top

Quoting Ryat, reply 18
Never had too many issues with Entrenchment and Vanilla (and that's with distant stars mod) but please keep in the mind the devs are doing what they can to fix the lag issues. They have already done much to fix it already and will be doing more.
End of Ryat's quote

This is  a bug report, not a "tell me how YOUR game works fine" report. I'm well aware that not everyone has this problem.  My problem is not the low frame rate, and I have no problem turning the graphics all the way down.  I really don't care if the game looks horrible.  My problem is that only 1 in 5 of the commands actually happen as far as the game is concerned.  I can be looking at a newly captured planet (No fleet or mines present) and it takes at least 3 min just to place the structures I want.  My problem is not that it is slightly lagy, but that it is unplayable.

 

In other news it Looks like diplomacy isn't any better.

Reply #21 Top

Quoting Thoumsin, reply 19

*snip*
End of Thoumsin's quote

The base usage of ram includes having a bunch of stuff open.

Hey I just got it to use 3.2 Gigs of ram for 2 copies of eve, along with other things.

 

Quoting Thoumsin, reply 19

A side effect of this is that when some RAM is allocated for graphics, it becomes effectively unavailable for anything else, so an example computer with 512 MiB RAM set up with 64MiB graphics RAM will appear to the operating system and user to only have 448 MiB RAM installed.
End of Thoumsin's quote

I'm pretty sure they mean that they meant that if it is being actively used for graphics it can't be used for anything else. If not it shows 4 gigs installed so that would make it flat out wrong.

 

 

I appreciate that you are trying to be helpful rather than just telling me that you don't have this problem.

Reply #22 Top

Can anyone help this poor bastard?  Where are the moderators?

His PC is far beyond the requirements for this game and he can't run it at a reasonable frame-rate even on minimum settings.  I remember the game working fine at higher settings on an old P4 box with significantly less RAM and VRAM than this guy.  It seems like some type of memory leak.  Is there a debug program that can save data on how his computer and SINS are performing while he plays?

Reply #23 Top

Honestly, I have no idea. I haven't heard of something like this before.  My only suggestion would be to contact support@stardock.com and they'll help collect more info to try and track it down.

Reply #24 Top

Already working with them.

I got told to verify the installation and well.... Sins of a solar empire (the original) believes that it was not installed correctly.  Fixing it breaks Diplomacy and fixing Diplomacy breaks the original. I uninstalled and reinstalled the original, diplomacy and entrenchment only to have the same problem.  I have gone through this circle several times.

I'm waiting for their response to that little bit of fun.

Reply #25 Top

Can someone actually help with this?  Now that the new diplomacy update is out, I also get a -30 frame-rate drop about 1 hour 45 minutes into the game.

IGNG even has problems auto-placing structures.  At that point, the game can easily be considered unplayable.  It's weird that adding a second monitor to watch movies causes no added drop in frame-rate when NO NOTICEABLE change in a round of Sins can cause an instant -30 frames per second.