Is this safe?

Ideas, suggestions, tips & questions on how to supercharge your PC or software!

Is this safe?

Postby a1 » Sat Sep 15, 2007 9:34 am

I came accross this tweek if you might call it but is it safe?

For those of you running MS Flight Sim on Win XP and an Intel Hyperthreading CPU, here's a truly amazing performance booster:

After starting FS, go into task manager (CTRL_ALT_DEL)

Select Processes tab

Right click on FS9.exe, select "Set Affinity"

Disable one of the two check boxes so that FS9 only runs on one virtual CPU (I use CPU 0).

Do the same on any other running utilities (i.e. FDC, RC) and select the other virtual processor.

I see better than a doubling in frame rates. This, of course, assumes that hyperthreading is supported and enabled on your motherboard and BIOS settings.

An even better (permanent) way of constraining FS9 to run on a single virtual CPU on an HT CPU is using the Microsoft IMAGECFG utility (an older NT/2000 utility that works fine in XP -- do a google search). Command syntax (in a Command window):

IMAGECFG -a 0x1 \fs9.exe

This writes a processor affinity mask into the executable. 0x1 specifies virtual CPU 0, 0x2 specifies vCPU 1, and 0x3 uses both 0 & 1 (default). FS will always run on the specified virtual CPU(s) from that point on.

I have done the same to the other utilities I run on the machine while FS is running, only restricting them to the opposite vCPU.




I need to know how i works and how can I undo it.

Thanks
Image
790i : QX9650 : 4Gb DDR3 : GeForce 8800 GTX : 1 WD Raptor : 1 WD VelociRaptor 150
User avatar
a1
Lieutenant Colonel
Lieutenant Colonel
 
Posts: 7608
Joined: Thu Jan 04, 2007 9:16 pm

Re: Is this safe?

Postby Ashar » Sat Sep 15, 2007 11:08 am

Perfectly safe to do...And a real performance booster...I had that on my old machine and it gave me super FPS ;)
Blabbing Away at SimV Since June 8, 2004
Ashar
Major
Major
 
Posts: 4041
Joined: Wed Mar 14, 2007 4:13 am
Location: Ottawa, Ontario

Re: Is this safe?

Postby Puchu » Sun Sep 16, 2007 4:48 pm

I love you.  :D  Works awesome.

I didn't bother changing the processor the threads run on. Just set fsx to affinity.
Puchu
Ground hog
Ground hog
 
Posts: 46
Joined: Wed Aug 15, 2007 10:22 am
Location: GA

Re: Is this safe?

Postby justpassingthrough » Sun Sep 16, 2007 9:53 pm

in FSX you do that in the FSX config file, not Windows. They are talking about FS9


In FSX

[JOBSCHEDULER]
AffinityMask=x

1 core (or for single core hyperthread processors)= 1
2 cores = 3
3 cores = 7
4 cores = 15

and if you use Windows XP and not Vista, make sure you have the dual core hotfix installed, even for hyperthread processors which fixes the hyperthread affinity issue for FS9 and FSX with an OS patch for graphics problems and hyperthread or dual core processor use:

http://www.microsoft.com/downloads/deta ... laylang=en

and with AMD you must use their dual core optimizer with that patch. With both AMD and Intel you must make sure the registry is edited correctly with that patch. NickN explained it here:

http://www.simviation.com/cgi-bin/yabb2 ... 57795837/0



Vista already has that fix installed

with the above patch in place you do not need to mess with affinity in FS9 anymore. It does it automatically. FSX needs the edit to the config file even after that patch is installed.
Last edited by justpassingthrough on Sun Sep 16, 2007 10:03 pm, edited 1 time in total.
justpassingthrough
Captain
Captain
 
Posts: 651
Joined: Thu Dec 21, 2006 2:43 am

Re: Is this safe?

Postby Puchu » Tue Sep 18, 2007 4:36 pm

Nice info. I appreciate it. I'll check it out.

Yeah, I'm on a multithreaded p4.  :-[
Puchu
Ground hog
Ground hog
 
Posts: 46
Joined: Wed Aug 15, 2007 10:22 am
Location: GA

Re: Is this safe?

Postby Mothball » Wed Oct 03, 2007 10:42 pm

I'm not completely sure what you guys are talking about, but could this be done in Vista also? Seems that any performance modification is a good thing. Semper Fi, Dave
Last edited by Mothball on Wed Oct 03, 2007 10:43 pm, edited 1 time in total.
Mothball
 

Re: Is this safe?

Postby Ashar » Wed Oct 03, 2007 10:53 pm

Semper Fi, Dave


I like that..."Always faithful"...Very cool 8-)
Blabbing Away at SimV Since June 8, 2004
Ashar
Major
Major
 
Posts: 4041
Joined: Wed Mar 14, 2007 4:13 am
Location: Ottawa, Ontario

Re: Is this safe?

Postby Mothball » Thu Oct 04, 2007 4:50 pm

Yes Sir, Former U.S. Marine here. I can never seem to stray too far away. Thanx for noticing. Blue sky and calm wind wishes and ... Semper Fi, Dave
Mothball
 

Re: Is this safe?

Postby Slotback » Fri Oct 19, 2007 11:26 pm

I don't understand. How can forcing it to run on one thread double performance? You guys sure on this?
Slotback
 


Return to Tweaking & Overclocking

Who is online

Users browsing this forum: No registered users and 535 guests