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


Go Back   AOA > General > Samuknow's AOA FOLDING@HOME Team
Register FAQ Members List Calendar Arcade Search Today's Posts Mark Forums Read

Samuknow's AOA FOLDING@HOME Team Where Protein Acrobats gather to change the world!


Reply
 
LinkBack (1) Thread Tools Rate Thread
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 31st December, 2007, 05:34 AM
ThunderRd's Avatar
Member
 
Join Date: June 2007
Location: Formerly NYC; now 15+ years in northern Thailand
Posts: 456

Dual Windows SMP Clients on Quadcores

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: Thermaltake Shark, ASUS Maximus Extreme, Q6600@3.5G, 2G Corsair Dominator DDR3-1800, Tt ToughPower750, H2O TBD, 2xLeadtek 9600GT, 2xRaptor 150G, Logitech G15/G5
#2: Thermaltake Shark, ASUS A8N32-SLI Deluxe, Opteron 185@3.15G (IHS off), 2G Corsair XMS, Tt ToughPower750, Tt Bigwater, 2xASUS 8800GT, 2x Raptor 74G RAID0, Raptor 150G storage, Ubuntu 8.04
#3, #4: Opteron 170@2.75G (IHS off), A8N-SLI Deluxe, Ubuntu 8.04.......#5: A64x2 4800+@2.8G.......#6-40: Pentium D 3.0G

AOA Folding @Home

Last edited by Daniel ~ : 2nd January, 2008 at 02:15 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 31st December, 2007, 05:42 AM
Samuknow's Avatar
Defender of The Fold
 
Join Date: September 2001
Location: Indianapolis, Indiana
Posts: 8,193
Send a message via MSN to Samuknow

Up on the front page...

You rock...
__________________
"FEAR NOT" Isaiah 41:10
MOBO - eVga 680i SLI 122-CK-NF68-A1
CPU - E6400 @ 3.3 @ 1.25V
Video - 2 x 8800 GTS SLI
Cooling - Water cooled by Danger Den
Display - 3 x 21" Sony Trinitron
Case - Sunbeam Acrylic UFO case
PSU - Tuniq 950 watt Miniplant review
AOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 2nd January, 2008, 02:11 PM
Daniel ~'s Avatar
Chief BBS Administrator
 
Join Date: September 2001
Location: Seattle Wa.
Posts: 36,328

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 ETERNAL
."
DKE

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


Subscribers! Ask Pitch about a Custom Sig Graphic


Last edited by Daniel ~ : 2nd January, 2008 at 02: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, 03:47 PM
Samuknow's Avatar
Defender of The Fold
 
Join Date: September 2001
Location: Indianapolis, Indiana
Posts: 8,193
Send a message via MSN to Samuknow

Man, your published all over the place.....
__________________
"FEAR NOT" Isaiah 41:10
MOBO - eVga 680i SLI 122-CK-NF68-A1
CPU - E6400 @ 3.3 @ 1.25V
Video - 2 x 8800 GTS SLI
Cooling - Water cooled by Danger Den
Display - 3 x 21" Sony Trinitron
Case - Sunbeam Acrylic UFO case
PSU - Tuniq 950 watt Miniplant review
AOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 3rd January, 2008, 02:55 AM
ThunderRd's Avatar
Member
 
Join Date: June 2007
Location: Formerly NYC; now 15+ years in northern Thailand
Posts: 456

Whatever works for the board is fine with me, Dan. You know I'll help however I can.
__________________
#1: Thermaltake Shark, ASUS Maximus Extreme, Q6600@3.5G, 2G Corsair Dominator DDR3-1800, Tt ToughPower750, H2O TBD, 2xLeadtek 9600GT, 2xRaptor 150G, Logitech G15/G5
#2: Thermaltake Shark, ASUS A8N32-SLI Deluxe, Opteron 185@3.15G (IHS off), 2G Corsair XMS, Tt ToughPower750, Tt Bigwater, 2xASUS 8800GT, 2x Raptor 74G RAID0, Raptor 150G storage, Ubuntu 8.04
#3, #4: Opteron 170@2.75G (IHS off), A8N-SLI Deluxe, Ubuntu 8.04.......#5: A64x2 4800+@2.8G.......#6-40: Pentium D 3.0G

AOA Folding @Home
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 3rd January, 2008, 11:40 AM
Daniel ~'s Avatar
Chief BBS Administrator
 
Join Date: September 2001
Location: Seattle Wa.
Posts: 36,328

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 ETERNAL
."
DKE

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


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 11th January, 2008, 10:21 PM
The Spyder's Avatar
Member
 
Join Date: September 2001
Location: Oregon
Posts: 4,064
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~
Core 2 duo Q6600 4gigs 8800GTX 2x 320gig Lian Li PC65
D620 C2D Laptop, 6 Servers... All foldin!
Nikon D300, 17-50 2.8, 70-200 2.8, SB 600x2
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 13th January, 2008, 05:34 PM
SteveI's Avatar
AOA Staff
 
Join Date: September 2001
Location: NJ
Posts: 6,889

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?
__________________
Main Rig:965P-DS3 rev2.0- E4300@3150 (Ultra-90), 1gig XMS DDR2, LiteON 52x32x52x16CDRW/DVD, Benq1640(DVDRW), 0.7TB HDDs, BFG6600GT, rig2: 965P-S3 rev3.3-E4300@2900(Ultra-90), 1gig XMS DDR2, X700pro rig3: Abit AV8-Opteron165@2200, rig4: mATX- 3800+@2620, rig5: Yonah@1.66ghz
AOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 13th January, 2008, 07:23 PM
ThunderRd's Avatar
Member
 
Join Date: June 2007
Location: Formerly NYC; now 15+ years in northern Thailand
Posts: 456

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: Thermaltake Shark, ASUS Maximus Extreme, Q6600@3.5G, 2G Corsair Dominator DDR3-1800, Tt ToughPower750, H2O TBD, 2xLeadtek 9600GT, 2xRaptor 150G, Logitech G15/G5
#2: Thermaltake Shark, ASUS A8N32-SLI Deluxe, Opteron 185@3.15G (IHS off), 2G Corsair XMS, Tt ToughPower750, Tt Bigwater, 2xASUS 8800GT, 2x Raptor 74G RAID0, Raptor 150G storage, Ubuntu 8.04
#3, #4: Opteron 170@2.75G (IHS off), A8N-SLI Deluxe, Ubuntu 8.04.......#5: A64x2 4800+@2.8G.......#6-40: Pentium D 3.0G

AOA Folding @Home

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

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



LinkBacks (?)
LinkBack to this Thread: http://www.aoaforums.com/forum/samuknows-aoa-folding-home-team/43975-dual-windows-smp-clients-on-quadcores.html
Posted By For Type Date
Hey Bam!... - PCSTATS Forum This thread Refback 14th May, 2008 06:10 PM
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

vB code is On
Smilies are On
[IMG] code is Off
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 Samuknow's AOA FOLDING@HOME Team 26 2nd January, 2008 01:26 PM
Dual Linux SMP clients on Quadcore ccperf721p AOA FAQ 0 28th December, 2007 05:25 PM
Quadcores and windows versions Favu Dual Processor Computing 35 15th October, 2007 08:32 PM
Dual boot windows/linux captaincurran OS, Software, Firmware, and BIOS 4 17th November, 2005 05:53 PM
Mandrake 9 & Windows XP dual-boot ronin1967 OS, Software, Firmware, and BIOS 12 20th November, 2002 04:44 AM


All times are GMT -6. The time now is 10:20 AM.


Copyright ©2001 - 2007, AOA Forums

Search Engine Friendly URLs by vBSEO 3.2.0