Go Back   Dreams in Vanadiel - Final Fantasy XI Forum > Dreams in Vana'diel - Main Topics > General FFXI Discussion > Game Setup/Tweeking/Optimizing Q&A

Post New Thread Reply
 
LinkBack Thread Tools Display Modes
Old 07-24-2007, 10:15 AM   #1
Software Engineer
 
HairdewX's Avatar
 
Join Date: Apr 2007
Posts: 139
Style: Light Theme V7

Thanks: 17
Thanked 7x in 7 Posts
My Mood:
   
Changing process affinity

Has anyone been able to get any noticeable positive differences by changing the affinity of background and foreground processes?
HairdewX is offline   Reply With Quote Button by Aksannyi :)
Old 07-24-2007, 10:27 AM   #2
Senior Veteran
Iron Emblem of Service
 
Mhurron's Avatar
 
Join Date: May 2006
Posts: 5,231
Style: Light Theme V7

Thanks: 145
Thanked 1,896x in 1,096 Posts
Send a message via ICQ to Mhurron Send a message via Yahoo to Mhurron
   
Re: Changing process affinity

Don't do it. Once you remove a process from being controlled by the schedular it ignores it from then on. It will then begin to schedule processes to that processor/core even if usually it won't.
Mhurron is offline   Reply With Quote Button by Aksannyi :)
Old 07-24-2007, 10:29 AM   #3
Veteran Member
Allied Ribbon of Bravery
 
InuTrunks's Avatar
 
Join Date: Sep 2003
Location: Charleston, SC
Posts: 1,612
Style: Light Theme V7

Thanks: 76
Thanked 50x in 38 Posts
Send a message via AIM to InuTrunks
   
Re: Changing process affinity

Works wonders with non dual core programs. if you ever see any "speed up slow down speed up" problems, it useally means you need to turn off a core for a program.

Infact, it works wonders with FFXI and PlayOnline.
__________________
-Baka Inu!
Nejiko - Mithra Current: [ 70 THF / 35 NIN ]
Basic Jobs: [ 70 THF / 20 MNK / 11 WHM / 18 BLM / 22WAR / 05 RDM]
Advance Jobs: [ 04 BST / 37 NIN / 02 SMN / 05RNG / 07 SAM / 07 PLD / 00 DRK / 31 BRD / 00 DRG]
Aht Jobs: [07 COR / 00 BLU / 00 PUP]
InuTrunks is offline   Reply With Quote Button by Aksannyi :)
Old 07-24-2007, 10:37 AM   #4
Software Engineer
 
HairdewX's Avatar
 
Join Date: Apr 2007
Posts: 139
Style: Light Theme V7

Thanks: 17
Thanked 7x in 7 Posts
My Mood:
   
Re: Changing process affinity

Quote:
Originally Posted by Mhurron View Post
It will then begin to schedule processes to that processor/core even if usually it won't.
That's what I am trying to do.

Quote:
Originally Posted by InuTrunks View Post
Works wonders with non dual core programs. if you ever see any "speed up slow down speed up" problems, it useally means you need to turn off a core for a program.

Infact, it works wonders with FFXI and PlayOnline.
I'm more interested in in which processes to switch to which core.

Assuming a person has 2 cores, would moving the background processes and the PlayOnline process to core 0 and FFXI process to core 1 be the best set-up?
HairdewX is offline   Reply With Quote Button by Aksannyi :)
Old 07-24-2007, 10:42 AM   #5
Veteran Member
Allied Ribbon of Bravery
 
InuTrunks's Avatar
 
Join Date: Sep 2003
Location: Charleston, SC
Posts: 1,612
Style: Light Theme V7

Thanks: 76
Thanked 50x in 38 Posts
Send a message via AIM to InuTrunks
   
Re: Changing process affinity

There's a program out there called "Set Affinity" (I think that's the name of it, I can't remember, I don't have it anymore, but it's nice), which will allow the OS to "remember (via the program) which affinity to set which program when it starts up (so you don't have to change it all the time).

Normally, what I do (manually) is set all my major programs to core 0 only (unless they support dual core, then I leave them be), and all my background processes to core 1 (like AIM, FireFox, ect). You want all your MAJOR system processes set to core 0 (windows won't like it on core 1 for some strange reason).

Edit: You have it backwards, even though it's "core 1" that's core "2", logicly, all computer counts start at 0, not at 1.
__________________
-Baka Inu!
Nejiko - Mithra Current: [ 70 THF / 35 NIN ]
Basic Jobs: [ 70 THF / 20 MNK / 11 WHM / 18 BLM / 22WAR / 05 RDM]
Advance Jobs: [ 04 BST / 37 NIN / 02 SMN / 05RNG / 07 SAM / 07 PLD / 00 DRK / 31 BRD / 00 DRG]
Aht Jobs: [07 COR / 00 BLU / 00 PUP]
InuTrunks is offline   Reply With Quote Button by Aksannyi :)
Old 07-24-2007, 10:53 AM   #6
Software Engineer
 
HairdewX's Avatar
 
Join Date: Apr 2007
Posts: 139
Style: Light Theme V7

Thanks: 17
Thanked 7x in 7 Posts
My Mood:
   
Re: Changing process affinity

Quote:
Originally Posted by InuTrunks View Post
Normally, what I do (manually) is set all my major programs to core 0 only (unless they support dual core, then I leave them be), and all my background processes to core 1 (like AIM, FireFox, ect). You want all your MAJOR system processes set to core 0 (windows won't like it on core 1 for some strange reason).

Edit: You have it backwards, even though it's "core 1" that's core "2", logicly, all computer counts start at 0, not at 1.
Actually I really did mean setting FFXI on the second core. Because the single-threaded system processes almost always have to be on core 0, wouldn't it be better for the second core to handle the game for the least amount of interrupts?
HairdewX is offline   Reply With Quote Button by Aksannyi :)
Old 07-24-2007, 10:55 AM   #7
Veteran Member
Allied Ribbon of Bravery
 
InuTrunks's Avatar
 
Join Date: Sep 2003
Location: Charleston, SC
Posts: 1,612
Style: Light Theme V7

Thanks: 76
Thanked 50x in 38 Posts
Send a message via AIM to InuTrunks
   
Re: Changing process affinity

That would be nice and all, but FFXI dosn't have a seperate process, it's all handled under "PlayOnline"
__________________
-Baka Inu!
Nejiko - Mithra Current: [ 70 THF / 35 NIN ]
Basic Jobs: [ 70 THF / 20 MNK / 11 WHM / 18 BLM / 22WAR / 05 RDM]
Advance Jobs: [ 04 BST / 37 NIN / 02 SMN / 05RNG / 07 SAM / 07 PLD / 00 DRK / 31 BRD / 00 DRG]
Aht Jobs: [07 COR / 00 BLU / 00 PUP]
InuTrunks is offline   Reply With Quote Button by Aksannyi :)
Old 07-24-2007, 11:04 AM   #8
Software Engineer
 
HairdewX's Avatar
 
Join Date: Apr 2007
Posts: 139
Style: Light Theme V7

Thanks: 17
Thanked 7x in 7 Posts
My Mood:
   
Re: Changing process affinity

Quote:
Originally Posted by InuTrunks View Post
That would be nice and all, but FFXI dosn't have a seperate process, it's all handled under "PlayOnline"
So then what about moving PlayOnline exculsively to core 1? I haven't tried it yet, as I am still at work...

I was thinking that moving the non-ffxi related processes to core 0 and moving POL to core 1 would give me much better performance. Having an almost maxed out core 0, with most of core 1 all for POL.

EDIT* If only I could play at work, my work computer is a quad core and it would be much easier to spread out the affinities
HairdewX is offline   Reply With Quote Button by Aksannyi :)
Post New Thread Reply

Tags
affinity, changing, process

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -8. The time now is 07:46 PM.
Site Powered by: vBulletin Version 3.8.1 Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
©2001-2009 SQUARE ENIX CO., LTD. All Rights Reserved. Title Design by Yoshitaka Amano.
FINAL FANTASY and VANA'DIEL are registered trademarks of Square Enix Co., Ltd. SQUARE ENIX, PLAYONLINE and the PlayOnline logo are trademarks of Square Enix Co., Ltd.
Comments and posts are property of their authors. All the rest, including video, articles, compiled game data, and sections, unless otherwise noted, are
©2002-2009 FFXIOnline.com: Dreams in Vana'diel. All rights reserved.

no new posts
Page generated in 0.47041 seconds with 17 queries