Slashdot Mirror


Folding@Home Releases GPU Client

SB_SamuraiSam writes, "Today the Folding@Home Group at Stanford University released a client (download here) that allows participants to fold on their ATI 19xx series R580-core graphics cards. AnandTech reports, 'With help from ATI, the Folding@Home team has created a version of their client that can utilize ATI's X19xx GPUs with very impressive results. While we do not have the client in our hands quite yet, as it will not be released until Monday, the Folding@Home team is saying that the GPU-accelerated client is 20 to 40 times faster than their clients just using the CPU.'"

34 of 177 comments (clear)

  1. Power usage? by Anonymous Coward · · Score: 4, Interesting

    Anybody got an idea of what kind of power constant full speed GPU calculations are likely to burn?

    1. Re:Power usage? by NerveGas · · Score: 4, Informative

      I don't have specifics for that chip, but I would guess 100-150 watts. In both performance-per-cycle and performance-per-watt, it far outstrips using a general-purpose CPU.

      20x-40x the performance at 1x-3x the power usage is pretty good.

      steve

      --
      Oh, you're not stuck, you're just unable to let go of the onion rings.
    2. Re:Power usage? by jeffs72 · · Score: 2, Insightful

      Or heat for that matter. My geforce 7900 raises my box temp by 4 degrees C just doing 2d windows xp desktop work. I can't imagine running a gpu at 100% and cpu at 100% for hours on end. Better have good cooling. (granted mine does suck, but stuff).

      --
      This article has recently been linked from Slashdot. Please keep an eye on the page history for errors or vandalism.
    3. Re:Power usage? by merreborn · · Score: 5, Funny

      I can't imagine running a gpu at 100% and cpu at 100% for hours on end.

      Clearly, you're not one of the millions with an active WoW subscription.

    4. Re:Power usage? by piquadratCH · · Score: 5, Informative

      The german newsticker heise.de cites 80 watts for a X1900 card while folding.

    5. Re:Power usage? by packeteer · · Score: 2, Informative

      It still uses 100%. The the more GPU you have the more FPS you get.

      --
      unzip; strip; touch; finger; mount; fsck; more; yes; unmount; sleep
    6. Re:Power usage? by jericho4.0 · · Score: 4, Informative
      --
      "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
    7. Re:Power usage? by CTho9305 · · Score: 2, Informative

      In a CPU, when a node's value goes from 0->1 charge goes from the Vdd supply to various capacitances (gate capacitance, wire cap, a few other smaller sources) and then sits there. When the value goes 1->0, the capacitors discharge to ground. Flipping bits goes straight to heat (imagine taking water from the high side of a dam, putting it in a bucket, then later dumping it over the dam... you end up with heat).

    8. Re:Power usage? by rtyall · · Score: 2, Informative

      If you have a look around, the X1900XT actually uses about 110 watts peak, for most board suppliers. The X1900XTX only uses about 120 watts.
      There's a few places that confirm this, here they show just the VGA card usage, here they show the total system power usage.

  2. drawback by User+956 · · Score: 2, Funny

    the Folding@Home team is saying that the GPU-accelerated client is 20 to 40 times faster than their clients just using the CPU.

    Yeah, but what kind of results do you get if you combine the GPU-accelerated client with a KillerNIC video card? It must at least triple the speed. at least.

    --
    The theory of relativity doesn't work right in Arkansas.
  3. good, I think... by joe+155 · · Score: 2, Insightful

    I like the idea of F@H, but I do worry about 1) opening up my computer to security risks and 2)damaging my computer because the processor (or now GPU) is getting hammered by always being accessed.

    Are either of my worries vaild? can it damage it (or speed up its death) and what's the probability of a security threat?

    --
    *''I can't believe it's not a hyperlink.''
    1. Re:good, I think... by rrhal · · Score: 2, Interesting

      The capacitors in the power section of your motherboard have a finite life. If you are handy with the soldering iron you can replace these in an afternoon for about $15. I wonder how well the new (to motherboards at least) solid core Capacitors will do.

      --
      All generalizations are false, including this one. Mark Twain
    2. Re:good, I think... by ThePeices · · Score: 4, Informative

      You wont damage your card. The GPU's cooling system is rated for keeping the GPU within its thermal design spec at full load, how long you run it doesnt matter as long as there is adequate ventilation. That applies to gaming too, so its not a problem. As to sppeding up its death, your card will become obsolete by the time that happens.

    3. Re:good, I think... by Aladrin · · Score: 2, Insightful

      Yes, it'll be 'good enough' 10 years from now, as long as you don't plan to do any more then than you do today. Don't buy any more hardware or software and hope to hell you have no problems.

      Face it, computers are one of the fastest changing technologies. Intel plans to have some ridiculous hardware in only 5 years. 80 core CPUs? Crazy. If you think your current dusl dual-core setup (I'm assuming you have the best PC possible to back up that 10 yr statement) will be able to handle what an 80-core doesn't blink at, you're crazy. It's going to have approx 20 times the power, assuming no other advances in speed.

      No, that logic works great for cars and toasters, but computers just change too much.

      --
      "If you make people think they're thinking, they'll love you; But if you really make them think, they'll hate you." - DM
    4. Re:good, I think... by Prosthetic_Lips · · Score: 2, Insightful
      If my computer is good enough today, it should be good enough 10 years from now.

      I hope I just missed your <sarcasm> ... </sarcasm> tags.

      Ever hear of Moore's Law?

      wikipedia: Moore's Law

      Transistor density has been doubling every 24 months (I recall it being quoted as 18 months, but we would be arguing semantics) for as long as I can remember. In 10 years, that's 2**5, or 32 times denser than it is right now. And you think the computer you have now will run anything remotely close to what is running then? You won't even be able to load the operating system.

      Think back 10 years ago (1996), what was the "hot computer" filled with? The original Pentium, probably running at a blazing 66MHz?

      Next let's quote Bill Gates, "640K should be enough for anyone."

  4. Good use of my GPU when idle... by CaptCanuk · · Score: 2, Funny

    Looks like a good use of my ATI card when I'm not gaming or Google Earthing under Linux. Sweeeet!

    --
    ---- The geek shall inherit the Earth.
    1. Re:Good use of my GPU when idle... by Trogre · · Score: 3, Informative

      Two problems:

      1) There is no Linux GPU client (yet)
      2) Many gamers who use Linux have gone nVidia due to driver support. There is no nVidia client (yet)

      --
      "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
  5. Folding@home versus Grid.org by Anonymous Coward · · Score: 2, Interesting

    IMHO, the work the oxford university/grid .org cancer project is more important than understanding folding. It seems that folding@home is not directly working on producing a cure and they are focusing on understanding "how" something happens.

    Check out http://www.chem.ox.ac.uk/curecancer.html and decide for yourself. Personally, I don't see direct value/benefit to the folding@home project. I understand that knowing about misfolding is important for certain diseases and maybe even cancers ..but I see the oxford univ. as having the most immediate and long term benefit. And iIt's a shame that project receives no publicity.

    Since the "time to a cure" by understanding protein is very long term .. as cpu's get faster .. a delay would have negligible impact to the overall length of time taken. However working on directly on cures for common cancers has a more immediate benefit.

    1. Re:Folding@home versus Grid.org by P3NIS_CLEAVER · · Score: 5, Funny

      I agree. We should stop all science not having a direct impact on cancer until cancer is cured.

      --
      Please sign petition to restore sanity to our banking system!!!

      http://financialpetition.org/
    2. Re:Folding@home versus Grid.org by Matt+Perry · · Score: 3, Insightful
      It seems that folding@home is not directly working on producing a cure and they are focusing on understanding "how" something happens.
      Understanding how something does or doesn't work is the first step to fixing things. Maybe what is learned by Folding@Home can be applied to solve problems in other areas like cancer.
      --
      Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
    3. Re:Folding@home versus Grid.org by Gumber · · Score: 2, Insightful

      Dude, as basic reasearch goes, gaining a better understanding protein folding has a huge number of applications, including, I dare say, finding a cure for cancer.

  6. Two words: closed architecture by J.R.+Random · · Score: 4, Insightful

    "With help from ATI, the Folding@Home team has created a version of their client that can utilize ATI's X19xx GPUs with very impressive results."

    And therein lies the rub. While GPU's are getting more and more like general purpose vector floating point units, they remain closed architectures, unlike CPUs. Only those that can get help from ATI (or Nvidia) need apply to this game.

    1. Re:Two words: closed architecture by flithm · · Score: 4, Informative

      That's not necessarily true. It is a relatively new field of computer science, and thus there's not all that much info out there yet. But once you understand the basic concepts of general purpose GPU programming anyone can do it.

      What's most likely is that the guys at Stanford started pushing the hardware to the limit, and in ways the driver developers might not have anticipated. Probably what they ran up against was bugs in the driver, and the help came from ATI in terms of ways to work around the bugs. Evidence backs this up from Folding@Home's GPU FAQ:

      [You must use] Catalyst driver version 6.5 or version 6.10, but not any other versions: 6.6 and 6.7 will work, but at a major performance hit; 6.8 and 6.9 will not work at all.

      Your next question might be, if that's true then why use ATI (who are known for poor driver quality)... it might simply be a matter of that's the hardware they had to test with, so that's what they needed to use.

      At any rate, it's definitely possible to get started doing GPU programming without vendor support.

      There's even some API's out there to help... The Brook C API (for doing multiprocessor programming) has a GPU version out called BrookGPU: http://graphics.stanford.edu/projects/brookgpu/ind ex.html

      There's even a fairly large community of people using Nvidia's own Cg library for doing general purpose stuff.

      There's also GPUSort (source code available to look at), which is a high performance sorting example that uses the GPU to do the sorting, and it trounces the fastest CPUs: http://gamma.cs.unc.edu/GPUSORT/results.html

      And last but not least there's the GPGPU site that is a great resource for all sorts of general purpose computing the GPUs: http://www.gpgpu.org/

  7. Re:Wouldn't this be folding at single precision on by jfengel · · Score: 2, Informative

    Since we're dealing with measurements (or at least simulated measurements) of the real world, the numbers are always going to be inaccurate. Even in fixed point, errors accumulate. They just accumulate in different ways.

    One problem with floating point is that it risks being unrepeatable. If you don't carefully define the terms of rounding, you'll have two different machines arrive at different results on the same calculation. But as long as you pick a standard (e.g. IEEE 754), your results are repeatable. Not any more accurate, but repeatability can be important, too, when you're dealing with potentially chaotic systems.

    Now, if the GPU hardware doesn't inherently support your rounding standard you'll have a hard time getting repeatable answers out of it. You can compensate but it's a pain in the nuts, and it undoes a lot of the advantage of having your math engine in hardware.

    Precision is purely a matter of the number of bits you throw at the problem. Fixed point is not inherently more precise; in fact, if the numbers you're working with aren't in the middle of the range of your chosen fixed point it'll be wildly imprecise.

    They may well want to use integer operations rather than floating point or fixed point. When you can redesign your operations for integer arithmetic, you get repeatable results and the operations are very, very fast. But integers can be very imprecise, for the same reason fixed-point operations are.

  8. Not really. by megaditto · · Score: 4, Funny

    Not all the power gets dissipated as heat. Some gets sent down the Internet tubes.

    --
    Obama likes poor people so much, he wants to make more of them.
  9. Re:This is impressive, but... by dsouth · · Score: 2, Informative
    FYI --
    1. SSE vectors are 128 bits -- that's two doubles, not eight. [There may be 8 sse registers, but that doesn't mean you can do 8 simultanous sse operations.]
    2. It's possible to extend precision using single-single "native pair" arithmetic. There's a paper by Dietz et al on GPGPU.org that discusses this.
    This doesn't make GPUs capable of double-precision arithmetic, and doesn't mean they will replace CPUs. But it can be used expand the number of algorithms where the vast "arithmetic density advantage" of GPUs can be applied. Top-end CPUs can do 20-30 single-precision GFLOPS, GPUs have about 10x more GFLOPs in the fragment shader ALUs. That's alot of power if you can figure out how to make it work for your problem.
  10. Security Risk? Nope, much safer than games by billstewart · · Score: 3, Insightful
    Folding@Home and similar projects aren't a security risk, as long as they're from trustable sources. They're certainly far safer than the closed-source game software that was the reason you bought a high-end 3-d accelerated video card in the first place. I'd prefer to see projects like that being open-source (at least in the sense of "you can read the source and do anything you want with it", as opposed to the stricter "accepts changes back from the community" part of the model.)


    Most of the distributed-computation projects have a very simple communication model - use HTTP to download a chunk of numbers that need crunching, crunch on them for a long time, and use HTTP (PUT or equivalent) to upload the results for that chunk, etc. Works fine through a corporate firewall, and the only significant tracking it's doing is to keep track of the chunks you've worked on for speed/reliability predictions and for the social-network team karma that helps attract participants.


    Online games normally have a much more complex communications model - you've got real-time issues, they often want their own holes punched in firewalls, there's user-to-user communication, some of which may involve arbitrary file transfer, and many of the games are effectively a peer-to-peer application server as opposed to the simple client-server model that distributed-computation runs. Fortunately, gamers would never use third-party add-on software to hack their game performance, or share audited-for-malware-safety programs with their buddies, or "share" malware with their rivals, or run DOS or DDOS attacks against other gamers that pissed them off for some reason.....


    As far as the effects of running a CPU or GPU at high utilization go, most big problems will show up as temperature, though there may be some subtle effects like RAM-hogging number-crunchers causing your system to page out to disk more often. Not usually a big worry if you're running a temperature monitor to make sure your machine doesn't overheat. Laptop batteries are an entirely separate problem - you really really don't want to be running this sort of application on a laptop on battery power. I used to run the Great Internet Mersenne Prime Search when I was commuting by train, and not only did it suck down battery, the extra discharge/recharge cycles really beat up a couple of rounds of NiMH battery packs. Oh - you're also contributing to Global Warming and to the Heat Death of the Universe. But finding cures for major diseases is certainly a reasonable tradeoff, and we'll do that faster if you're using your GPU as opposed to 10 people using general-purpose CPUs.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  11. Re:Wouldn't this be folding at single precision on by raftpeople · · Score: 2, Funny

    Precisely.

  12. charitable donations by naoursla · · Score: 3, Funny

    Is there any way I can use this to make my next graphics card purchase tax deductable?

  13. Re:Am I the only idiot? by Vegeta99 · · Score: 4, Informative

    They're studying the folds of protiens. All protiens are made of chains of amino acids, but usually more than one chain, and they're folded and twisted in a precise way in order to perform their functions. Think of them as a cell's nanomachines. Some of them are so large and complicated that it takes quite a bit of CPU power to calculate how they will fold.

  14. Increasing expectations, not hardware burnout. by Kadin2048 · · Score: 3, Informative

    You make a very good point.

    A computer that does some task today, should -- assuming it wasn't designed to be flawed or have a fixed life expectancy from the very beginning -- still be capable of doing that task in ten years. And for the most part I think this is true; it will.

    Most computers that are 10 years old still run fine today (ones that were well-made in the first place); the problem is more one of finding a purpose for them, and then finding software to run on them, then getting them to start. Actually, I would wager that lots of computers that are 20+ years old would still run fine today, depending on how they've been stored and taken care of in the interim.

    The problem isn't that machines really "wear out" all that quickly; with some exceptions few do. It's more the relentless drive of increasing expectations that puts working equipment in the landfill. At least for home users; commercial users have their support contracts to worry about, so it's slightly more complicated.

    Case in point: I have an Apple IIc in my closet right now, which I know for a fact works fine. I could take it out tomorrow, set it on my desk, put in Apple Write, fire it up and start typing away. Somewhere around I even have a dot-matrix serial printer that I could use to output from it. Everything that Apple advertised that computer as capable of doing, it is just as capable of doing today as it was twenty-one years ago. So why am I not using it? Why am I sitting here with a computer that's only four years old, when I have a perfectly functional computer from 1984 in my closet? It's not because I like spending money. It's because I want to do things that I can't do on an old computer. There are a lot of things that I consider necessities, or at least things that are nice enough to have that I'm willing to pay for them, that weren't possible or even considered more than a few years ago.

    If you honestly think that what you can do with a computer today is all you're ever going to want to do -- that you won't see some neat feature on your friend's box in 2014 and decide that you need to have it -- then you're absolutely correct; the computer you have now is the last one you ought to ever have to buy. Realistically though, most people aren't like this; they know that the computer they have today isn't going to be something they're going to want in five or ten years, and they're not willing to pay for a machine that's built to last longer than that.

    The things that people use home computers for has changed, and will continue to change, and the tasks that people want to use their computers for will drive the upgrade cycle far faster than the breakdown rate of the components does.

    --
    "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
  15. Probably poor QC by Kadin2048 · · Score: 2, Interesting

    Methinks you got a bad machine. Good that it was under warranty, though.

    I've had more than a few crappy machines that I've run at 100% utilization for months or in one case years on end, without catastrophic failures, so I don't think that any consumer machine is "not built for constant processor work." I suspect that there is a higher rate of manufacturing defects in el cheap consumer machines versus higher-end ones because of more lax quality control, but I don't think they're designed that poorly with certain exceptions (ones that have known overheating issues).

    Not that I would recommend that anybody actually purchase one, but if I was going to get a $500 OfficeDepot "blue light special," one of the first things I'd want to do to it would be to put Boinc on and peg the processor and GPU at 100% for however long the return policy on the machine was, just to see if I could find any manufacturing defects. If it incinerates itself, back to the store and get a new one -- it was probably defective. Repeat until one survives, and more likely than not it'll probably still work when you decide to recycle it for something new.

    Just as an anecdote, I have an old Compaq 600MHz Celeron that's been running at 100% for several years, with the same uptime as the power company (probably not 'five nines,' but not totally third-world either). At any given time the whole case will be rather hot to the touch. Hasn't failed yet. Admittedly, back when this was being used as a desktop computer, I think it went through a motherboard, two hard drives, and a cooling fan -- pretty much everything in it besides the floppy drive and the PSU crapped out -- so I think it's been exorcised of any defective components.

    I really am convinced that the price you pay for better hardware -- and for high quality parts in general -- are less changes to the inherent design, but better quality control and a lower overall defect rate.

    --
    "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
    1. Re:Probably poor QC by deroby · · Score: 2, Insightful
      "Some" years back I was temporarily assigned to a 'smallish' company that had around 120 PC's (Pentium 200 MMX, 98MB RAM, NT4) on the network. While talking to the admin about the Distributed.Net project he got interested in it too and after a couple of days of succesfully running the client on a the admins computers, we rolled it out overnight to all pc's on the network. The local distributed.net proxy we set up reported plenty of activity and we were looking forward to a nice spike in my statistics. Instead we (well, at first only the admin =) were called down the next morning to have a look at some secretary's pc that had started blue-screening and eventually had broken down completely. Same story repeated itself about 5 times and it soon became clear that the affected pc's all were 'killed' by the distributed.net client. After opening up some of them, the reason soon proved to be poor ventilation (read : the box was completely clogged up with dust & hair & yuckness and the little CPU-fan obviously had stopped turning years before...), leaving a charred cpu under the stress of 100% load for hours at a time).

      We uninstalled the client soon after that, as the number of 'spare-pc's was quickly running out =)

      The 'peak' clearly registered, but sadly didn't last long. Ahh, the days =)

      Anyway, what I wanted to say was : although ALL the pc's were identical and more less the same age, some were perfectly capable of running 100% load 24/7, others weren't. In this case it was mainly due to maintenance (or lack thereof). But I'm sure things like ambient temperature, location (eg. hidden in a closed corner under your desk), environment (eg. furry creatures hugging the box all the time) etc... can have a much more serious effect on the hardware than the labratory-tests they do during "QC" when the machine leaves the factory.

      --
      If there is one thing to be learned on slashdot, it has to be sarcasm.
  16. Good for ATI by mollog · · Score: 3, Interesting

    I predict that this new client that runs on ATI hardware will cause a spike in sales of their products. I, for one, will be trying to get this card for my computer so that I can improve the rate that folding@home runs on my system. And I'm certain that others have the same intention.

    If you think about that, it says something about us that I think is important; people want to help and they're willing to spend their money to be helpful.

    The concept of voluntary grid computing is a curious one. Why do people do this? Surely one more little CPU grinding away at a huge problem won't make a difference. Yet even though we all know this, we do it anyway. The result of this collective hopefulness and helpfulness is tangible. But what else is strange is that so little notice is given to grid computing. I don't recall hearing about it on CNN or any other news television program. SETI gets air time because it's so, well, 'out there', but the folding, aids, cancer/find-a-drug stuff is operating in obscurity.

    BTW, kudos to Slashdot for helping get the word out. I first heard about grid computing here.

    --
    Best regards.