F@H with Multithreaded CPU

Come join the... uh... er... fold.

Moderators: just brew it!, farmpuma

F@H with Multithreaded CPU

Postposted on Thu Apr 17, 2008 7:24 am

I recently became interested in the F@H project and decided to install the GUI client at home (for team #2630, naturally :D ), followed by the console/service client on my test machine at work (I figure it sits there unused for half of the day anyway, might as well put it to work...). The test machine has a 3.2 ghz P4 with hyperthreading, and when I check the task manager, only one thread is maxed out when the PC idles, the other is not utilized. Is there any way to utilize both threads? Perhaps installing two clients?
Last edited by zer0 on Thu Apr 17, 2008 7:45 am, edited 1 time in total.
I think the vast majority of people who tell you they have a virus actually mean 'I keep my pictures in the system32 folder and occasionally delete things at random'.

"it boots up so fast the desktop icons fly right off the screen..."
zer0
Gerbil
 
Posts: 89
Joined: Mon Oct 22, 2007 8:12 am
Location: New York

Re: F@H with Multithreaded CPU

Postposted on Thu Apr 17, 2008 7:31 am

zer0 wrote:I recently became interested in the F@H project and decided to install the GUI client at home (for team #630, naturally :D )
Welcome to the team. :)

zer0 wrote:followed by the console/service client on my test machine at work (I figure it sits there unused for half of the day anyway, might as well put it to work...).
Do check with your company's policies about installing your own software and running the computer full tilt all the time. They may not like it and we don't want you to get into trouble.

zer0 wrote:The test machine has a 3.2 ghz P4 with hyperthreading, and when I check the task manager, only one thread is maxed out when the PC idles, the other is not utilized. Is there any way to utilize both threads? Perhaps installing two clients?
Running 2x single core clients would max it out. Both clients will end up sending results slower but you will get more points. Stanford wants you to send results faster though. So it is up to you.
Image
The Model M is not for the faint of heart. You either like them or hate them.

Gerbils unite! Fold for UnitedGerbilNation, team 2630.
Flying Fox
Gerbil God
 
Posts: 24141
Joined: Mon May 24, 2004 1:19 am

Re: F@H with Multithreaded CPU

Postposted on Thu Apr 17, 2008 7:57 am

Flying Fox wrote:Welcome to the team. :)


Thanks :)

Flying Fox wrote:Do check with your company's policies about installing your own software and running the computer full tilt all the time. They may not like it and we don't want you to get into trouble.


I'm not too worried, the only people that would either monitor that or care work with me in my office, and they wouldn't mind. Afterall, it is just a test machine. Mostly I use it to test HDDs and RAM. When I'm off doing other things it just sits there, so I don't think there's any harm in letting do some good when I'm not at my workbench.

Flying Fox wrote:Running 2x single core clients would max it out. Both clients will end up sending results slower but you will get more points. Stanford wants you to send results faster though. So it is up to you.


I'm not too concerned with the points at the moment. This is mostly a proof of concept...

(FlyingFox: See PM)
I think the vast majority of people who tell you they have a virus actually mean 'I keep my pictures in the system32 folder and occasionally delete things at random'.

"it boots up so fast the desktop icons fly right off the screen..."
zer0
Gerbil
 
Posts: 89
Joined: Mon Oct 22, 2007 8:12 am
Location: New York

Re: F@H with Multithreaded CPU

Postposted on Thu Apr 17, 2008 8:18 am

If it's hyperthreading, you're better off running a single thread IIRC.
ChronoReverse
Gerbil Elite
 
Posts: 732
Joined: Wed Dec 12, 2007 3:20 pm

Re: F@H with Multithreaded CPU

Postposted on Thu Apr 17, 2008 10:27 am

One thread is good enough, I was just curious though about any way to optimize it for multithreading.
I think the vast majority of people who tell you they have a virus actually mean 'I keep my pictures in the system32 folder and occasionally delete things at random'.

"it boots up so fast the desktop icons fly right off the screen..."
zer0
Gerbil
 
Posts: 89
Joined: Mon Oct 22, 2007 8:12 am
Location: New York

Re: F@H with Multithreaded CPU

Postposted on Thu Apr 17, 2008 10:41 am

BTW: When I install the client as a service, how do I view the progress?
I think the vast majority of people who tell you they have a virus actually mean 'I keep my pictures in the system32 folder and occasionally delete things at random'.

"it boots up so fast the desktop icons fly right off the screen..."
zer0
Gerbil
 
Posts: 89
Joined: Mon Oct 22, 2007 8:12 am
Location: New York

Re: F@H with Multithreaded CPU

Postposted on Thu Apr 17, 2008 10:42 am

Try using FAHmon.
ChronoReverse
Gerbil Elite
 
Posts: 732
Joined: Wed Dec 12, 2007 3:20 pm

Re: F@H with Multithreaded CPU

Postposted on Thu Apr 17, 2008 10:48 am

Nope. That didn't do it...
I think the vast majority of people who tell you they have a virus actually mean 'I keep my pictures in the system32 folder and occasionally delete things at random'.

"it boots up so fast the desktop icons fly right off the screen..."
zer0
Gerbil
 
Posts: 89
Joined: Mon Oct 22, 2007 8:12 am
Location: New York

Re: F@H with Multithreaded CPU

Postposted on Thu Apr 17, 2008 10:55 am

zer0 wrote:
ChronoReverse wrote:Try using FAHmon.

Nope. That didn't do it...

You have to set up FAHmon to look into the working folder of the FAH program. Then it can do the monitoring. You can try FahSpy too.
Image
The Model M is not for the faint of heart. You either like them or hate them.

Gerbils unite! Fold for UnitedGerbilNation, team 2630.
Flying Fox
Gerbil God
 
Posts: 24141
Joined: Mon May 24, 2004 1:19 am

Re: F@H with Multithreaded CPU

Postposted on Thu Apr 17, 2008 11:00 am

Sooo.... How do I do that?
zer0
Gerbil
 
Posts: 89
Joined: Mon Oct 22, 2007 8:12 am
Location: New York

Re: F@H with Multithreaded CPU

Postposted on Thu Apr 17, 2008 11:09 am

zer0 wrote:Sooo.... How do I do that?

http://trac.fahmon.net/wiki/AddNewClient (screenshots here)
Image
The Model M is not for the faint of heart. You either like them or hate them.

Gerbils unite! Fold for UnitedGerbilNation, team 2630.
Flying Fox
Gerbil God
 
Posts: 24141
Joined: Mon May 24, 2004 1:19 am

Re: F@H with Multithreaded CPU

Postposted on Fri Apr 18, 2008 6:00 am

I too have a Pentium4 HT folding. Before, I was using the SMP client (it can make deadlines), but when I read that Stanford wanted the results faster, I switched to the single client and now the GPU2 client.

Supposedly, the maximum benefit you can get from a HT CPU is if you are running two clients, both with work units that use different parts of the processor (FPU, INT), and that can crank out a maximum of 20% more PPD. Running two clients, in most cases, can even make them slower than 50% of the normal.

Either way you choose to do it, welcome to the team!

(By the way, you will see your PPD increase by 4x with the addition of a 2600PRO, the fastest GPU that a P4 can feed with these work units).
41.60l23
Gerbil XP
 
Posts: 406
Joined: Wed Nov 29, 2006 9:34 pm
Location: Inside a wheel, powering your QuadFX. =(

Re: F@H with Multithreaded CPU

Postposted on Tue Apr 22, 2008 12:09 pm

Okay I have a new question


How should I fold with a DUAL PROCESSOR box where both processors have hyperthreading

Would SMP client cope with the hyperthreading well? or could i bind the HT to the two main cores and run normal clients on the HT-cores
My Dreamcast PC thread
Main Rig: FX-6100 / Radeon 6950 / Velociraptor HD because old school rotations
pikaporeon
Graphmaster Gerbil
 
Posts: 1308
Joined: Mon Nov 19, 2007 3:42 pm
Location: Mississauga, ON, Canada.

Re: F@H with Multithreaded CPU

Postposted on Tue Apr 22, 2008 12:13 pm

I'd just run a single SMP client and call it a day. The client should use enough of the resources that there really isn't much wasted space that adding an additional client would take advantage of.
Usacomp2k3
Gerbil God
 
Posts: 21240
Joined: Thu Apr 01, 2004 3:53 pm
Location: Orlando, FL

Re: F@H with Multithreaded CPU

Postposted on Tue Apr 22, 2008 12:44 pm

The SMP client actually runs 4 threads. So a single copy should keep a dual-core hyperthreaded system (or even a quad core system) busy.
(this space intentionally left blank)
just brew it!
Administrator
Gold subscriber
 
 
Posts: 36893
Joined: Tue Aug 20, 2002 9:51 pm
Location: Somewhere, having a beer

Re: F@H with Multithreaded CPU

Postposted on Wed Apr 23, 2008 5:32 am

IIRC it was in Stanford's FAQ where they said to enable the hyperthreading on dual core CPUs if possible. There were supposed to be some minimal improvement gains, but the only chips I can think of that do that (Pentium 4 XE comes to mind).
41.60l23
Gerbil XP
 
Posts: 406
Joined: Wed Nov 29, 2006 9:34 pm
Location: Inside a wheel, powering your QuadFX. =(


Return to TR Distributed Computing Effort

Who is online

Users browsing this forum: No registered users and 1 guest