ABXZone Computer  Forums



Welcome to the ABXZone Computer Forums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Reply
 
LinkBack Thread Tools Display Modes
Old 04-19-2006, 05:06 PM   #1
I'd rather be sailing...
 
Duke's Avatar
 
Join Date: Apr 2003
Location: USA
Posts: 266
Cool X2 and CPU Load Balancing - Affinity Setting


I have an AMD X2 4800+ on an A8N32-SLI board. I also Fold @ 80% CPU utilization (go Team 1714)! I'm wondering if it's better to set Affinity to, say, 1 for the Folding executable, thereby confining it to one CPU only (leaving the other CPU "free"), or not set any Affinity, thus letting the Folding load balance across both CPU's @40% utilization each.

Anyone have any thoughts on which is better?

Duke

__________________

Asus A8N32-SLI w/A64 4800+ 1.40 vcore; 1103 bios
Zalman 7000B-ALCu HSF w/AS5
2 WD 74 GB Raptors (Raid 0) w/WindowsXP SP2
Corsair TwinX3500LLPRO 2x1gig @2.7V 2-3-2-6 1T
ATI X1800XL SLI card


(Offline)   Reply With Quote
Old 04-19-2006, 05:45 PM   #2
Mmmm..... Folding@Home
 
Protoplasm72's Avatar
 
Join Date: Sep 2001
Location: Chicago, IL
Posts: 3,298
I haven't tried it myself but a quick google search suggests that you might see some minimal gains. It's definately not going to hurt your performance.

__________________
proto


My Folding Details

"Friends, Family, Religion... These are the three demons you must slay in order to succeed in business" C.M. Burns
(Offline)   Reply With Quote
Old 04-20-2006, 12:04 AM   #3
Forget Wakeboarding
 
h20-ski's Avatar
 
Join Date: May 2004
Location: Texas
Posts: 2,460
Just as a note, that the CPU does not load balance between the cores. What happens is that a certain part is assigned to a core and Windows sees that core loaded so it does another on the other core. Although do this at billionths of a second and it appears to be load balancing. As for perfmance gain by setting affinity, not any that you can measure. Also the X2 has a very nice interconnect between the cores so, very little is lost there. And then once the wu is complete it restarts the core (folding) so the affinity you set is now lost.
__________________
(Offline)   Reply With Quote
Old 04-20-2006, 02:15 PM   #4
I'd rather be sailing...
 
Duke's Avatar
 
Join Date: Apr 2003
Location: USA
Posts: 266
Smile

Quote:
Originally Posted by h20-ski
Just as a note, that the CPU does not load balance between the cores. What happens is that a certain part is assigned to a core and Windows sees that core loaded so it does another on the other core. Although do this at billionths of a second and it appears to be load balancing. As for perfmance gain by setting affinity, not any that you can measure. Also the X2 has a very nice interconnect between the cores so, very little is lost there. And then once the wu is complete it restarts the core (folding) so the affinity you set is now lost.
Thanks, all. h2o-ski you really helped clarify my question about how a dual core processor juggles the workload between the two cores, which was the origin of my question relative to loading one side or the other with the Folding executable. Good point also on not trying to set affinity, due to core restarts.

Cheers,
Duke
__________________

Asus A8N32-SLI w/A64 4800+ 1.40 vcore; 1103 bios
Zalman 7000B-ALCu HSF w/AS5
2 WD 74 GB Raptors (Raid 0) w/WindowsXP SP2
Corsair TwinX3500LLPRO 2x1gig @2.7V 2-3-2-6 1T
ATI X1800XL SLI card


(Offline)   Reply With Quote
Old 04-20-2006, 02:28 PM   #5
Forget Wakeboarding
 
h20-ski's Avatar
 
Join Date: May 2004
Location: Texas
Posts: 2,460
I tried it myself on the Server, and I found no major loss or gain from doing so. Although as a note if I am folding with just 2 clients, Windows Server 2k3 sometimes sets affinity by itself just loading 1 client per processor. So maybe Server 2k3 knows something that we don't.
__________________
(Offline)   Reply With Quote
Reply


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

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



Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.1
vBulletin Skin developed by: vBStyles.com