Monthly Archives: February 2014

PPD/Watt Shootout: Uniprocessor Client is a Bad Idea

My Gaming / Folding computer with Q6600 / GTX 460 Installed

My Gaming / Folding computer with Q6600 / GTX 460 Installed

Since the dawn of Folding@Home, Stanford’s single-threaded CPU client known as “uniprocessor” has been the standard choice for stable folding@home installations.  For people who don’t want to tinker with many settings, and for people who don’t plan on running 24/7, this has been a good choice of clients because it allows a small science contribution to be done without very much hassle.  It’s a fairly invisible program that runs in the background and doesn’t spin up all your computer’s fans and heat up your room.  But, is it really efficient?  

The question, more specifically targeted for folding freaks reading this blog, is this:  Does the uniprocessor client make sense for an efficient 24/7 folding@home rig?  My answer:  a resounding NO!  Kill that process immediately!

A basic Google search on this will show that you can get vastly more points per day running the multicore client (SMP), a dedicated graphics card client (GPU), or both.  Just type “PPD Uniprocessor SMP Folding” into Google and read for about 20 minutes and you’ll get the idea.  I’m too lazy to point to any specific threads (no pun intended), but the various forum discussions reveal that the uniprocessor client is slower than slow.  This should not be surprising.  One CPU core is slower than two, which is slower than three!  Yay, math!

Also, Stanford’s point reward system isn’t linear but exponential.  If you return a work unit twice as fast, you get more than twice as many points as a reward, because prompt results are very valuable in the scientific world.  This bonus is known as the Quick Return Bonus, and it is available to users running with a passkey (a long auto-generated password that proves you are who you say you are to Stanford’s servers).  I won’t regurgitate all that info on passkeys and points here, because if you are reading this site then you most likely know it already.  If not, start by downloading Stanford’s latest all-in-one client known as Client V7.  Make sure you set yourself up with a username as well as a passkey, in case you didn’t have one.  Once you return 10 successful work units using your passkey, you can get the extra QRB points.  For the record, this is the setup I am using for this blog at the moment: V7 Client Version 7.3.6, running with passkey.

Unlike the older 6.x client interfaces, the new V7 client lets you pick the specific work package type you want to do within one program.  “Uniprocessor” is no longer a separate installation, but is selectable by adding a CPU slot within the V7 client and telling it how many threads to run.  V7 then downloads the correct work unit to munch on.

I thought I was talking efficiency!  Well, to that end, what we want to do is maximize the F@H output relative to the input.  We want to make as many Points per Day while drawing the fewest watts from the wall as possible.  It should be clear by now where this is going (I hope).  Because Stanford’s points system heavily favors the fast return of work units, it is often the case that the PPD/Watt increases as more and more CPU cores or GPU shaders are engaged, even though the resulting power draw of the computer increases.

Limiting ourselves to CPU-only folding for the moment, let’s have a look at what one of my Folding@Home rigs can do.  It’s Specs Time (Yay SPECS!). Here are the specs of my beloved gaming computer, known as Sagitta (outdated picture was up at the top).

  • Intel Q6600 Quad Core CPU @ 2.4 GHz
  • Gigabyte AMD Radeon HD 7870 Gigahertz Edition
  • 8 GB Kingston DDR2-800 Ram
  • Gigabyte 965-P S3 motherboard
  • Seasonic X-650 80+ Gold PSU
  • 2 x 500 GB Western Digital HDDs RAID-1
  • 2 x 120 MM Intake Fans
  • 1 x 120 MM Exhaust Fan
  • 1 x 80 MM Exhaust Fan
  • Arctic Cooling Freezer 7 CPU Cooler
  • Generic PCI Slot centrifugal exhaust fan
Ancient Pic of Sagitta (2006 Vintage).  I really need to take a new pic of the current configuration.

Ancient Pic of Sagitta (2006 Vintage). I really need to take a new pic of the current configuration.

You’ll probably say right away that this system, except for the graphics card, is pretty out of date for 2014, but for relative A to B comparisons within the V7 client this doesn’t matter.  For new I7 CPUs, the relative performance and efficiency differences seen by increasing the number of CPU cores for Folding reveals the same trend as will be shown here.  I’ll start by just looking at the 1-core option (uniprocessor) vs a dual-core F@H solve.

Uniprocessor Is Slow

As you can see, switching to a 2-CPU solve within the V7 client yields almost twice as many PPD (12.11 vs 6.82).  And, this isn’t even a fair comparison, because the dual-core work unit I received was one of the older A3 cores, which tend to produce less PPD than the A4 work units.

In conclusion, if everyone who is out there running the uniprocessor client switched to a dual-core client, FOLDING AT HOME WOULD BECOME TWICE AS EFFICIENT!  I can’t scream this loud enough.  Part of the reason for this is because it doesn’t take many more watts to feed another core in a computer that is already fired up and folding.  In the above example, we really started getting twice the amount of work done for only 13 more watts of power consumed.  THIS IS AWESOME, and it is just the beginning.  In the next article, I’ll look at the efficiency of 3 and 4 CPU Folding on the Q6600, as well as 6-CPU folding on my other computer, which is powered by a newer processor (AMD Phenom II X6 1100T). I’ll then move on to dual-CPU systems (non BIGADV at this point for those of you who know what this means, but we will get there too), and to graphics cards.  If you think 12 PPD/Watt is good, just wait until you read the next article!

Until next time…



Blog Vision Going Forward / Join Our Team!

Nuclear Wessels (Team 54345) Folding Production Graph Feb 2014--Please Join to Make us Faster!

Nuclear Wessels (Team 54345) Folding Production Graph Feb 2014–Please Join to Make us Faster!

I feel I’ve now covered enough introductory material, so it’s time to start writing the type of content that will end up being 90% of this blog.  The next few articles will investigate the F@H performance and efficiency of various computer configurations.  Ultimately, I hope to have a page with charts of PPD/Watt for various CPUs and GPUs.  That will probably take a long time (it is a never ending project as long as F@H is operational).  But, I don’t plan to go back in time and look at every processor or graphics card since Fred Flintstone was folding.  I’ll stick to new parts that are available now.  In the next post I’ll do a quick comparison of new vs. old hardware, which should be enough to dissuade people from claiming efficiency with processors and graphics cards from two years ago.  I’ll also do a quick comparison of the uniprocessor CPU client vs the multicore SMP client to show that, for a 24/7 folding rig, it just doesn’t make sense to restrict yourself to 1 CPU core.  

Also, I’d like to invite anyone who wants to join a Folding@Home team to join ours.  We’re called Nuclear Wessels, and we are team # 54345.  We’re currently ranked 464 out of almost 220,000 teams, but the competition is crazy at the top of the Leaderboards, and Nuclear Wessels needs more power to break into the top 300!

Energy Efficient Power Supplies: Part 2

A Seasonic 80+ Gold Modular Power Supply is the Perfect PSU for my Dual Opteron 4184 12-Core Server

A Seasonic 80+ Gold Modular Power Supply is the Perfect PSU for my Dual Opteron 4184 12-Core Server

The last post gave an overview of why efficiency matters for power supplies. This post is focused on how to pull this off in practice.  The 80+ (80 Plus) certification is an optional certification that power supply makers can get on their retail PSUs by submitting samples for testing at an independent lab. There are various levels of efficiency rankings within the standard, but any unit that achieves the basic 80+ rating can be considered efficient compared to the average 60-70% efficient PSUs of old.

80+ Efficiency Table

80+ Efficiency Table

For around the clock computer operation, you should get the most efficient unit possible, although the 80+ Platinum and Titanium units can be cost prohibitive.  My recommendation is to stick with an 80+ Gold unit, because they are significantly more efficient than most power supplies and can be obtained without first having to sell a kidney on the black market.  Note that the greatest efficiency can theoretically be achieved by selecting a power supply that has a rated maximum wattage of twice what your computer requires to run F@H full-blast.  For example, if your shiny new F@H rig requires 300 watts of power to run, getting an 80+ Gold PSU rated at 600 watts should guarantee you an excellent efficiency rating of 90%.  This is because power supplies tend to be most efficient at 50% of their rated maximum load.

For many power supplies you can find an efficiency curve that graphs out the unit’s efficiency vs. load, but to save yourself valuable time you might as well just buy a reputable power supply from a good manufacturer that has the 80+ Gold certification.  As with any computer part, read the user reviews before purchase to avoid a serious frowney face later. has some excellent power supply reviews, and they test their review samples in a much more grueling temperature environment than the 80+ standard requires. When buying from Newegg, just filter your PSU search by efficiency rating and then by user reviews to immediately find some good candidates.  My personal favorite is the Seasonic X-series of Gold-rated PSUs, although Antec, PC Power & Cooling, Thermaltake, Cooler Master, Corsair, and many others also make good units.  I have been using the Seasonic X-650 Gold, which is a great power supply for a bunch of reasons other than efficiency (modular cables, multiple PCI Express power connections, a smart fan, the latest ATX standard, great build quality, and so on until I’m blue in the face).  The Seasonic has reduced my desktop’s power consumption by over 32 watts at idle and 49 watts at load, compared to the Ultra X2 connect 500 watt PSU I had before.  I pitched the old one into the computer recycling bin at the local transfer station to make sure it stays out of service.  It made a nice sounding kerthunk, by the way.  (Random environmental tip: Most city dumps take recycle computer electronics for free, so take your old wasteful power supply as well as any of those nasty compact fluorescent mercury-ridden light bulbs to the dump for recycling instead of throwing them in the trash.)

Efficient Power Supplies: Part 1

Good morning!  This is an intro article…feel free to skip if you already know what efficiency means for power supplies.  Part 2 goes into detail of the 80 Plus standard and is likely a more enthralling read for you spec heads!

Let’s talk about the most important piece of hardware that a desktop computer can have…the power supply!  This little guy is responsible for electrifying all the goodies inside your computer.  Furthermore, a good power supply protects your computer from dirty power (voltage spikes, EMI ripple, power fluctuations, etc).  If you have ever read an article on custom desktop building, you probably know how crucial a good power supply is, as well as the consequences of using a cheap PSU.  Suffice it to say that, for the sake of your computer’s health, this is one area where you don’t want to skimp on cost.

There is one trait of quality power supplies that is often overlooked, and that is energy efficiency.  In a perfect world, a PSU would convert every watt of 120 V AC input power into usable DC power.  In reality a portion of the power is lost as heat.  The more efficient a power supply, the less energy it wastes as heat.  In other words, your computer simply draws fewer watts from the wall.

Having an efficient power supply is crucial for F@H contributors and non-folders alike, because it will make your computer less power hungry no matter what it is doing.  From gaming and graphics design to office work and Folding@Home, an efficient PSU will put a smile on your P3’s cute little face.  (If you don’t get the reference, please also read the previous post about Watt meters)

Before I go on, I should note that the target audience of this article is those who have built or are building their own custom desktop.  People with laptops or with name-brand consumer desktops are sometimes out of luck because the power supplies are often proprietary and can’t be upgraded.  However, it doesn’t hurt to find out from the manufacturer of your computer what the efficiency of your power supply is.  Some brands, such as Dell, HP, and Apple (among others) do have energy efficient power supplies of varying levels in their machines.

Cheap No-Name Brand Power Supply Unit that Came with a Case Bundle

Cheap No-Name Brand Power Supply Unit

If your power supply looks as lame as the one in the above pic, then it probably has an efficiency rating of 60 to 70 percent.  This means that if your computer parts need roughly 200 watts of power to run, your PSU might draw 250 watts or more from the wall in order to supply the 200 watts of DC power.  That extra 50+ watts is wasted as heat.

PC Power & Cooling SILENCER PSU

PC Power & Cooling SILENCER PSU

Seasonic SS-380GB PSU Installed

But, if your power supply looks like the one in Pic # 2 or #3, it might be closer to 80 or 90 percent efficient.  For that same 200 watt load, it is only drawing perhaps 220 watts from the wall.  The thirty watt difference might not seem like much, but for a Folding rig running 24/7 the wasted wattage of the el-cheapo unit adds up.  Let’s assume we are running a machine with the craptastic PSU.  To calculate the total extra energy wasted relative to the better PSU (remember, watts is a power quantity, which means energy/time), we need to multiply the wasted wattage by the amount of time the computer was in service to get an energy quantity in watt-hours.  So, 30 watts * 24 hours/day * 365 days/year = 262800 watt-hours.  Converting to kilowatt hours (dividing by 1000) gives 262.8 kWh.  Assuming an average electricity cost of ten cents per kWh, we get an annual cost of 262.8 * 0.10 $/kWh = $26.28.  Assuming the folding computer is running with that same power supply for 5 years (mine has been going for longer), that is over $125 wasted dollars, not to mention a slap in the face for poor planet Earth!  A good energy efficient PSU could have been bought for $40 in the first place to negate this wasted energy cost and lessen the environmental impact.

So how can you spot an efficient power supply unit?  Well, for that you can go by the independent test & certification program known as 80+.  I will cover this in detail in the next article, so that people who want to jump right into the specs and skip this intro can do so.

Fun with Watt Meters

So I lied…no power supply article tonight.  We are going to talk about watt meters instead, because without one you have no idea how much electricity your Folding rig is slurping from the wall socket.  This is obviously useful for other things as well…if you are a nerdy engineer like me, you can entertain yourself for hours by testing the power draw of everything in your house.  Did you know it costs me five cents of electricity to brew a pot of coffee in the morning?!?

My Dirty Old P3 Kill A Watt Meter

My Dirty Old P3 Kill A Watt Meter

Anyway, the reviews on this blog will make use of the P3 Kill-a-Watt meter (above), and I suggest you pick one up as well.  They are only 20 bucks on Newegg, and that’s a steal for something that can tell you the supplied volts, power factor, power, current draw, and cumulative Kilowatt-hours consumed from attached devices.  It also is a fun way to nerd out in front of friends and family.  Seriously, you can test everything (well, not things like microwaves.  Those cause the little P3 to scream in agony due to exceeding its rated amperage handling capacity).  Finding hidden power draws and disproving manufacturer efficiency claims has never been so fun!  This will also help you to save money by realizing the value of turning certain devices off during the day, thus helping to offset your F@H addiction.

Anyway I am writing this on my phone (currently drawing 8 watts of power from the wall charger in case you care), so I’m not going to bother pecking in every last virtue of this nifty device lest my thumbs fall off.  The reviews on Newegg speak for themselves…P3 Kill-a-Watt meter for the win!  Get one!

Efficiency Defined

Give Me Efficiency or Give Me an Empty CPU Socket!

You could always just remove your CPU to slash your power consumption, but no cancer gets cured that way.

Hi guys & gals!

Before I start talking the specifics of various computer hardware configurations, let’s get the definition of efficiency out of the way.  After all, computational efficiency is where it’s at!  That is the whole point of this blog.

Warning: Math Time (feel free to skip down a few paragraphs if you know this already):

Efficiency is a numerical ratio of two work or power quantities.  It has the general form of OUTPUT / INPUT.  Basically, it tells you how much desired work you got out of some process for a certain amount of input.  For a true mechanical or electrical efficiency, the units of both the numerator and denominator would be the same.  For example, our microwave at work generates 1200 watts of cooking power inside the machine, but draws 1488 watts at the wall.  Thus, it’s efficiency in terms of cooking power is: 1200 / 1488 = .806.  Multiply this fraction by 100 to get the efficiency percentage, and you see that our microwave is 80.6 % efficient at heating food.  Where did the rest of the energy go?  Well, in this case there was the power required to run the computerized guts, spin the turn table, spin the fan, light the light, etc.  There are also electrical losses in the circuits that get dissipated as heat into the microwave’s chassis.

Another good example is light bulbs.  In this case, we are looking at something called efficacy, not an electrical efficiency (but it is directly related), because the units in the numerator and denominator are going to be different.  It is possible, but less intuitive, to convert into a true efficiency ratio (visual power out / electrical power in), but I’m not going to go there because it hurts my brain.  Anyway, the good old 60 watt light bulb uses 60 watts (gosh) to create about 800 lumens of light.  By comparison, compact fluorescent bulbs use about 12-14 watts, and the new CREE LED bulbs use 9.5 watts.  Thus, the luminous efficacy of a 60 watt light bulb is 800 lm / 60 w = 13.3 lumens per watt.  On the other hand, the luminous efficacy of the awesome CREE LED bulbs (I have them everywhere in my house now) is 800 lm / 9.5 w = 84 lm/watt.  That is over 6 times more efficient than the old-fashioned tungsten filament bulb!  (Aside: you really should change out any 60 watt or 100 watt bulbs you still have in your house with CFL or CREE LED bulbs.  This is a great step towards negating your F@H carbon footprint! PLUS, IT  SAVES YOU MONEY!)

So, how does this relate to folding?  While, with F@H there is an accepted definition of work done, called Points.  The more work units complete, the more points you get.  Also, the faster your computer does the work units the more points you get (big time…it is exponential.  More on Stanford’s Points scheme later…).  So, to make this a power quantity (work done over time), we need to divide the # of points your computer is generating by the number of days it took to get those points.  Thus, we get to the most common rating of Folding@Home performance: The Points per Day unit (PPD).

We can obtain a rough “efficiency” of a F@H computer by dividing the PPD (scientific work output) by the electrical power (input) of the computer.  Note that this is really more of an efficacy rating (how effective something is at producing a desired output) but everyone on the interwebs calls it an efficiency so I will suppress the engineer in me and go with the flow of electrons on this one.

So, our F@H efficiency is PPD/Watt.  This is so central to this blog that I am going to say it again, for those skimmers who don’t like reading.

F@H efficiency is measured in Points Per Day / Watt!!!!

This is what we are concerned with.  Slow computers from 5 years ago still use a similar amount of electricity as today’s modern ones, but they are bricks when it comes to processing.  The amount of slow, crappy computers that are still running F@H is insane, and it is growing!  This is one of the main reasons why Folding gets a bad rap…the overall efficiency of the supercomputer as a whole is terrible.  We need to fix this!  Thankfully, Stanford & Sony have already ditched F@H on the Playstation 3.  This partnership was once one of the greatest boons to the F@H network, as back in the day the PS3’s were some of the fastest machines on the planet.  But, as computers got faster and the years went by, PS3’s became a poor choice relative to the new, super-efficient desktop processors and graphics cards.  Thus, F@H was removed as an option for Playstation users (much to their annoyance).  However, there is less management going on with the computer side of the F@H network (which is currently all of it).  If I want to, I can pull out my old Pentium 4 machine and get 100 PPD / 150 watts of power = 0.67 PPD/Watt!  But why would I want to spend money & kill the planet for that measly amount of performance?

I get the sense that you are likely getting the point by now, and thus I probably can stop rambling.  I can talk efficiency and specs all day (much to my wife’s annoyance).  The key takeaway is this:  Computers are always getting faster and more efficient.  F@H is as well, but is hindered by the amount of old computers that are stuck in yesteryear’s levels of efficiency.  We need to fix this.  We want to make our electrical contribution worth something.  WE WANT TO GENERATE AS MANY PPD/WATT AS POSSIBLE!  And that is exactly what we are going to do.  Over the next few posts, we’re going to talk in slightly less general terms about two things: how to Maximize PPD and how to Minimize Computer Power Consumption.  The latter is especially relevant to any computing project, even gaming or home computer use, so please feel free to read on even if you don’t plan to fold yourself.  Saving the planet and saving money by not using any more electricity than you need to accomplish a task is a worthy goal.  Tune in next time for the first hardware article: PC Power Supplies!

Second Intro

My Space Heaters in Winter!

My Space Heaters in Winter!

Welcome back to the fold!  After reading my first post, I realized that I did a terrible job at explaining what this blog is about.  So here’s a second attempt.

Folding at Home (F@H) is a distributed computing project hosted by Stanford University.  It’s basically computer charity, although it’s not an effort to save computers from viruses or from the Seven Slow Deaths of Obsolescence.  F@H uses your computer to turn electricity into scientific advancements that help people.

By running computer simulations for Stanford, we help researchers discover secrets about cancer and other diseases.  F@H is the largest distributed supercomputer in the world, with over 150 thousand active physical CPUs spread across the globe.  Many of the people who participate have a personal connection to the cause, such as a relative with Alzheimer’s, a Mad Cow, or cancer.  Others just wanted a unique way to give to charity.  No matter what the specific case is, F@H contributors often explain their reasoning as:

1.  I want to help people!

2. I am a huge geek!

For the typical contributor, the process is simple.  They download the uniprocessor client from Stanford, install it, and let it run it in the background on their computer during the day.  That’s great, however as with many things in life there is a downside.  If you have ever seriously researched Folding@Home, you might have come across a group of haters on the internet that bash the program for being an environmental disaster.  They say that Folding@Home is actually killing people & the planet at the same time.  With thousands upon thousands of computers eagerly juggling protein molecules, there are millions upon millions of watts being sucked out of wall outlets all over the world–outlets that connect back to power plants that burn fossil fuels and split atoms.  These people point out that even if your computer was going to be on anyway, the Folding application requires enough resources to keep it from ever going into a low-power idle state.  Thus, by striving to understand diseases, we may be dumping more junk into the environment that causes them in the first place.  And thus the dilemma: how can we fold to save lives without hurting the planet in which we live?  This brings me to the point of this blog: computational efficiency.   On these pages we will discuss how to contribute to F@H as efficiently and as cleanly as possible, as well as general environmental tips to help offset one’s F@H carbon footprint and ease that guilty conscience.  If you become a contributor who decides to implement the principles of this blog, you can defend your reasons along these lines:

1.  I want to help people

2.  I am the Overlord of Geeks.  Bow to me, geeklings!

3.  I love you, Earth!  Come here, let me give you a hug!  Or at least let me put away this big mallet I’ve been beating you with and replace it with a smaller tack hammer…

I expect this blog will ruffle some feathers.  If you are one of those people running the F@H uniprocessor client on your laptop 24/7, allow me to pause and glare at you through your monitor for a moment.  <glare> 😦 </glare>.  OK, done glaring.  First, thank you for supporting your fellow human beings.  Now, do yourself and your earth a favor and stop that F@H client right now!  I’m going to show you how to make a real difference in a way that won’t break the bank and won’t kill your puny laptop with excessive heat.  No longer will you settle for the 500, or even the 5000 Points Per Day (PPD) that you’re getting now.  We’re shooting for 100k PPD or more!  By not running F@H on old slow computers, making minimal use of the standard uniprocessor client, and finally building a dedicated F@H Rig, you can punch cancer in the face with a much bigger fist.  You’ll also cause less overall environmental impact for the amount of cancer curing being done.  Welcome to Green Folding@Home, home of  team Nuclear Wessels (Team ID 54345, the greenest Rigs in the fleet!).  I’m Chris (_QC_Paragon on the leader boards), and I’m going to show you the many ways to make a lean green Folding machine!



Green Folding@Home is Online

Icy Opteron 4184

Welcome to Green Folding

Hi everyone, and welcome to my blog.  I’m Chris, and if you haven’t guessed already, this is going to be blog about big fans :).  Well, big fans of F@H that is.  I’m assuming if you found your way here, you know what Folding@Home is.  If not, well, I’m not going to tell you what it is.  I’m too lazy for that.  But, if things go as planned, you will eventually figure it out by reading these posts.  Or, you could save yourself the mental anguish and just go read about this charitable venture at   If it leaves you with a warm fuzzy feeling, please sign up and help!  The feeling just gets better, until after eight years of contributing you just might want to start a blog about what you have learned.

First post done!  Yay + Yawn.  And I haven’t even really told you anything yet.  This is probably due to it being 4:53 in the morning, and I am positively loopy with excitement.  I promise there will be a more sane post tomorrow at some point.  Until then, FOLD ON!