Sign in to follow this  
axeblade346

How To Keep Wurm Running On 1 Cpu (Affinity)

Recommended Posts

Kaih asked me to post this once the forums are up (it was on the temp one)

Markcrow suggestion worked for me and it I eneded up making his sollution better due to an app I use to use when testing apps I wrote.

Wurm seems to be eating away at his system and he set the Process afinity for javaw.exe to CPU0

I did the same and was stable for 40+mins before I had to quit (almost bed time)

Edit: THANK YOU MARKCROW , I have been stable for hours today.

Most application are able to run on all avaible CPU (Quod core/Core 2 Quod/i7 Means there is 4 CPUs)

But Wurm runs fine on just 1 and doesn`t use the others but keeps them hooked.

So here goes a little walkthrough to keep it set.

Download WinAFC - http://sourceforge.net/projects/affinitychanger/files/latest/download

Documentation is at http://affinitychanger.sourceforge.net/

Once the application is setup its job is to check the affinity of any exe you set it to check and set it to the correct cpu's if its not correct.

Step 1. Download and Extract WinAFC

Step 2. Edit affinityinput.txt

Line that says TestMode = 1 to #TestMode = 1

and at the bottom add

C:\Program Files (x86)\Java\jre6\bin\javaw.exe := CPU0 [attr1=val1,attr2=val2]

-- Replace C:\Program Files (x86)\Java\jre6\bin\javaw.exe with the full path to your javaw.exe

Step 3. Launch WinAFC.exe

--the Console can be hidden with Ctrl+C

Step 4. Right click on the Mini-icon next to your time and click settings, In general settings change it to +-10 Seconds in the Time interval between process checks (seconds) and clik make default , then Click ok.

From now on if Winafc is running it will check each 10 seconds and set javaw.exe to your 1st CPU named CPU0

So before you want to play Wurm , Launch Winafc and Then launch Wurm. Its Ok to leave Winafc running but close it after you closed Wurm for the Day.

Hope this helps with anyone getting Mayor DCs or just general lag.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this