AOA Forums AOA Forums AOA Forums Folding For Team 45 AOA Files Home Front Page Become an AOA Subscriber! UserCP Calendar Memberlist FAQ Search Forum Home


Go Back   AOA Forums > General > ThunderRd's AOA FOLDING@HOME Team > Windows/Linux SMP Clients

Windows/Linux SMP Clients Folding clients that can run on multiple CPUs


Reply
 
LinkBack Thread Tools Rate Thread
  #1 (permalink)  
Old 31st December, 2007, 01:34 PM
ThunderRd's Avatar
Irreverent Query Chairman
 
Join Date: June 2007
Location: NYC native in northern Thailand
Posts: 2,232

Dual Windows SMP Clients on Quadcores

EDIT Oct '09: There are some caveats to be aware of. Before using this procedure please read this thread:
Dual Linux SMP clients on Quadcore



This is a companion to ccperf's Dual Linux SMP clients how-to, for the LINUX-impaired.

I have, as a test, replaced one of my 925 dual cores with a Q6600 a few days ago. Just a straight drop-in, no muss/no fuss, no overclocking as yet. It's in one of my home machines, folding 24/7 on XP.

With no special attention it ran 10-11 minute step times on the SMP client. That's about 2100 PPD out of the box.

But here's the good news: are you aware that you can run 2 SMP clients on your quads? Now, there are several ways to do this. You can simply install another instance of the client and run it, XP setting both clients to use all cores. This works, but it isn't the fastest way. The next way is to manually set the affinity of the first client to 2 cores, and the second client to the other two. This is faster, but it's difficult to know how Windows detected the cores on boot and which two cores currently share cache. There are various combinations that windows uses, and it can change on rebooting so it's not always the same. Also, you'd have to babysit the clients and manually set the affinity each time a new WU is started; windows has no ability to pass the affinity assignment from parent to child processes in the FAH setup. So this isn't the most efficient way to run 2 clients, either.

Then there is the big news; let software set the affinities automatically. There is a Ukrainian folder/developer who has written a small windows service that does exactly that. Here is a link to the website, it's in version 1.0.4:

Fah Smp Affinity Changer [english]

You can read it yourself but essentially it changes the affinity dynamically and adjusts it according to load changes while running. It installs easily as a service and sets itself to start automatically with windows. There are no user configurable settings, so it's painless. It's also open-source, and here's the code:

fah-smp-affinity-changer - Google Code

And an in-depth discussion on the community forum, including a few comments on Linux and VMWare application:

Folding Forum ; View topic - SMP Affinity Changer

Now, I know what you all are waiting to hear. How does it work? Well, I am pleased to say that for me it works, and works well. From the above-mentioned step times of 10-11 minutes, step times have increased to about 16 minutes, but there are 2 clients so I'm producing effectively 1% in 8 minutes. That's a difference of 1000 PPD!

So, from 2100 PPD with one client, production for 1 Q6600 at stock speeds increases to 3100 PPD [on a non-O/C friendly MB]. I believe that is a remarkable advantage for quad users. Next step for me is to try to get this *POS* MB to overclock; I don't expect much so a new one is probably in the near future.

Ask your questions here, I'll try to answer.
__________________
#1: Tt Armor, ASUS Maximus Extreme, QX9650@4.1G, 8G Corsair Dominator GT DDR3-2000, Corsair HX1050, H2O-Swiftech, Gigabyte GTX470/Arctic Accelero Xtreme Plus II, Intel 520 SSD, Kingston SSD, 2xRaptor 150G RAID0, Win 7 Pro 64
#2: Tt Shark, ASUS P5Q Pro Turbo, Q6600@3.8G, 4G HyperX-1600, Corsair HX850, CoolerMaster V10, 2xASUS 9600GT, 2xRaptor 74G RAID0, OCZ Vertex 4 SSD, Gentoo/siduction Linux [64-bit]
#3, #4: Opteron 170@2.75G nude, A8N-SLI Deluxe, Gentoo

AOA Folding @HomeOur sister site: www.gamersonlinux.com

Last edited by ThunderRd; 29th October, 2009 at 02:53 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 31st December, 2007, 01:42 PM
Samuknow's Avatar
Member
 
Join Date: September 2001
Location: Indianapolis, Indiana
Posts: 8,941
Send a message via MSN to Samuknow

Up on the front page...

You rock...
__________________
Quote:
Originally Posted by Daniel ~ View Post
It's OKAY WE accept you as you think you are here! ":O}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 2nd January, 2008, 10:11 PM
Daniel ~'s Avatar
Chief BBS Administrator
 
Join Date: September 2001
Location: Seattle Wa.
Posts: 45,605

Many thanks ThunderRD!

Copied over to "Our FAQ"

I also took the liberty of linking you 1st line reference to Cliff's guide. If this is OK?
__________________
"Though all men live in ignorance before mystery,
they need not live in darkness...
Justice is foundation and Mercy ETERNAL
."
DKE

"All that we do is touched by Ocean
Yet we remain on the shore of what we know."
Richard Wilbur

[img]/forum/attachments/random-nonsense/16515-sigs-dan_drag.jpg[/img]
Subscribers! Ask Pitch about a Custom Sig Graphic


Last edited by Daniel ~; 2nd January, 2008 at 10:16 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 2nd January, 2008, 11:47 PM
Samuknow's Avatar
Member
 
Join Date: September 2001
Location: Indianapolis, Indiana
Posts: 8,941
Send a message via MSN to Samuknow

Man, your published all over the place.....
__________________
Quote:
Originally Posted by Daniel ~ View Post
It's OKAY WE accept you as you think you are here! ":O}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 3rd January, 2008, 10:55 AM
ThunderRd's Avatar
Irreverent Query Chairman
 
Join Date: June 2007
Location: NYC native in northern Thailand
Posts: 2,232

Whatever works for the board is fine with me, Dan. You know I'll help however I can.
__________________
#1: Tt Armor, ASUS Maximus Extreme, QX9650@4.1G, 8G Corsair Dominator GT DDR3-2000, Corsair HX1050, H2O-Swiftech, Gigabyte GTX470/Arctic Accelero Xtreme Plus II, Intel 520 SSD, Kingston SSD, 2xRaptor 150G RAID0, Win 7 Pro 64
#2: Tt Shark, ASUS P5Q Pro Turbo, Q6600@3.8G, 4G HyperX-1600, Corsair HX850, CoolerMaster V10, 2xASUS 9600GT, 2xRaptor 74G RAID0, OCZ Vertex 4 SSD, Gentoo/siduction Linux [64-bit]
#3, #4: Opteron 170@2.75G nude, A8N-SLI Deluxe, Gentoo

AOA Folding @HomeOur sister site: www.gamersonlinux.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 3rd January, 2008, 07:40 PM
Daniel ~'s Avatar
Chief BBS Administrator
 
Join Date: September 2001
Location: Seattle Wa.
Posts: 45,605

Why yes, I've noticed that about you! ":O}
__________________
"Though all men live in ignorance before mystery,
they need not live in darkness...
Justice is foundation and Mercy ETERNAL
."
DKE

"All that we do is touched by Ocean
Yet we remain on the shore of what we know."
Richard Wilbur

[img]/forum/attachments/random-nonsense/16515-sigs-dan_drag.jpg[/img]
Subscribers! Ask Pitch about a Custom Sig Graphic

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 12th January, 2008, 06:21 AM
The Spyder's Avatar
Member
 
Join Date: September 2001
Location: Oregon
Posts: 4,086
Send a message via AIM to The Spyder Send a message via MSN to The Spyder

Trying this on my Quad now

Think it will work on my Dual Quad Xeon?
__________________
~The Spyder~
I7 965, 6gigs, ASUS, 4870 X2, WD640 AALS Lian Li PC65
Nikon D700, 24-70, 70-200 2.8, SB 800x2
1993 Mazda Rx7 R1 345whp. 2008 Mazda 3 Hatch
AOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 14th January, 2008, 01:34 AM
SteveI's Avatar
AOA Staff
Tetris Champion
 
Join Date: September 2001
Location: NJ
Posts: 6,971

Very nice Thunder,

I've been thinking about going quad for some time now. The drag on windows folding really held me back, since I didn't want to try linux. Seem like this is the solution.

I did some experimenting a while back... with 2 win-smp installs. Whenever I shut down one, the other would crash out, have you seen this?
__________________
AOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 14th January, 2008, 03:23 AM
ThunderRd's Avatar
Irreverent Query Chairman
 
Join Date: June 2007
Location: NYC native in northern Thailand
Posts: 2,232

Yes, I have, and I'm not sure why that is. There must be some process that only gets invoked once, and when you shut down the client they both go down. Don't have a workaround as yet.

I have been running this cpu under Linux for a while now and it does perform a bit better than windows. It's not a great deal, but a bit more just the same. But it is definitely more stable in Linux, not as many problems getting it started, etc.

It also isn't as CPU-bound as windows. With one client under Linux it only uses about 70-80% of the cycles, whereas in Windows it uses 100%.

Hence the threads about using two clients, trying to get some of the unused cycles working. But Stanford isn't really endorsing two clients for their own reasons. See my post near the end of this thread:
Dual Linux SMP clients on Quadcore

Regardless of what they endorse, it does increase production. It will be a non-issue after they re-vamp the points system, though.
__________________
#1: Tt Armor, ASUS Maximus Extreme, QX9650@4.1G, 8G Corsair Dominator GT DDR3-2000, Corsair HX1050, H2O-Swiftech, Gigabyte GTX470/Arctic Accelero Xtreme Plus II, Intel 520 SSD, Kingston SSD, 2xRaptor 150G RAID0, Win 7 Pro 64
#2: Tt Shark, ASUS P5Q Pro Turbo, Q6600@3.8G, 4G HyperX-1600, Corsair HX850, CoolerMaster V10, 2xASUS 9600GT, 2xRaptor 74G RAID0, OCZ Vertex 4 SSD, Gentoo/siduction Linux [64-bit]
#3, #4: Opteron 170@2.75G nude, A8N-SLI Deluxe, Gentoo

AOA Folding @HomeOur sister site: www.gamersonlinux.com

Last edited by ThunderRd; 14th January, 2008 at 03:27 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 24th January, 2008, 07:26 PM
Member
 
Join Date: January 2002
Location: Lima, OH
Posts: 137

It's either mpiexec or smpd. You're sharing that service and when you shut it down on one, I believe it kills the other. I have heard of people losing the second WU when they shut down the first. Not a good idea, IMHO
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Linux SMP clients on Quadcore ccperf721p Windows/Linux SMP Clients 30 27th May, 2012 05:18 AM
Dual Linux SMP clients on Quadcore ccperf721p AOA FAQ 0 29th December, 2007 01:25 AM
Quadcores and windows versions Favu General Hardware Discussion 35 16th October, 2007 03:32 AM
Dual boot windows/linux captaincurran OS, Software, Firmware, and BIOS 4 18th November, 2005 01:53 AM
Mandrake 9 & Windows XP dual-boot ronin1967 OS, Software, Firmware, and BIOS 12 20th November, 2002 12:44 PM


All times are GMT +1. The time now is 03:21 AM.


Copyright ©2001 - 2010, AOA Forums
Don't Click Here Don't Click Here Either

Search Engine Friendly URLs by vBSEO 3.3.0