CPU Usage for CoH is VERY high


Beber

 

Posted

Hey all

Been noticing my system runs Coh with very high CPU Usage recently. It's usually pushing around the 89-90% mark in my Task Manager and often shoots higher during big fights and stuff, causing the ame to get very sluggish and freeze for a seconds, usually leaving me dead in the process

I'm not on the most powerful of beasts anymore, Core2Due running at 6600 and a 9800GT graphics cards, so probably need to upgrade, but it used to run the game fine until recently, and that's after a reformat a couple of weeks ago as well.

I remember reading in thread about the graphics for Ultra Mode a while back that the shadows use a lot of CPU power, is that right or am I misremembering? And is there any other settings I can change to help bring the CPU usage down?

Also, I only have 2 gig of memory in my system, will moving up to 4 gig make a big difference?

Any advice, greatly received


We built this city on Rock and Roll!

 

Posted

Quote:
Also, I only have 2 gig of memory in my system, will moving up to 4 gig make a big difference?
I'll deal with this first since it's the easiest to answer.

Do you have a 32bit Operating system? NO!

Do you have a 64bit operating system? YES!

2gb Dual-channel is pretty much the fastest memory configuration 32bit operating systems can manage. The practical limit for how much memory a 32bit operating system can address is somewhere just under 4gb of ram. The practical limit of how much memory a 32bit operating system can present to the user is a little over 3gb of Ram: http://h20331.www2.hp.com/Hpsub/down...%2003Nov05.doc

Since Memory is binary, it really only works in multiples of two. Since 3gb / 2 = 1.5gb, you can see the problem in a dual channel memory configuration addressing 3gb of Ram.

On pretty much every chipset sold by AMD, Nvidia, and Intel, you'll lose memory performance forcing the computer to run in a single channel mode that can address 3gb of RAM under 32bit operating systems.

The exception is Intel's I7 processor which has a triple-channel memory controller... and yes... 3gb would be the fastest 32bit memory configuration for an Intel I7.

Also, if you have something like Physical Address Extension enabled you can indeed run more than 4gb of memory in a 32bit operating system. I won't go into why this isn't something you want to do here.

64bit system's don't have these memory limitations, so if you are running a 64bit system, go ahead and move to 4gb of ram.

* * *

Now, as to your other question...

Ultra-Mode, and all of the Ultra-Mode options, do strain the central processor to an extent. It is possible that updates or changes to the game may have introduced a performance regression for your particular system.


 

Posted

Quote:
Originally Posted by Coin View Post
[...] causing the ame to get very sluggish and freeze for a seconds[...]
Wouldn't that happen, by any chance, when you use AoE on quite large groups of enemies?


 

Posted

Quote:
Originally Posted by Beber View Post
Wouldn't that happen, by any chance, when you use AoE on quite large groups of enemies?
you thinking it's the log file bug?


 

Posted

Quote:
Originally Posted by je_saist View Post
you thinking it's the log file bug?
Never heard of it, but you got me interested.

The description he gives of his bug reminds me a lot of a similar bug I have on one computer, with very high CPU usage (more than any other game I have, including the over-demanding Assassin's Creed Botherhood), and I also got big freezes when using AoE on more than 5 enemies. I had this bug for someting like 6 months (a few months after Ultra Mode).

I gathered a lot of data from many tests I ran (this bug only occurs on CoH), and never managed to find a solution. So your "log file bug" got me really interested.

I'll wait to see if Coin have the exact same problem as I do, and if so, I'll start throwing data. I don't want to hijack his thread.


 

Posted

Nope, it's not that, it's even when doing something as simple as turning round.

Simply, it's always a high CPU for Coh, around 80-90%. I go in some zones, namely Preatorian ones, and move around ajnd the game gets very juddery for a few seconds, then catches up with itself. I move again and the same thing happens.

It's not drastic or damaging, just, annoying. I'm not sure if it's lack of memory, my PCU working harder due to Ultra Mode settings, or even my GPU dieing on me

It's likely I'll improve things with a processor upgrade, or a new graphics card. Lowering the settings in game a little has helped, I've turned the shadows down a notch or two, turned anti-aliasing down to 4, and lowered a couple of other things and it's helped with the sluggishness, but CPU is still high, constantly.

Short of upgrading my PC, windows, CPU, Graphics Card, more memory (might as well buy a new machine for that!) it seems this is all I can do.

Bizarrely, I can run games like Crysis 2 demo, Arkham Asylum, even DCUO perfectly fine with no graphical problems, it's only the 7 yr old CoH that does this.


We built this city on Rock and Roll!

 

Posted

That, to me, sounds like you're low on memory (i.e. you're swapping). When it starts jittering, do you notice the HD activity light going wild at the same time? If you use /unloadgfx is there any sort of difference in the jittering after you do it (both immediately, and after a few seconds)?


Quote:
Originally Posted by ShadowNate
;_; ?!?! What the heck is wrong with you, my god, I have never been so confused in my life!

 

Posted

Try putting CoH in your virus exceptions list first.


 

Posted

Quote:
Originally Posted by je_saist View Post
The practical limit of how much memory a 32bit operating system can present to the user is a little over 3gb of Ram: http://h20331.www2.hp.com/Hpsub/down...%2003Nov05.doc

Since Memory is binary, it really only works in multiples of two. Since 3gb / 2 = 1.5gb, you can see the problem in a dual channel memory configuration addressing 3gb of Ram.

On pretty much every chipset sold by AMD, Nvidia, and Intel, you'll lose memory performance forcing the computer to run in a single channel mode that can address 3gb of RAM under 32bit operating systems.
Um, yah. It doesn't work that way. Single channel addressing is because of mismatched memory, not because it is not a multiple of two. Pairing memory means that the addressing can happen as a 128-bit data path instead of 2 64-bit data paths.

The effective ceiling of 32 bit XP at 3GB doesn't have anything to do with this binary mumbo jumbo either.

Windows XP 32-bit has an addressable limit of 4GB RAM. Put a full 4GB of RAM in the machine if it supports it. You will not be able to use the full 4GB because some of the RAM at the Top of Memory address range
must be made available to other hardware. What you will be able to use depends on what the other hardware needs, don't expect any more than 3.5 GB, it could be anything between 2.75 to 3.5GB.

If the application is "LARGEADDRESSWARE" aware then you may be able to use 4GB tuning by using the /3GB switch in the boot.ini file. That will not allow Windows to increase the addressable memory range but it will limit the operating system to 1GB of memory and allow LARGEADDRESSWARE applications to use 3GB.

Quote:
Originally Posted by je_saist View Post
The exception is Intel's I7 processor which has a triple-channel memory controller... and yes... 3gb would be the fastest 32bit memory configuration for an Intel I7.
The Core i7 2600k is only using a dual-channel architecture on LGA1155. Quad-channel support is due with LGA2011.


 

Posted

Quote:
Originally Posted by PumBumbler View Post
Um, yah. It doesn't work that way. Single channel addressing is because of mismatched memory, not because it is not a multiple of two. Pairing memory means that the addressing can happen as a 128-bit data path instead of 2 64-bit data paths.
Slight problem. How I described it is how it works, and I've put together damn near enough computers and run the tests myself.

The only situation where 3gb of memory can be presented in a dual-channel memory configuration is if you have a 4 stick setup, with 2 sticks 1gb, 2 sticks 512mb, and they are matched in capacity on each memory channel.


 

Posted

Quote:
Originally Posted by je_saist View Post
I'll deal with this first since it's the easiest to answer.

Do you have a 32bit Operating system? NO!

Do you have a 64bit operating system? YES!
Actually this is somewhat incorrect. If the OS and the game are competing for that 2GB of memory, increasing system memory can help eliminate the competition by providing a larger memory space.

For the most part, CoH will grab between 1 and 1.5GB. Windows XP with only 512MB available to it isn't the most responsive situation.

We he to max the memory out, XP would be able to operate at it's 2GB sweet spot while still providing 1-1.5GB of memory to CoH. This should lower swap utilization drastically.

Yes, an XP box with 4GB of memory and a 512MB card is only going to see 3-3.5GB of system memory. So some of it is considered "wasted". The remainder of the memory space is still useful if the system is seeing excessive swap utilization.



Clicking on the linked image above will take you off the City of Heroes site. However, the guides will be linked back here.

 

Posted

Quote:
Originally Posted by je_saist View Post
Slight problem. How I described it is how it works, and I've put together damn near enough computers and run the tests myself.

The only situation where 3gb of memory can be presented in a dual-channel memory configuration is if you have a 4 stick setup, with 2 sticks 1gb, 2 sticks 512mb, and they are matched in capacity on each memory channel.
Your explanation of 3GB/2 being 1.5GB doesn't really explain anything at, and actually obfuscates things.


 

Posted

I have the same problem. You can hear the poor thing whine all the time i have CoH up. My comps about 5 years old, I run on almost minimal graphics, and it starts as soon as I launch CoH. Thats right, when I hit the new launcher.... Just wish I could remember if it was doing it before I installed that thing a week or two ago. I know it was not acting like this all the last 4 years I've had the game anyways. Just recently it started. Anyways, now, as soon as I hit launch CoH from my desktop my comp starts acting like a 100 year old running a marathon.

Someone mention add CoH to safe programs or something. I am unsure how to do it, but the concept sounds good. i run Norton antivirus if anybody's got a tip....


 

Posted

Quote:
Originally Posted by je_saist View Post
2gb Dual-channel is pretty much the fastest memory configuration 32bit operating systems can manage. The practical limit for how much memory a 32bit operating system can address is somewhere just under 4gb of ram. The practical limit of how much memory a 32bit operating system can present to the user is a little over 3gb of Ram: http://h20331.www2.hp.com/Hpsub/down...%2003Nov05.doc

Since Memory is binary, it really only works in multiples of two. Since 3gb / 2 = 1.5gb, you can see the problem in a dual channel memory configuration addressing 3gb of Ram.

On pretty much every chipset sold by AMD, Nvidia, and Intel, you'll lose memory performance forcing the computer to run in a single channel mode that can address 3gb of RAM under 32bit operating systems.

The exception is Intel's I7 processor which has a triple-channel memory controller... and yes... 3gb would be the fastest 32bit memory configuration for an Intel I7.

Also, if you have something like Physical Address Extension enabled you can indeed run more than 4gb of memory in a 32bit operating system. I won't go into why this isn't something you want to do here.

64bit system's don't have these memory limitations, so if you are running a 64bit system, go ahead and move to 4gb of ram.

* * *

Now, as to your other question...

Ultra-Mode, and all of the Ultra-Mode options, do strain the central processor to an extent. It is possible that updates or changes to the game may have introduced a performance regression for your particular system.
I think you're mixing up how much memory the OS can address with how much the board can support.

You can still put 4GB of memory into a machine. Yes, it will only see around 3-3.5 (due primarily to upper memory limits and shadowing of video card memory).

It has nothing to do with memory being "binary".

Dual-channel, for optimal throughput requires channel 1 and channel 2 to be sporting matched sets of memory in equal amounts.

Going mismatched between Channel 1 and channel 2 is when you get dropped back to single-channel performance and memory throughput takes a nosedive.

Now, if memory performance is NOT the issue, simply quantity, this wouldn't matter much.

Economically it makes the most sense for a user with a motherboard that can support 4GB of memory to buy two sets of matched 1GB sticks, REGARDLESS of whether the OS can see/use it all or not. This way, the user ALSO has the option of upgrading to a 64-bit-capable OS in the future and utilizing the entirety of the system's memory space.



Clicking on the linked image above will take you off the City of Heroes site. However, the guides will be linked back here.

 

Posted

Quote:
Originally Posted by je_saist View Post
Slight problem. How I described it is how it works, and I've put together damn near enough computers and run the tests myself.

The only situation where 3gb of memory can be presented in a dual-channel memory configuration is if you have a 4 stick setup, with 2 sticks 1gb, 2 sticks 512mb, and they are matched in capacity on each memory channel.
Incorrect:

4 Sticks of 1GB memory and a 1GB video card should also cause the OS to present with 3.0 GB of memory as well.



Clicking on the linked image above will take you off the City of Heroes site. However, the guides will be linked back here.

 

Posted

I'm going to bump this back to the top of the list.

I'm having the same problem. My CPU and Mem usage tends to sit around 60% with COH running. My computer is less than a year old and has plenty of memory, a dual core and 2 GPUs. I've had absolutely no problems running any other high end MMO. Why would this happen?


 

Posted

You do know that high CPU/Memory usage isn't inherently a bad thing, assuming that it's not sitting at 100% all the time? What's bad is CPU/memory contention, where you haven't got enough resources to go around.

My CPU sits at around 90% while playing CoH, but that's not an issue unless I suddenly decide I'd like to encode some video at the same time. Having some overhead is always nice, but trying to get your CPU/Memory usage down to some arbitrary value isn't going to achieve anything.


Omnes relinquite spes, o vos intrantes

My Characters
CoX Chatlog Parser
Last.fm Feed

 

Posted

one thing to try is check out usage with Ultra mode on , then check it turned off. I remember a thread where some computer graphics experts were saying that Ultra mode in COH was a "brute force" method that might be why in part of the high usage.


Fluffy Bunny 1 Person SG
Rabid Bunny 1 Person VG
Both on Pinnacle
Hobbit's Hole 1 Person SG
Spider's Web 1 Person VG
Both on Freedom

 

Posted

If you noticed the CPU bump post i20 its probably because the game now utilizes "multicore" systems, so if you have a dual/quad/hex core processor the game can tap into them now.

I have a dualcore and noticed the spike in cpu usage right away after launching i20 coh, I kinda wish I could turn it off, my computer is 5+ years old, and after a few hours of playing will sometimes die(turn itself off with no error) now. I'm not the best with processor&ram info, but the high cpu seems to cause coh's ram usage to rise too, making me run with less things open to prevent pcdeath lately lol. /unloadgfx used to help sometimes, but now I try it so often my ram use goes down 5-10% when I hit enter, then climbs right back to where it was as it re-renders everything in view.



10 50's To Date! Check out Titan Sentinel; it got my CoH presence synced online

 

Posted

Quote:
Originally Posted by Psychic Guardian View Post
I kinda wish I could turn it off, my computer is 5+ years old, and after a few hours of playing will sometimes die(turn itself off with no error) now.
Open the case and clean the CPU fan. It's probably covered with dust and can't cool the processor well, which causes the processor to shut itself down to prevent a meltdown. Use SpeedFan to monitor your CPU temperature if you want confirmation of this being the problem.


www.SaveCOH.com: Calls to Action and Events Calendar
This is what 3700 heroes in a single zone looks like.
Thanks to @EnsonsDeath for the GVE code that made me VIP again!

 

Posted

Quote:
Originally Posted by Psychic Guardian View Post
If you noticed the CPU bump post i20 its probably because the game now utilizes "multicore" systems, so if you have a dual/quad/hex core processor the game can tap into them now.

I have a dualcore and noticed the spike in cpu usage right away after launching i20 coh, I kinda wish I could turn it off, my computer is 5+ years old, and after a few hours of playing will sometimes die(turn itself off with no error) now. I'm not the best with processor&ram info, but the high cpu seems to cause coh's ram usage to rise too, making me run with less things open to prevent pcdeath lately lol. /unloadgfx used to help sometimes, but now I try it so often my ram use goes down 5-10% when I hit enter, then climbs right back to where it was as it re-renders everything in view.
It used a second thread for graphics rendering a long time ago, didn't it?

However, CoH doesn't make any attempt, as far as I can tell, to throttle CPU usage. As such, it should always appear as using most of your CPU when in the foreground. I kinda wish they would put a Kernel Sleep() in the game loops so I could see how little of the CPU it actually uses, myself.


 

Posted

The other important factor to consider here is what OS you are running

One of the changes made with Vista and continued with Win7 was that CPU useage would be maximised. i.e. It WAI for those OSs to operate at 100% CPU utilisation.


Mind of Gaia lvl 50 Defiant's first Mind/Storm 'troller.
Deadly Doc 50 Dark/Dark Corr
and lots more on Pinnacle,Union and Defiant

 

Posted

Quote:
Originally Posted by Beber View Post
Wouldn't that happen, by any chance, when you use AoE on quite large groups of enemies?
I've actually been randomly getting this bug lately as well. Most noticeable when I use Fire Sword Circle on both my scrapper and blaster.


@Sparky Jenkins || Freedom Server | Union Server
Main Hero: Inferno Sparky - Fire/Fire Blaster
Main Villain: Kerry Astrid - Fire/Cold Corruptor

 

Posted

Quote:
Originally Posted by Leandro View Post
Open the case and clean the CPU fan. It's probably covered with dust and can't cool the processor well, which causes the processor to shut itself down to prevent a meltdown. Use SpeedFan to monitor your CPU temperature if you want confirmation of this being the problem.
*totally forgot I posted in this thread to come back to*
It's a laptop, it has like 3 fans accessible from the exterior I've tried hitting with air duster with no help . Someone also mentioned OS, mine is XP SP3 32bit.



10 50's To Date! Check out Titan Sentinel; it got my CoH presence synced online