Slashdot Mirror


Harvesting & Reusing Idle Computer Cycles

Hustler writes "More on the University of Texas grid project's mission to integrate numerous, diverse resources into a comprehensive campus cyber-infrastructure for research and education. This article examines the idea of harvesting unused cycles from compute resources to provide this aggregate power for compute-intensive work."

20 of 224 comments (clear)

  1. electricity by TedCheshireAcad · · Score: 5, Informative

    Does anyone realize that running a CPU at 100% takes more electricity than running a CPU at 10%?

    "wasted compute cycles" aren't free. I would assert they're not even "wasted".

    1. Re:electricity by TERdON · · Score: 4, Insightful

      Yeah, but it still draws a lot less letting a some computers burn some cycles, than you would have to use if you built a shiny, new, cluster. And you don't have to pay for the hardware either, because you already have it...

      --
      I have a really elegant proof for Fermat's last theorem. If this sig was only a bit longer...
    2. Re:electricity by ergo98 · · Score: 5, Interesting

      "wasted compute cycles" aren't free. I would assert they're not even "wasted".

      No doubt in the era of idle loops and HLT instructions unused processor capacity does yield benefits. However from the perspective of a large organization (such as a large corporation, or a large university), it is waste if they have thousands of very powerful CPUs distributed throughout their organization, yet they have to spend millions on mainframes to perform computational work.

    3. Re:electricity by hotdiggitydawg · · Score: 5, Insightful

      That's a very valid point, we should not assume that this usage comes at no cost to the environment. However, the cost of building and running a separate CPU dedicated to the same purpose is even higher - twice the hardware infrastructure (motherboards, cases, power supplies, what else? monitors, gfx cards, etc.), twice the number of cycles wasted loading software infrastructure (OS, drivers, frameworks eg. Java/Mono). Add to that the fact that hardware is not easily recycled and the "green" part of me suggests that cycle-sharing is a better idea than separate boxes.

      The next question is - who pays for the electricity then? University departments are notorious for sqabbling over who picks up the tab for a shared resource - and that's not even considering the wider inclusion of home users...

    4. Re:electricity by antispam_ben · · Score: 4, Insightful

      Does anyone realize that running a CPU at 100% takes more electricity than running a CPU at 10%?

      Yes, I do, the same for RAM being accessed and for a hard disk drive when it's seeking. But this is insignificant compared to the overhead of the power supply, fans, hard disk drive spindle motors, other circuitry that runs continuously, and dare I mention all those fancy-dancy computer case lights that are popular now.

      The incremental cost of these otherwise-unused cycles is so low that they can be considered free.

      So someone prove me wrong, what's the electricity cost of running a CPU at full cycles for a year vs. running at typical load? What's the cost of the lowered processor life due to running at a higher temperature. Chip makers will tell you this is a real cost, but practically, the machine is likely to be replaced with the next generation before the processor has a heat-related problem.

      Regardless, the cost is MUCH lower, in both electricity and capital, than buying other machines specifically to do the work assigned to these 'free cycles'.

      --
      Tag lost or not installed.
    5. Re:electricity by hazem · · Score: 4, Insightful

      What all of you working from the electricity cost issue are missing is that at most universities, money for capital is different than money for operations. Capital money is hard to get. An increase in your operations cost just kind of get ignored if they're not too big.

      This has political ramifications.

      The goal: get a great, powerful, cluster of compute power.

      You can't go to the administration and say, "We need to spend $150k on a compute cluster". The answer will be "we don't have one now, and everything's just fine. No."

      So, you, being resourceful, implement this campus-wide cluster system that taps spare resources. Power bills go up a bit - nobody cares.

      Now, a couple years later, lots of projects are using the cluster. But the thing isn't working well because the power's not there during normal peak usage.

      At his point you go the administration, "we're losing tuition-paying students, and several grants are at risk because our compute cluster is not powerful enough. We need to spend $250k on a new compute cluster.

      And THAT is how you manipulate your operations budget to augment your capital budget.

  2. GridMP is a commercial distributed computing impl. by ReformedExCon · · Score: 4, Interesting

    There are several non-commercial distributed computing systems, so the GridMP system isn't anything particularly new or groundbreaking. However, in companies that run very resource intensive applications and simulations, such a distributed system that uses unused CPU cycles has some serious applications.

    However, the most critical aspect of this type of system is not just that the application in question is just multithreaded, but that it be multithreaded based on the GridMP APIs. To do such would require either a significant rewrite of existing code or a rewrite of it from scratch. This is not a minor undertaking, by any means.

    If the performance of the application and every cycle counts, then that investment is definitely worth it.

    --
    Jesus saved me from my past. He can save you as well.
  3. Sure about that? by brwski · · Score: 4, Insightful

    REusing idle cycles? Really?

    --

    brwski
    "Because without beer, things do not seem to go as well''

  4. Electricity vs cost of more machines and labor by G4from128k · · Score: 5, Insightful
    Does anyone realize that running a CPU at 100% takes more electricity than running a CPU at 10%?

    This is a very insightful post, but has two crucial counterarguments
    1. Does anyone realize the cost of buying extra computers to handle peak computing loads?
    2. Does anyone realize the cost of idle high-tech, high-paid labor while they wait for something to run?
    The proper decision would balance these three (and other factors) in defining a portfolio of computing assets that can cost-effectively handle both baseline and peak computing loads. Idle CPUs aren't free, but then neither are idle people or surplus (turned-off) machines.
    --
    Two wrongs don't make a right, but three lefts do.
    1. Re:Electricity vs cost of more machines and labor by Alwin+Henseler · · Score: 5, Funny

      "The proper decision would balance these three (and other factors) in defining a portfolio of computing assets that can cost-effectively handle both baseline and peak computing loads."

      You're probably right, but oh what a beautiful line of marketing-speak... If you happen to work in management or sales somewhere, write this baby down!
    2. Re:Electricity vs cost of more machines and labor by Poltras · · Score: 5, Funny

      Worse, they contribue to global entropy, thus reducing universe lifetime... What are we doing?

    3. Re:Electricity vs cost of more machines and labor by bcrowell · · Score: 5, Insightful
      There are costs that fall on the person who's donating the cycles, and costs that fall on the person who's getting the benefit of them. Unless both people are in the same organization, operating under the same budget, it's not just a question of minimizing the total cost. In the typical situation, the cost to the donor needs to be almost zero, otherwise the donor isn't going to do it. Even in a university environment, one department may have a separate budget from another department. Or electricity may be provided from the campus without a budget charge to the departments, but other costs, like paying sysadmins, may be specific to the department.

      Personally, I ran the SETI@home client and the Golomb ruler client for a while, but stopped because of a variety of factors:

      1. It makes my configuration more complicated, and any time I buy a new computer or do a fresh install, it's one more chore to take care of.
      2. I ran SETI@home for a while at work (on my own desktop hardware I brought from home, hooked into the network at the school where I teach), but I got scared when I heard stories about people getting fired for that kind of thing at other institutions. The network admins at my school are very uptight about this kind of thing, and don't have the same ethic of openness and sharing that most academics have.
      3. If I run it at home, I'm paying for the extra electricity.
      4. Most of the clients are closed source. I'm very reluctant to run closed-source software on any machine I maintain. You might say that the people who wrote the clients are trustworthy, well-known academics, not malicious Russian gangsters, but in my experience, most academics are actually pretty piss-poor, fly-by-night programmers. What if there's a security hole? Sure, the client described in TFA is supposed to be sandboxed, but how sure can I be that the sandboxing is really secure? I'm not normally particularly paranoid about security, but the rational approach to security is to weigh costs and benefits, and here the benefits to me are zero.

      I think if grid computing is ever going to take off, it needs to become a capitalist enterprise. If someone would pay me a few bucks a day for my spare cycles, and the client was open-source, and there was close to zero hassle, I'd gladly do it. Remember, one of the good things about a free market is that it tends to be an efficient way to allocate resources.

  5. Spyware, Adware & Malware by Krankheit · · Score: 4, Funny

    I thought that was what spyware was for? When you are not using your computer, and while you are using your computer too, let your computer send out e-mail and perform security audits on other Microsoft Windows computers! In exchange, you will get free, unlimited access to special money saving offers for products from many reputable companies, such as Pfizer.

    --
    Powered by caffeine and sugar; BSD
  6. Wrong by imsabbel · · Score: 4, Insightful

    What you are saying was perfectly correct even 3 years or so ago.

    But case in point: My Athlon64 computer doubles its wallplug powerdraw (including everything:PSU, Mainboard, HD, ect) at 100% load compared to idle desktop (ok, cool%quite helps pushing idle power down).

    The cpu IS the biggest chunck besides some high-end GPUs (and even those need MUCH less power when idle), and modern cpus need 3-4 times as much power under full load compared to idle.

    --
    HI O WISE PRINCE. WHT TOOK U SO DAM LONG?
    1. Re:Wrong by big+tex · · Score: 4, Funny

      Using the Lap-Burn-O-Meter (TM) as a gauge of overall power consumption with my Powerbook G4, I can definitely say that higher cpu cycle activities (encoding 1hr AAC files, for instance) increase power usage.

      I could probably do something fancier by monitoring power draw with it unplugged, but my balls would be fried before I could tabulate the accurate data.

      --
      I think I need a new sig here.
  7. CPU power consumption by ergo98 · · Score: 5, Informative

    http://www.tomshardware.com/cpu/20050509/cual_core _athlon-19.html

    60-100W difference between idle and full power consumption. That is not an insignificant amount of power.

    1. Re:CPU power consumption by Xandu · · Score: 4, Insightful

      But it isn't that expensive. Let's call it 100W extra. 24 hours in a day gives us 2.4 kWh per day. For a year, call it 876 kWh. Approximate cost of electricity (in Texas) is about 10 cents per kilowatt-hour. That's $87.50 per year. Let's assume that you can extract half of the computer's horse-power for your cluster (the rest is lost in overhead of the cluster software etc, and of course, whatever the actual user of the PC does, which is often just word processing, email, and surfing the web). For an extra ~$175 per year you get the equivelant of another computer.

      If you wanted to get that computing power in a stand alone system, you'd not only have to purchase the PC (up front capital), but you'd have to pay more for electricity. From the reference link, only about 30% of a computer's power is used by the CPU, the rest is doing nothin'. The computers referenced, at full bore use 185W (best case). That's $162 per year at my 10 cent per kilowatt hour quote. Cheaper, sure, but by the cost of a computer? Not even close.

      Of course, there are other (hidden) costs involved in both methods, of which I'm not including in my (overly?) simplified model. And I'll just brush under the rug the fact that this kinda assumes that the average secretary has a top of the line system to surf the web with.

      --


      --Xandu
  8. Don't invent your own mouse trap by mi · · Score: 4, Insightful
    It is almost a 'meme' -- when people start on projects like this, they tend to think, off-the-shelf software (free and otherwise) is not for them and they need to write their own...

    PVM offers both the spec and the implementation, MPI offers a newer spec with several solid implementations. But no, NIH-syndrom prevails and another piece of half-baked software is born.

    Where I work, the monstrosity uses Java RMI to pass the input data and computation results around -- encapsulated in XML, no less...

    It is very hard to fight -- I did a comparision implementing the same task in PVM and in our own software. Depending on the weight of the individual computation being distributed, PVM was from 10 to 300% faster and used 5 times less bandwidth. Upper management saw the white paper...

    Guess, what we continue to develop and push to our clients?

    --
    In Soviet Washington the swamp drains you.
  9. laptop cores are much better by steve_l · · Score: 4, Interesting

    I saw some some posters from the fraunhofer institute in germany on the subject of power, with a graph of specint/watt.

    0. all modern cores switch off idle things (like the FPU) and have done for some time.

    1. those opteron cores have best in class performance

    2. intel centrino cores, like the i740, have about double the specint/watt figure. That means they do their computation twice as efficiently.

    In a datacentre, power and air conditioning costs are major operational expenses. If we can move to lower power cores there -and have adaptive aircon that cranks back the cooling when the system is idle, the power savings would be significant. of course, putting the datacentre somewhere cooler with cheap non-fossil-fueled electicity (like British Columbia) is also a good choice.

  10. You're Missing the Point by kf6auf · · Score: 4, Interesting

    Your choices are:

    1. Use distributed computing to use all of the computer cycles that you already have.
    2. Buy new rackmount computers which will cost additional money up front for the hardware and then they have their electricity and cooling costs.
    3. Spend absolutely no money and get no more computing power.

    Note that the solution in this article is obviously not free due to electricity and other support costs, but it is undoubtedly cheaper than buying your own cluster and then paying for electricity and the support costs.