Hi guys, I'm playing at Mansion poker, but the tip I'm going to present is usable on every poker platform. The problem with Mansion is that it is very inefficient when creating its database of played hands. I'm playing about 5 tables at a time and I often feel notable lag when hand finishes and another one is about to start. My hdd starts rattling like crazy for few seconds and new hand starts only after the rattling stops. Another problem is that when you are picking another table and hit that rattling period, Mansion won't join it and often somebody else takes that last seat, which tilts
The reason for that is simple - database file gets fragmented into a LOTS of small chunks (about 4000 fragments after a week for me) and when something has to be written to it, it takes a long time because drive needs to seek many times.
Looks like a lot of people have this problem (Mansion & many tables) and HDD is obviously the bottleneck. One solution is to run pokersoftware from RAM-disk, which is nice, but complex to maintain and handle. Regularly defragging your drive will help, but it takes a long time.
Instead, I found a solution that is both fast and easy to achieve. By using excellent freeware defragmenter called JkDefrag, it is possible to defrag only given files/directories and never touch the rest. So, if you want to give it a try, follow these steps :
Download JkDefrag from http://www.kessels.com/Jkdefrag/
Extract it somewhere (it has no installer)
Create a new text file in the same folder as you extracted JkDefrag, name it for example "pokerdefrag.bat" (it is important to change extension from .txt to .bat !!!)
Right-click on the file and click "Edit"
Now, you want to choose, what you want to defrag. If you use some tracking soft like Elephant or PokerTracker, you can defrag those also, just note the directory where every poker-software is installed
Write everything in the .bat file with following syntax :
JkDefrag.exe -a 2 -q "first_directory" "second_directory" "..."
For example, my .bat file looks like this :
JkDefrag64.exe -a 2 -q "C:\Program Files (x86)\MansionPoker\*" "C:\Program Files (x86)\PostgreSQL\*"
As you can see, I'm defraging my Mansion software and in addition to it, the PostgreSQL directory where all poker-software databases are usually stored. Basically, you put every poker-software diretory in "" apostrophes and suffix it with * to defrag everything inside. I'm using 64-bit windows so I have JkDefrag64.exe and Program Files(x86), just replace those with your filenames.
Well, after that you just run that .bat file and JkDefrag should do the work in short time (few minutes max, if you dont have some sick databases with millions of hands :)). Well, results may vary but I hope that this will help someone out when your poker-software tilts you