Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #361  
Old 04-20-2006, 02:24 PM
fyodor fyodor is offline
Senior Member
 
Join Date: May 2004
Location: Canada
Posts: 3,160
Default Re: Slowdown

When my FreePHG is messing up and not getting new hand histories I notice that it is sucking up 50% of the CPU by itself. total CPU usage is not much more than 50%. I am using the unedited .bat file (@echo off FreePHG.exe -p -2)

Restarting PHG changes nothing.

Once I reboot the entire system, PHG typically uses only 2-3% of CPU and churns out handhistories as per normal.
Reply With Quote
  #362  
Old 04-20-2006, 03:27 PM
downtown downtown is offline
Senior Member
 
Join Date: Dec 2004
Location: Chicago
Posts: 1,198
Default Re: FPHG available

[ QUOTE ]
[ QUOTE ]
do you have a dual core or hyper threaded processor?

[/ QUOTE ]
Did this actually cause anybody any problems (I just remembered this sub-thread from way back).

If this is the case then did changing the affinity make any difference?

Juk [img]/images/graemlins/smile.gif[/img]

[/ QUOTE ]

I've had no problems. Running AMD Dual Core Opteron 165.
Reply With Quote
  #363  
Old 04-20-2006, 07:27 PM
leafsrock leafsrock is offline
Senior Member
 
Join Date: Aug 2005
Posts: 343
Default Re: FPHG available

The importing's working fine. But for some reason, PA Hud is only displaying current session stats for full handed tables. None for 6 max. It seems like PT is importing all the files but I'm having this problem. Anyone have similar problems or know how to fix this?
Reply With Quote
  #364  
Old 04-20-2006, 09:52 PM
challenger84 challenger84 is offline
Senior Member
 
Join Date: Sep 2004
Location: i suck
Posts: 2,220
Default Re: FPHG available

My problem came back today, so I tried your ideas, juk. Lo and behold, the problem was not enough processing power, because increasing the priority solved the problem. My computer does have a dual processor, I noticed that someone mentioned that in one of the above replies. You think that might have something to do with it?
Reply With Quote
  #365  
Old 04-20-2006, 10:06 PM
jukofyork jukofyork is offline
Senior Member
 
Join Date: Sep 2004
Location: Leeds, UK.
Posts: 2,551
Default Re: FPHG available

[ QUOTE ]
Well, I rebooted my computer and let it run for a while and it seems to be running normally now. I'll let you know if I experience any more problems.

[/ QUOTE ]
If possible, the next time it happens can you check inside of task manager how much memory Party Poker is using.

From what you described it may be that Party Poker has had an memory leak and this could be causing the problem (I am not sure exactly what will happen, but I have seen screenshots of it using over 512 MB of memory).

Juk [img]/images/graemlins/smile.gif[/img]
Reply With Quote
  #366  
Old 04-20-2006, 10:08 PM
jukofyork jukofyork is offline
Senior Member
 
Join Date: Sep 2004
Location: Leeds, UK.
Posts: 2,551
Default Re: Slowdown

[ QUOTE ]
Once I reboot the entire system, PHG typically uses only 2-3% of CPU and churns out handhistories as per normal.

[/ QUOTE ]
Again, can you check out much memory the Party Poker client is using when this next happens. If rebooting your system makes a difference, it sounds to me like it could be the memory leak problem causing FPHG to have to scan much more memory (possibly even swap file).

Juk [img]/images/graemlins/smile.gif[/img]
Reply With Quote
  #367  
Old 04-20-2006, 10:10 PM
jukofyork jukofyork is offline
Senior Member
 
Join Date: Sep 2004
Location: Leeds, UK.
Posts: 2,551
Default Re: Slowdown

[ QUOTE ]
I was wondering if anyone encountered the following situation with FPHG. I have two different databases, one for datamining purposes and the other one for my own play. I would like to be able to datamine and play at the same time. However, the way I have PT currently setup would import my own hands into the main database, and the observed ones into the datamining database. Now, FPHG picks up the hand histories for my own play as well. I don't want to end up with duplicate hand histories in both databases.

[/ QUOTE ]
I will add this to the next version of FPHG, but I just haven't had time yet. It will simply be an option to not write hand histories you are involved in yourself and this should solve the problem.

Juk [img]/images/graemlins/smile.gif[/img]
Reply With Quote
  #368  
Old 04-20-2006, 10:14 PM
jukofyork jukofyork is offline
Senior Member
 
Join Date: Sep 2004
Location: Leeds, UK.
Posts: 2,551
Default Re: FPHG available

[ QUOTE ]
My problem came back today, so I tried your ideas, juk. Lo and behold, the problem was not enough processing power, because increasing the priority solved the problem. My computer does have a dual processor, I noticed that someone mentioned that in one of the above replies. You think that might have something to do with it?

[/ QUOTE ]
Next time you get this problem, can you try looking in task manager and trying to work out what is actually using the CPU time (is it Party Poker itself?).

I don't think it'll be a problem with the dual core processor if it was fixed by increasing the priority (this should have had no effect if that was the cause of the problem).

One thing to be careful about if you increased the priority, is that now something else will possibly be lacking processor time and may go wrong itself.

Juk [img]/images/graemlins/smile.gif[/img]
Reply With Quote
  #369  
Old 04-20-2006, 11:28 PM
challenger84 challenger84 is offline
Senior Member
 
Join Date: Sep 2004
Location: i suck
Posts: 2,220
Default Re: FPHG available

I'm getting the problem again, even with FreePHG running at higher priority. It looks like FreePHG is using about 50% of the CPU time and Party is using about 35%.
Reply With Quote
  #370  
Old 04-20-2006, 11:41 PM
jukofyork jukofyork is offline
Senior Member
 
Join Date: Sep 2004
Location: Leeds, UK.
Posts: 2,551
Default Re: FPHG available

[ QUOTE ]
I'm getting the problem again, even with FreePHG running at higher priority. It looks like FreePHG is using about 50% of the CPU time and Party is using about 35%.

[/ QUOTE ]
How much memory if Party using? If Party is leaking memory, then each cycle of FPHG will take longer thus using much more CPU time. If Party is leaking memory badly then their is a chance that FPHG will have to be scanning swap-file too, making it run much much slower.

Try editing run.bat like this:

freephg.exe -d 1500

This will cause it to rest longer between scans, but it will be more likely to miss hands.

If you still have problems, then edit run.bat like so:

freephg.exe -prof >> log.txt

Run FPHG using run.bat few times, then send me the logfile via email. If I get time, then I will add an extra debug mode (-prof is not ideal for this), and this may help show if Party is using tons of memory. I may even be able to identify leaked segments of memory and avoid scanning them...

One last idea, is to install ProcessGuard and check if Party is trying to read other processes and dump their contents to disk. I have caught it doing this before, and it used a serious amount of CPU time as it tried to do it, causing Party to pretty much slow to a crawl.

Juk [img]/images/graemlins/smile.gif[/img]
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:46 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.