techPowerUp! Forums

Go Back   techPowerUp! Forums > Software > General Software

Reply
 
Thread Tools
Old Jul 22, 2008, 01:48 AM   #1
Kursah
Eligible for custom title
 
Kursah's Avatar
 
Join Date: Oct 2006
Location: Missoula, Montana, USA
Posts: 6,558 (2.72/day)
Thanks: 727
Thanked 1,349 Times in 1,118 Posts

System Specs

F@H SMP Affinity Changer

F@H SMP Affinity Changer

- It Works! (For Most) -


I posted this in our TPU F@H thread, Page 70 about half way down ( http://forums.techpowerup.com/showpo...postcount=1741 ). But I figured I'd start a new thread for it, and put it in my sig.

This little program does wonders for quad cores, allowing you to run 2 SMP clients for a total of 8 threads on a single quad core processor. This can add some serious PPD for output, a couple of drawbacks would be heavier load, and thus slightly higher temps and longer completion of WU's. How it works:

Quote:
After some time interval (10 mins) utility checks, if there are 4 processes of FahCore_a1 (one FAH SMP client). If so, and system has 2 CPUs or 2 cores, then utility assigns two processes for each core in some magic way: first core gets process with maximal memory usage, and process with minimal memory usage. Other two processes are assigned to second core.

For quad core processors, first SMP client is assigned to 1st and 3rd core, 2nd SMP client assigned to 2nd and 4th core. Assigning affinities on QUAD if you run one SMP client does not make sense.

Attention: Version 1.0.5 support 8-core computers (2 quad-core processors only).

Security notice: Affinity Changer does not connect to internet. period.
F@H SMP Affinity Changer

TPU's F@H Thread, Team# 50711


Feel free to post your results, gripes, praises, complaints, disbeliefs, support here, I am only posting this because my results turned out better than I truly expected out of it...I figured it would maybe do nothing, add 100PPD to each IF THAT...well I was suprised, so I must share! And if you do find this useful, please leave a thanks!

I know back when I first posted this, using this on AMD processors wasn't doing so well. I'm not sure atm, and would like some feedback on that end of things.


Last edited by Kursah; Apr 15, 2009 at 05:00 AM.
Kursah is offline  
Reply With Quote
The Following 3 Users Say Thank You to Kursah For This Useful Post:
Old Jul 24, 2008, 05:03 AM   #2
Kursah
Eligible for custom title
 
Kursah's Avatar
 
Join Date: Oct 2006
Location: Missoula, Montana, USA
Posts: 6,558 (2.72/day)
Thanks: 727
Thanked 1,349 Times in 1,118 Posts

System Specs

How many of you have tried this? So far it's doing pretty good for my rigs, but with my GTX260 showing up shortly and my G/F's rig getting my 9600GT, I'll have more PPD from 2 vid cards than 3 instances of SMP running, though since I'm in a place where I don't pay power (for another month or so...), you better believe I'll have all my CPU power folding!

I'm curious to the results of other CPU's out there! So C'mon post up! I know it's worked for a few of you, and it does a great job for me, like I said before, it's best on Quads, but also improves duals. If you google this, you'll find tons of threads out there about it too!

Kursah is offline  
Reply With Quote
Old Jul 31, 2008, 03:22 AM   #3
Skitzo
200 Posts
 
Join Date: Apr 2008
Posts: 448 (0.24/day)
Thanks: 94
Thanked 86 Times in 64 Posts

it's a keeper

k, I think you may want to make a couple changes/additions to the first post. You should prolly double check my info cause I only read it once and I've been doing alot of reading in many areas.

the affinity changer monitors the client cores running on the processor. Every ten minutes (or what ever the time span is) it examines how the resoureces of the cpu are being allocated to fah and re-assigns the cores to maximize performance. On my c2d (already had 4 a1 cores running) it improved my ppd by ~150. It also allows you to run multiple instances of the smp client but depending on your hardware, 1 (dual core) or 2 (quad core) are recommended.
I've read that the affinity changer can impede performance on amd processors; it dropped my am2 by ~25% when I tried it.

We have to keep in mind that getting the highest ppd is nice but stability and accuracy are more valuble to this scientific research.

Skitzo is offline  
Reply With Quote
The Following User Says Thank You to Skitzo For This Useful Post:
Old Jul 31, 2008, 04:48 AM   #4
Kursah
Eligible for custom title
 
Kursah's Avatar
 
Join Date: Oct 2006
Location: Missoula, Montana, USA
Posts: 6,558 (2.72/day)
Thanks: 727
Thanked 1,349 Times in 1,118 Posts

System Specs

I'll definately update it...I really just wanted to get it out there, and that was a quick posting...very general...

Now that I have TPU results I can update what I have going on here! Thanks Skitzo! I'm off to bed shortly, tomorrow I'll try to remember to update the OP when I get off of work.

Kursah is offline  
Reply With Quote
Old Aug 9, 2008, 08:42 AM   #5
Kursah
Eligible for custom title
 
Kursah's Avatar
 
Join Date: Oct 2006
Location: Missoula, Montana, USA
Posts: 6,558 (2.72/day)
Thanks: 727
Thanked 1,349 Times in 1,118 Posts

System Specs

Well haven't updated the OP yet lol, but I have just updated to the new version of SMP. It supports both x86 and x64 OS's, so we'll see what happens.

I won't do before and after results this time around, if anyone is interested tho, please feel free to do so...I've become more a GPU folder since it's faster and seems to affect the energy consumption a tad...the new CPU SMP client hasn't maxed out any cores yet...it's just started tho and is only about 5 minutes into it's first run.
Kursah is offline  
Reply With Quote
Old Oct 16, 2008, 02:01 AM   #6
mmaakk
500 Posts
 
mmaakk's Avatar
 
Join Date: Sep 2008
Location: London - UK
Posts: 548 (0.32/day)
Thanks: 163
Thanked 170 Times in 125 Posts

Thanks a LOT Kursah!

I just finishing the setup. Smooth no errors. Just have some questions:

What about this parameters:

"Set -advmethods flag always, requesting new advanced
scientific cores and/or work units if available (no/yes)"

I said YES. Is it the best choice?

I'm using a E8400 dual core @ 3.6Ghz. Took me 20 minutes for 1% of the job done. Good or not?

The file "FahCore_78.exe" is using 50% of my CPU, others 25% + 25% are being used by 2 "FahCore_11.exe" from my 2 ATI cards. All OK?

Thanks
__________________

Folding@Home is very cool. Join TPU's Coolest!

“i'm skeptikal about this f@h do you know exactly what data is processed ?” -laszlo

“It's actually processing the entire internet to find the best nudie pics.” -theeldest
mmaakk is offline  
Reply With Quote
Old Oct 16, 2008, 02:26 AM   #7
BUCK NASTY
F@H Mod & 4P Enthusiust
 
BUCK NASTY's Avatar
 
Join Date: Aug 2007
Location: Tallahassee, FL. U.S.A.
Posts: 4,047 (1.92/day)
Thanks: 3,376
Thanked 2,907 Times in 1,474 Posts

System Specs

Quote:
Originally Posted by mmaakk View Post
Thanks a LOT Kursah!

I just finishing the setup. Smooth no errors. Just have some questions:

What about this parameters:

"Set -advmethods flag always, requesting new advanced
scientific cores and/or work units if available (no/yes)"

I said YES. Is it the best choice?

I'm using a E8400 dual core @ 3.6Ghz. Took me 20 minutes for 1% of the job done. Good or not?

The file "FahCore_78.exe" is using 50% of my CPU, others 25% + 25% are being used by 2 "FahCore_11.exe" from my 2 ATI cards. All OK?

Thanks
Let me know how it goes, as I have an E8400(@3.6ghz) and 2 vid cards also. I have difficulty with Affinity Changer and handle my own affinity assignments with "Get & Set Affinity".
__________________
“I'll finally be able to drool over 8 gpu in one rig... And get sued by my wallet for violent physical damage...” -Feanor

BUCK NASTY is offline  
Crunching for Team TPU More than 25k PPD
Reply With Quote
Old Apr 15, 2009, 05:07 AM   #8
Kursah
Eligible for custom title
 
Kursah's Avatar
 
Join Date: Oct 2006
Location: Missoula, Montana, USA
Posts: 6,558 (2.72/day)
Thanks: 727
Thanked 1,349 Times in 1,118 Posts

System Specs

I realise it's been 182 days since a post has been put in this thread, but I'm going to give v1.05 x64 a shot with 2 SMP console clients on my quad rig for more modern results, I'd like to see others try on other processors too, could be interesting on an i7. There is another thread for more effiecient folding using a virtual client here:

http://forums.techpowerup.com/showthread.php?t=90596

It has gained great popularity and seems to work very well. To me it seems like more work than one should need to do. I know you can manually deal with affinity, but this little program is handy and very useful for less work. But whether or not it's more effective than the other method is left to be proven...hopefully we can find out and see which is worth it for all the TPU folders out there!

Kursah is offline  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TPU's F@H Team W2hCYK Folding@Home 16536 May 20, 2013 03:57 PM
process affinity performance influence monohouse General Software 0 Sep 21, 2007 11:22 PM
x2 vs conroe/core2duo gaming, the real story AshenSugar General Hardware 49 Oct 16, 2006 12:15 PM


All times are GMT. The time now is 12:49 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
no new posts