Page 1 of 1

Tips for improving Forge performance?

PostPosted: 10 Jul 2011, 08:59
by Bukz
While playing abnormally long games on Forge where many cards are on the battlefield (at least more than 10 I'd guess), I notice long delays between phases/interrupts/etc.

I'm unable to locate minimum system requirements for Forge but am quite certain that my computer *should* be able to run it rather well. Some specs if it helps:

Code: Select all
Java Version: 6 update 24 (build 1.6.0_24-b07)
//
OS Name   Microsoft Windows 7 Ultimate 32-bit   
System Manufacturer   Hewlett-Packard   
System Model   Compaq Presario CQ50 Notebook PC   
System Type   X86-based PC   
Processor   Intel(R) Pentium(R) Dual  CPU  T3200  @ 2.00GHz, 2000 Mhz, 2 Core(s), 2 Logical Processor(s)   
Installed Physical Memory (RAM)   2.00 GB   
Total Physical Memory   1.93 GB   
Available Physical Memory   1.06 GB   
Total Virtual Memory   3.87 GB   
Available Virtual Memory   2.51 GB   
Page File Space   1.93 GB   
Page File   C:\pagefile.sys   
//
GFX Card:
Name   Mobile Intel(R) 4 Series Express Chipset Family   
Adapter Type   Mobile Intel(R) 4 Series Express Chipset Family, Intel Corporation compatible   
Adapter Description   Mobile Intel(R) 4 Series Express Chipset Family   
Adapter RAM   797.60 MB (836,341,760 bytes)   
Installed Drivers   igdumdx32.dll,igd10umd32.dll   
Driver Version   8.15.10.2281   
Color Table Entries   4294967296   
Resolution   1280 x 800 x 60 hertz   
Bits/Pixel   32   
Driver   c:\windows\system32\drivers\igdkmd32.sys (8.15.10.2281, 8.62 MB (9,035,776 bytes), 3/11/2011 4:28 PM)   
Thanks for any help ahead of time! :D

Re: Tips for improving Forge performance?

PostPosted: 10 Jul 2011, 10:42
by Snacko
You may be able to squeeze a little bit of performance by tweaking the java command line parameters (don't expect much just a bit here and there).

Code: Select all
java -Xmn128M -Xms1024M -Xmx1024M -XX:+UseConcMarkSweepGC -XX:+UseAdaptiveSizePolicy -XX:CompileThreshold=100 -XX:+UseParNewGC -jar forge.jar
Some of these might already be default values depending on your java version. The rest of the performance can only be gained by improving the code.

Re: Tips for improving Forge performance?

PostPosted: 10 Jul 2011, 15:23
by timmermac
Braids is working on a few things that should cut down on how much memory Forge uses. There's a topic on how to get the version currently on the SVN. The revision currently in place already has some of that work incorporated.