PDA

View Full Version : HEM1 using over 50% of cpu



xyz456
04-02-2013, 04:28 PM
I'm using HEM 1.13.01 internal on Windows 7. Sometimes it spikes up to over 50% of my cpu. I observe similar issues when playing on Merge and Revolution. I also had a similar issue with previous versions of HEM1. I regularly optimize my database, use the defraggler, etc. Any suggestions?

udbrky
04-02-2013, 09:52 PM
Make sure that you are adding holdemmanager.exe and the revolution and merge exe, postgres, pg_ctl, files to your antivirus and firewall exceptions. See these guides, it's very similar, but different locations:

Disregard step #'s, there's irrelevant steps skipped.

Step 2 – Set files to run as administrator
1 - Go to C:\Program Files\Holdem Manager 2 (Program Files (x86) for the 64bit version)
2 - Right click the HoldemManager.exe and choose "Properties".
3 - Go to the Compatibility Tab and select "Run this program as an “Administrator"
4 - Repeat Steps 2 and 3 for Hmimport.exe and hmhud.exe

If this option is greyed out it is because the UAC is disabled.
Enable UAC - Disable User Account Control (UAC) the Easy Way on Win 7 or Vista (http://www.howtogeek.com/howto/windows-vista/disable-user-account-control-uac-the-easy-way-on-windows-vista/)
Reboot and complete Step 3 and 4.
UAC can be turned off again if desired.

Step 3 – Update Windows
Often the issue can be caused by a conflict with another program or utility on your PC. Windows may have released an update to fix this issue. See here for details on how to run windows update.



Step 5 – Add exceptions to firewall
Some firewalls detect HM2 as a threat because of the way it interacts with different poker software, as a consequence they can block HM accessing files it needs to and in turn cause a crash. Please follow the instructions in the FAQ carefully.
http://hm2faq.holdemmanager.com/questions/1011/Software+Security+Problems+275irewall

Step 6: Set correct permissions on files and folders HM2 use
Please follow the instructions in this FAQ: http://hm2faq.holdemmanager.com/questions/2561/Set+Correct+Permissions+on+files+and+folders+HM2+u se

udbrky
04-02-2013, 09:53 PM
Make sure that you are adding holdemmanager.exe and the revolution and merge exe, postgres, pg_ctl, files to your antivirus and firewall exceptions. See these guides, it's very similar, but different locations:

Disregard step #'s, there's irrelevant steps skipped.

Step 2 – Set files to run as administrator
1 - Go to C:\Program Files\Holdem Manager 2 (Program Files (x86) for the 64bit version)
2 - Right click the HoldemManager.exe and choose "Properties".
3 - Go to the Compatibility Tab and select "Run this program as an “Administrator"
4 - Repeat Steps 2 and 3 for Hmimport.exe and hmhud.exe

If this option is greyed out it is because the UAC is disabled.
Enable UAC - Disable User Account Control (UAC) the Easy Way on Win 7 or Vista (http://www.howtogeek.com/howto/windows-vista/disable-user-account-control-uac-the-easy-way-on-windows-vista/)
Reboot and complete Step 3 and 4.
UAC can be turned off again if desired.

Step 3 – Update Windows
Often the issue can be caused by a conflict with another program or utility on your PC. Windows may have released an update to fix this issue. See here for details on how to run windows update.



Step 5 – Add exceptions to firewall
Some firewalls detect HM2 as a threat because of the way it interacts with different poker software, as a consequence they can block HM accessing files it needs to and in turn cause a crash. Please follow the instructions in the FAQ carefully.
http://hm2faq.holdemmanager.com/questions/1011/Software+Security+Problems+275irewall

Step 6: Set correct permissions on files and folders HM2 use
Please follow the instructions in this FAQ: http://hm2faq.holdemmanager.com/questions/2561/Set+Correct+Permissions+on+files+and+folders+HM2+u se

xyz456
04-04-2013, 12:26 AM
I did all the things you mentioned. HMImport.exe is now spiking up to 10-25% of the cpu when I don't have any tables open (so it shouldn't be doing any importing).

netsrak
04-04-2013, 04:04 AM
.. (so it shouldn't be doing any importing).
Depends on your configuration of auto-import and archive folders.
Please attach your holdemmanager.config file from C:\Program Files(X86)\RVG Software\Holdem Manager\Config folder (or something similar depending on your installation). It may be just called holdemmanager if you've extenstions turned off.

xyz456
04-04-2013, 11:29 AM
HoldemManager.config file is attached.

fozzy71
04-04-2013, 07:12 PM
I don't see any problems in the config file.

Which Firewall, and Anti-Virus are you using? Do you make sure you stop the postgresql service before you defrag? Are these spikes causing performance problems when playing?

Many of those free Norton, Mcaffee, Comodo, Zonealarm, etc, 'internet security' bundles will not work well with holdem manager.

Please do the following steps, so we can get your computer to a state that we know will work with Holdem Manager:

1) Uninstall any 3rd party security software bundles.
2) Reboot your computer
3) Please install the latest version: http://forums.holdemmanager.com/releases/373771-latest-internal-beta-hm1-update.html
4) Enable Windows Firewall's recommended settings through your Control Panel, turn off Windows Defender, and add firewall exceptions for HM and SQL - http://faq.holdemmanager.com/questions/275/Windows+Firewall+%7B47%7D+Defender+Problems
5) Install Microsoft Security Essentials for antivirus/malware protection and update it - Microsoft Security Essentials - Microsoft Windows (http://www.microsoft.com/security_essentials/)

If you feel the need to pay for security I would suggest ESET NOD or Kaspersky.

xyz456
04-06-2013, 05:07 PM
I use Symantec and Malwarebytes.
I use Windows 7/Firewall.
I stop the postgresql before the defrag (though it's possible I forgot to do this once).
I just turned off Defender and made sure the firewall exceptions were correct.
I still notice HMImport.exe spiking up to over 20% when I'm not even playing.
Sometimes it causes performance problems when playing, though not always. I haven't gotten to test it yet since making the above changes. But I am somewhat concerned that it is still spiking to 20% when I'm not playing.

fozzy71
04-06-2013, 07:05 PM
I use Symantec and Malwarebytes.
I use Windows 7/Firewall.
I stop the postgresql before the defrag (though it's possible I forgot to do this once).
I just turned off Defender and made sure the firewall exceptions were correct.
I still notice HMImport.exe spiking up to over 20% when I'm not even playing.
Sometimes it causes performance problems when playing, though not always. I haven't gotten to test it yet since making the above changes. But I am somewhat concerned that it is still spiking to 20% when I'm not playing.

I will be interested to hear if any of those changes make a difference.

Is the auto import running when you see these spikes? Do the spikes happen if the poker client is closed? Do these spikes happen when the auto import is stopped? If the client is open and the auto import is running it is going to check for hands every 5 seconds which would account for some cpu spiking.

You could also try increasing the auto import duration value in the config file so it checks for new hands less often:

C:\Program Files (x86)\RVG Software\Holdem Manager\Config\HoldemManager.config


<setting name="AutoImportTimerDuration">5</setting>

What types of specific performance problems are you experiencing? How many tables do you play at once? What are your system specs in terms of CPU, RAM, and HDD speed?

xyz456
04-12-2013, 09:21 PM
I was 1-2 tabling HUSNGs on lock/revolution just now and HMImport.exe was spiking up to 55% of the cpu. I noticed these spikes continued even after my games ended. They also continued even after I closed the lock client. When I turned off auto-import the spikes stopped, though HMImport.exe remained at 5% of my cpu.
I still have it set to check for hands every 5 seconds. I don't see how that would cause the issues I just mentioned though.
I usually play 1-6 tables.
Here is the comp info:
Processor: Intel(R) Core(TM)2 Duo CPU T6670 @ 2.20GHz 2.20 GHz
Installed memory (RAM): 4.00 GB (2.96 GB usable)
System type: 32-bit OS

Patvs
04-13-2013, 03:30 AM
How large (estimate) is your database? Do you have millions of hands?


Read:
http://forums.holdemmanager.com/manager-general/11194-top-10-hem-performance-increase-tips.html, and http://hm2faq.holdemmanager.com/questions/1501/What+can+be+done+if+HUD+is+lagging%3F

xyz456
04-13-2013, 12:45 PM
About 10k super-turbo sngs, so probably several hundred thousand hands.
I try to follow all the performance tips regularly. Is there a particular one that you think could cause the issue? It is HMImport.exe specifically that has the spike in cpu, not the hud.

fozzy71
04-13-2013, 03:48 PM
About 10k super-turbo sngs, so probably several hundred thousand hands.
I try to follow all the performance tips regularly. Is there a particular one that you think could cause the issue? It is HMImport.exe specifically that has the spike in cpu, not the hud.

Do these CPU spikes actually cause performance problems? I don't see where in this thread you have specified what problems they are causing for you. If they aren't causing problems I wouldn't worry about them myself.


I was 1-2 tabling HUSNGs on lock/revolution just now and HMImport.exe was spiking up to 55% of the cpu. I noticed these spikes continued even after my games ended. They also continued even after I closed the lock client. When I turned off auto-import the spikes stopped, though HMImport.exe remained at 5% of my cpu.
I still have it set to check for hands every 5 seconds. I don't see how that would cause the issues I just mentioned though.
I usually play 1-6 tables.
Here is the comp info:
Processor: Intel(R) Core(TM)2 Duo CPU T6670 @ 2.20GHz 2.20 GHz
Installed memory (RAM): 4.00 GB (2.96 GB usable)
System type: 32-bit OS

Changing it to 15 seconds would cause the CPU spikes to happen 1/3 as often. I still don't know what problems these CPU spikes are causing you yet. Does it make the HM client lag? The poker client tables lag? Your whole system lag? Have you tried uninstalling symantec and malwarebytes to see if they are part of the problem?

Many of those free Norton, Mcaffee, Comodo, Zonealarm, etc, 'internet security' bundles will not work well with holdem manager.

Please do the following steps, so we can get your computer to a state that we know will work with Holdem Manager:

1) Uninstall any 3rd party security software bundles.
2) Reboot your computer
3) Please install the latest version: http://rvgsoftware.fileburst.com/HmBetaUpdate.exe
4) Enable Windows Firewall's recommended settings through your Control Panel, turn off Windows Defender, and add firewall exceptions for HM and SQL - http://faq.holdemmanager.com/questions/275/Windows+Firewall+%7B47%7D+Defender+Problems
5) Install Microsoft Security Essentials for antivirus/malware protection and update it - Microsoft Security Essentials - Microsoft Windows (http://www.microsoft.com/security_essentials/)

If you feel the need to pay for security I would suggest ESET NOD or Kaspersky.

xyz456
04-13-2013, 04:33 PM
The tables lag sometimes (though not always), especially on revolution. I assumed this was related to HMImport.exe taking over 50% of my cpu, but maybe it is another issue. I'm not going to uninstall symantec and malwarebytes and replace them with microsoft security essentials, sorry (I am almost positive this is not the issue). I guess I will just ignore the spikes, though I still think the fact that they are so big is a sign of a problem somewhere.

udbrky
04-14-2013, 10:49 PM
Please remove c:\hmarchive and/or c:\hm2archive, as well as any folder to which your auto import folders are set to archive, from your auto import folders. This just creates a loop of importing and archiving and slows down your HUD, perhaps even causing it not to show up, and in some cases a crash, as Windows cannot handle the file names.