PT4 beta *Virtual Machine* posts

Questions and discussion about PokerTracker 4 for Windows

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Re: PT4 beta *Virtual Machine* posts

Postby kraada » Thu Apr 19, 2012 10:36 am

You'll get much better performance in general if you run PostgreSQL in your Mac directly and just connect from the VM.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: PT4 beta *Virtual Machine* posts

Postby G3K0 » Thu Apr 19, 2012 11:21 am

kraada wrote:You'll get much better performance in general if you run PostgreSQL in your Mac directly and just connect from the VM.


Indeed, I've gone down this route - what I mean is:

after installing the .17 release onto the Win 7 VM, I was greeted with the 'DB Tuning Tool' message on first run-time.
this closed out, I presume as the postgresql install is on the host environment; however, the report return performance in PT4 was affected.

It would appear that going to PT4 / db management / restore to previous PostgreSQL settings (prior to db tuning) does what it says on the tin.

Might I then presume that the db tuner has 2 functions a) amends the PostgreSQL settings (memory allocation etc all beyond my reckoning) and b) amends the PT4 settings to best utilize these new PostgreSQL settings?

If that assumption is correct it would appear that the DB Tuner, in a hosted environment, nerfed my PT4 but left the SQL db alone as it wouldn't have been designed to communicate with the host OS install. ??

Cheers for the almightily fast response Kraads.
H
G3K0
 
Posts: 24
Joined: Fri Mar 28, 2008 8:39 pm

Re: PT4 beta *Virtual Machine* posts

Postby kraada » Thu Apr 19, 2012 12:31 pm

I don't think the tuner changes anything other than the setting in postgres.conf but I'll check to be certain for you.

Edit: The tuner only stops PostgreSQL, applies the changes, and restarts it. If you have PostgreSQL located remotely (e.g. in a host OS) nothing is changed.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: PT4 beta *Virtual Machine* posts

Postby Dereku » Fri Oct 05, 2012 3:37 pm

kraada wrote:You'll get much better performance in general if you run PostgreSQL in your Mac directly and just connect from the VM.


How would one go about this using osx Lion as the host and XP as the guest via virtual box?
Dereku
 
Posts: 10
Joined: Fri Oct 05, 2012 2:48 pm

Re: PT4 beta *Virtual Machine* posts

Postby G3K0 » Fri Oct 05, 2012 3:47 pm

Dereku wrote:
kraada wrote:You'll get much better performance in general if you run PostgreSQL in your Mac directly and just connect from the VM.


How would one go about this using osx Lion as the host and XP as the guest via virtual box?


all links for this are in post #2 of this thread =]

you essentially edit your host Postgres DB settings to allow access to an IP number, assign your PC a fixed IP number and then tell PT4 in VirtualBox to connect via that IP connection. That's the short version.
G3K0
 
Posts: 24
Joined: Fri Mar 28, 2008 8:39 pm

Re: PT4 beta *Virtual Machine* posts

Postby Dereku » Fri Oct 05, 2012 7:01 pm

I'm running 10.7.4 on a 2008 aluminum macbook, 2.0 c2d 8gb ram, 256 SSD.

attempting to run PT4 inside of XP via VirtualBox.

I've had PT3 working successfully on the host machine for a while now, so the PostgreSQL should be installed correctly?

I believe I have everything setup according to the instructions. :? Here are some screen shots:

Image

Image

Image

Image

Image

Not sure what I'm doing wrong. Any help is very much appreciated!
Dereku
 
Posts: 10
Joined: Fri Oct 05, 2012 2:48 pm

Re: PT4 beta *Virtual Machine* posts

Postby _dave_ » Fri Oct 05, 2012 7:32 pm

edit: nevermind. was about pg_hba.conf but looks OK now I check again

edit2: list your IP addresses for both the host mac and the VM. the config dialog shows 192.168.0.196, the error is trying to connect to 192.168.0.1 (this is likely a router?)
_dave_
 
Posts: 1147
Joined: Sun Dec 09, 2007 6:19 pm

Re: PT4 beta *Virtual Machine* posts

Postby Dereku » Fri Oct 05, 2012 11:00 pm

_dave_ wrote:edit: nevermind. was about pg_hba.conf but looks OK now I check again

edit2: list your IP addresses for both the host mac and the VM. the config dialog shows 192.168.0.196, the error is trying to connect to 192.168.0.1 (this is likely a router?)


I tried both addresses' resulting in both errors
Dereku
 
Posts: 10
Joined: Fri Oct 05, 2012 2:48 pm

Re: PT4 beta *Virtual Machine* posts

Postby G3K0 » Sat Oct 06, 2012 4:38 am

I'm not too sure if this makes a difference?
I checked my postgresql.conf file and my listen_addresses = '*' all line is under the connections section

Code: Select all
#------------------------------------------------------------------------------
# CONNECTIONS AND AUTHENTICATION
#------------------------------------------------------------------------------

# - Connection Settings -

listen_addresses = '*'      # what IP address(es) to listen on;


it looks like that's just commented notes, which as _dave may have been referring to, looks fine.

Can you post your ipconfig results from within Windows along with your ifconifg result from Mac terminal?
Might be something small/typo...
G3K0
 
Posts: 24
Joined: Fri Mar 28, 2008 8:39 pm

Re: PT4 beta *Virtual Machine* posts

Postby kraada » Sat Oct 06, 2012 9:04 am

G3K0 wrote:Can you post your ipconfig results from within Windows along with your ifconifg result from Mac terminal?
Might be something small/typo...


That was going to be my next question as well :)
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

PreviousNext

Return to PokerTracker 4

Who is online

Users browsing this forum: No registered users and 46 guests

cron
highfalutin