Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Supercomputing Hardware

Ask Slashdot: Parallel Cluster In a Box? 205

QuantumMist writes "I'm helping someone with accelerating an embarrassingly parallel application. What's the best way to spend $10K to $15K to receive the maximum number of simultaneous threads of execution? The focus is on threads of execution as memory requirements are decently low e.g. ~512MB in memory at any given time (maybe up to 2 to 3X that at the very high end). I've looked at the latest Tesla card, as well as the four Teslas in a box solutions, and am having trouble justifying the markup for what's essentially 'double precision FP being enabled, some heat improvements, and ECC which actually decreases available memory (I recognize ECC's advantages though).' Spending close to $11K for the four Teslas in a 1U setup seems to be the only solution at this time. I was thinking that GTX cards can be replaced for a fraction of the cost, so should I just stuff four or more of them in a box? Note, they don't have to pay the power/cooling bill. Amazon is too expensive for this level of performance, so can't go cloud via EC2. Any parallel architectures out there at this price point, even for $5K more? Any good manycore offerings that I've missed? e.g. somebody who can stuff a ton of ARM or other CPUs/GPUs in a server (cluster in a box)? It would be great if this could be easily addressed via a PCI or other standard interface. Should I just stuff four GTX cards in a server and replace them as they die from heat? Any creative solutions out there? Thanks for any thoughts!"
This discussion has been archived. No new comments can be posted.

Ask Slashdot: Parallel Cluster In a Box?

Comments Filter:
  • AMD (Score:2, Informative)

    by Anonymous Coward
    Why not use AMD and OpenCL?
    • Re:AMD (Score:5, Insightful)

      by tempest69 ( 572798 ) on Saturday December 03, 2011 @02:15PM (#38251172) Journal
      Because it's new, and finding someone who's done it to get some pointers is really hard.
      CUDA has been around a while, figuring it out isn't such a rough learning curve.

      Overall I'm a little suspicious of someone looking to use a GPU for more threads on a problem. As going the GPU route is a really committed step, and the programming gets a new level of complicated. Using multiple cards has some odd issues in CUDA, ie. If you exceed the card index it defaults to card-0, rather than crashing. There are more places to screw up with a GPU- transferring memory- getting blocks, threads, and weaves organized(if done properly it hides all sorts of latency in calculations, done poorly it's worse than a CPU)- avoiding memory contention (the memory scheme isn't bad, but it needs to be understood).

      So in most cases I'd first start with this chart http://www.cpubenchmark.net/cpu_value_available.html [cpubenchmark.net] and tell them to cut their teeth on a GPU with a smaller(cheaper) test case.
      • Because it's new, and finding someone who's done it to get some pointers is really hard.
        CUDA has been around a while, figuring it out isn't such a rough learning curve.

        On the downside, you're stuck with NVidia GPUs forever (or until they decide to drop CUDA, although I'll admit that's unlikely).

        • Re: (Score:2, Insightful)

          by Anonymous Coward

          That's why you would use OpenCL instead. It's a bit newer, and is still a little rough around the edges, but it works on CPU's and GPU's, and in windows or 'nix.

      • Re:AMD (Score:4, Interesting)

        by sneakyimp ( 1161443 ) on Saturday December 03, 2011 @07:01PM (#38253236)

        I wonder if QuantumMist must take into account the cost of development. To say that the application is "embarassingly parallel" and at the same time that "memory requirements are decently low" suggests that s/he has an existing application that has been run on some box and perhaps belies a bit of ignorance about the nature of parallelism. Last time I checked, more threads required more memory. If the plan is to get the maximum number of threads possible, the amount of memory required could vary enormously. Additionally, the nature of the parallelism is not discussed. What does each thread do? If it's not something a GPU does then GPUs are not going to help. Also, will a GPU even fit in a 1u box that already contains a server? I doubt it.

        In my very limited experience in writing multithreaded code, I have found that simply increasing the number of threads spawned doesn't necessarily equate to better performance. On the contrary, spawning too many can bring your application to a halt as an enormous number of threads vie for limited resources (network, disk, memory) and your application gets nothing done because it's too busy context switching between a huge number of resource-starved threads that do nothing while the threads that hold the resources never get scheduled to do valuable work.

        I'd also like to point out that simply buying GPUs doesn't mean your application will suddenly spawn an ability to take advantage of even one GPU. The software development effort required to add GPU detection and utilization could easily chew up that $10-15k budget in no time.

        If QuantumMist already has this application written and it's running but NOT GPU-enabled, then the best approach might be to just get the hottest multi-socket traditional CPU machine s/he can afford built on a dual LGA 1366 mobo [newegg.com] or quad g34 mobo [newegg.com]. Or, depending on the nature of this parallelism, it might be better to budget for some CUDA software development and a machine with a couple of GPUs.

    • by TWX ( 665546 ) on Saturday December 03, 2011 @02:17PM (#38251188)

      Why not a beowulf clust---

      I'm sorry, I just can't. I searched the ~35 posts, browsing at -1, and no reference to a Beowulf cluster anywhere, let alone Natalie Portman or Grits.

      Slashdot! You're slipping! I lament the days when even our trolls were amusing and somewhat topical to the discussion at hand! We've fallen so far!

      • Beowulf clusters (Score:4, Informative)

        by G3ckoG33k ( 647276 ) on Saturday December 03, 2011 @02:25PM (#38251248)

        Yes, I haven't seen any references here or anywhere else either lately.

        From http://en.wikipedia.org/wiki/Beowulf_cluster [wikipedia.org]: "The name Beowulf originally referred to a specific computer built in 1994 by Thomas Sterling and Donald Becker at NASA. [...] There is no particular piece of software that defines a cluster as a Beowulf. Beowulf clusters normally run a Unix-like operating system, such as BSD, Linux, or Solaris, normally built from free and open source software. Commonly used parallel processing libraries include Message Passing Interface (MPI) and Parallel Virtual Machine (PVM). Both of these permit the programmer to divide a task among a group of networked computers, and collect the results of processing. Examples of MPI software include OpenMPI or MPICH. There are additional MPI implementations available. Beowulf systems are now deployed worldwide, chiefly in support of scientific computing."

        Apparently, Beowuld clusters may be around, it is just that they don't go by that name any longer. I wonder what would be the latest buzzword for essentially the same thing?

        • by westyvw ( 653833 )

          Do they just call it nothing now days it is just expeced to be some variant, or that it is so mainstream?

      • Very informative, kinda technical: http://www.tweak3d.net/articles/howtolanparty/ [tweak3d.net]
      • by mgblst ( 80109 )

        Beowolf cluster? Is that some new fangled grid computing system?

        So yeah, the guy in the 665546 id number tells us all about the old days. Come on!

    • Re: (Score:2, Insightful)

      by Anonymous Coward

      Why not use AMD and OpenCL?

      Sure use two AMD 6990 with 3072 stream units each, for a total of 6144 ALUs per box (DP FPU) with OpenCL 1.1.
      Cost about $2500 per box! $700 per card plus $1000 for a CPU system with 1000W PSU.

  • Nothing special (Score:2, Informative)

    by Anonymous Coward

    Just put bunch of GTX cards to nice, big server case with enough fans. You are hardly going to find any cheaper alternative.
    When choosing cards, look for tests like this one:
    http://www.behardware.com/articles/840-13/roundup-a-review-of-the-super-geforce-gtx-580s-from-asus-evga-gainward-gigabyte-msi-and-zotac.html
    The IR thermal photos are great when choosing well cooled card.
    Also use SW to control card fans to keep them running at 100% fan speed.
    Noisy? Yes. But who cares, unless you plan putting it in your b

    • Re:Nothing special (Score:5, Informative)

      by TWX ( 665546 ) on Saturday December 03, 2011 @02:13PM (#38251156)

      It would have been nice if he'd given us more information about the form factor he needs to put this into. Since the client isn't paying the electric or cooling bill then I have to assume that it's colocated, so there might be some real rack unit restrictions that prevent this from adequately working well. It also would have been nice to know storage demands too, as there are tradeoffs in front-accessible drive arrays for cooling and airflow purposes. Most of the cases with tons of hot-swap drives in front lack good front ventilation. If he only needs a few drives then that opens him up to a simple 3U or 4U chassis with a mostly open-grille of a front to make airflow a lot less restrictive.

      • When building stuff like this you always put the "big" storage separately. Compute units do computing, and cache to SSD then store to the big pappy.
    • by Ruie ( 30480 )

      Just put bunch of GTX cards to nice, big server case with enough fans. You are hardly going to find any cheaper alternative.

      That's actually pretty hard to do as you need a motherboard with lots of multiple-lane PCIe connections.

      • I recall it is possible to fit a 16x card in a 1x slot (Obviously at 1x performance), but this requires the card be hacked. Literally. With a hacksaw. All the power and essential control lanes are at the front, and if 15 of the 16 data lanes are not connected then the card will simply not use them.
        • by RulerOf ( 975607 )
          It's a little easier to gouge out the back of the slot ;)
        • by Ruie ( 30480 )

          I recall it is possible to fit a 16x card in a 1x slot (Obviously at 1x performance), but this requires the card be hacked. Literally. With a hacksaw. All the power and essential control lanes are at the front, and if 15 of the 16 data lanes are not connected then the card will simply not use them.

          Impractical. GPU cards have issues with bandwidth to the host anyway, cut it to 1x and you will be much better of with a plain multicore system.

          • Depends on the task. In games, yes, they have issues with bandwidth. But in GPGPU? Very task dependant. There are some functions, like cryptographic brute forcing, for which the transfer from host to GPU is negligable.
  • by Anonymous Coward

    If the off-the-shelf GTX cards work, you'd have 8 * Xeon + 8 * NVidia GPU's in 3U, all entirely parallel (I.E. 8 separate machines) to avoid the main CPU's being any kind of bottleneck. Stock each node w/ 2GB of RAM on the cheap and some cheaper SATA drives, you'd likely end up under $10k for the whole thing and have an 8-node cluster you can use for other tasks later.

    I've noticed that "embarrassingly parallel" tasks, if you take the low-hanging fruit too far, end up running into some other unforeseen bottl

    • The one potentially tricky thing with that particular machine might be the graphics cards: PCIe x8, low profile, is not going to help your search for a high end GTX that will fit...

      Unless he is heavily space constrained, he should probably take your advice on specs; but in 1 or 2U cases where getting a double-wide, full profile, PCIe x16 card installed will be easier.
  • PS3 (Score:3, Interesting)

    by History's Coming To ( 1059484 ) on Saturday December 03, 2011 @01:41PM (#38250918) Journal
    PlayStation 3s have proved a cost efficient way of setting up large scale parallel processing systems. Of course you'll have to find your way around Sony's blocks on the OtherOS system, and you'll need to keep it off the internet or firewalled in some way, but you essentially get cheap processing subsidised by the games that you don't need to buy.
    • Re: (Score:2, Informative)

      by Anonymous Coward

      I wouldn't give Sony a dollar of my business if they had the cure for cancer and I was a week away from death.

      • Don't you realise that Sony, would make a loss on this ?

        Buying lots of subsidise PS3 and then NOT buying the games they are worse off.

        • by Gr8Apes ( 679165 )

          4 years of losses and they're still around. Talk to me when they actually disappear.

          • You obviously didn't understand the previous comment, so I'll rephrase it: Sony loses money on PS3 hardware, and makes up the loss (or so they intend to) on game sales. They profit from games and accessories, lose money on hardware. I don't know where the actual numbers fall, and whether the PS3 business as a whole is profitable, but Sony would not be trying if they only sold the game consoles, which are effectively subsidized. Talk to me when you improve your reading comprehension.
            • by Gr8Apes ( 679165 )

              Yes, I'm well aware of the concept - we'll buy lots of their hardware to do something other than support them, thus hurting them because they lose $10/unit.

              The problem is this activity still adds to their perceived marketshare and boosts their efforts and also reduces stock for items they're building anyways, and it also hurts their competition by reducing their revenue, demand, and perceived marketshare.

              Buy someone else's hardware, and support them, rather than reducing Sony's potential losses. After all,

    • Re:PS3 (Score:5, Informative)

      by Anonymous Coward on Saturday December 03, 2011 @02:15PM (#38251174)

      PlayStation 3s have proved a cost efficient way of setting up large scale parallel processing systems. Of course you'll have to find your way around Sony's blocks on the OtherOS system, and you'll need to keep it off the internet or firewalled in some way, but you essentially get cheap processing subsidised by the games that you don't need to buy.

      Back-of-the-envelope comparison of PS3 and GTX:

      A cluster of three PS3s: 920 GFLOPS. Price: about $800.

      A PC with 3 GTX 460 cards: 2200 GFLOPS. Price: about $800.

      Each of those GTX cards also has significantly more memory than the PS3, and are cheaper to develop for.

    • I think the time of the PS3 clusters has past. The Cell processor was released back in 2006! IBM released a few upgraded processors, mostly improving double-precision performance, but those systems are really cost prohibitive.

      Assuming you can deal with PCIe latency, GPUs are the way to go.

      • The Cell, at the time of release, was mind-blowingly fast. Fastest chip around. But it didn't advance very far, and more conventional processors have now overtaken it.
        • They just claimed that it was mind-blowingly fast.

          In theory there is no difference between theory and practice, but in practice there is.
    • PlayStation 3s have proved a cost efficient way of setting up large scale parallel processing systems. Of course you'll have to find your way around Sony's blocks on the OtherOS system, and you'll need to keep it off the internet or firewalled in some way, but you essentially get cheap processing subsidised by the games that you don't need to buy.

      It does have a conspicuously high price/performance ratio, but if you use it for a cluster, you won't be able to play any games. I'm pretty certain Sony locks PS3 clusters out of their gaming network, for reasons unknown to anyone but themselves.

  • by zeldor ( 180716 ) on Saturday December 03, 2011 @01:42PM (#38250934)

    do you or them know how to program on a GPU?
    if its really embarrassingly parallel EC2 spot instances and the gnu program 'parallel' will work quite nicely.
    But if coding changes are required then the hardware is the least of your expenses.
     

    • Exactly. Unless the user has some experience in CUDA/Compute shaders/OpenCL, just shoving cards in there doesn't really solve the problem.

  • by TheSHAD0W ( 258774 ) on Saturday December 03, 2011 @01:43PM (#38250944) Homepage

    > Should I just stuff four GTX cards in a server and replace them as they die from heat?

    It'd be more cost-efficient to improve the air flow or add liquid cooling. Yay mineral oil baths.

  • by Anonymous Coward on Saturday December 03, 2011 @01:48PM (#38250974)

    You can easily build a 64core 1U system with opterons using the quad socket setup, or 128 core using the quad socket with extension setup, that will only run you about 5k. These are general 128 cores, 2ghz+, you don't have to change the program to run on these, you do not need to obfuscate things as you would programming and dealing with gpus... Or you can wait for knights corner, or get the Tile64s.

    • by mcrbids ( 148650 )

      It's easy to get an embarrassing amount of processing power if you go with white box equipment. I have 8 8-way 1-U servers with 32 GB of RAM serving a heavy, database driven app. The amount of stuff that gets done with that relatively small value-priced cluster is impressive.

  • by pem ( 1013437 ) on Saturday December 03, 2011 @01:49PM (#38250984)
    If, for example, it's embarrassing parallel DSP operations, you might try some dedicated DSP engines, or even some Xilinx FPGAs.
    • by gmarsh ( 839707 )

      A GPU will spank a dedicated DSP chip at just about everything, even the highest end TI's and TigerSHARCs. Both DSPs and GPUs are designed to haul data out of memory and do vector multiplication on it, but the GPU has a heck of a lot more of both memory bandwidth and processing grunt.

      A big FPGA card, or FPGA array system like a Copacobana, might be quicker assuming I/O limitations aren't a problem for the algorithm to be run. But FPGA hardware for HPC isn't really a commodity so it's awfully expensive - you

  • U of I (Score:4, Informative)

    by TheGreatOrangePeel ( 618581 ) on Saturday December 03, 2011 @01:58PM (#38251046) Homepage
    Try getting in touch with the folks doing parallel processing research or the people with NCSA at U of I. I imagine one or both would have a few tips for you assuming they're open to doing that kind of collaboration.
    • http://parallel.illinois.edu/
    • http://www.ncsa.illinois.edu/
    • MOD PARENT UP. Parallel processing is tricky stuff and performance depends on so many things -- not just the cost of a bunch of GPUs.

  • If it's really embarrassingly parallel, just run it on whatever CPUs you have hanging about or can scrounge cheaply. As long as the application is written portably they don't even need to be the same architecture or operating system, although that would help with deployment. The only reason to try to scrunch everything in one box would be if you have space limitations.

  • by Anonymous Coward

    You can get 48 real AMD Magny-Cours CPU cores with full DP floating point support and ~64GB ECC memory in a box for under 10K(EUR!) from e.g. Tyan and supermicro.
    I run my embarassingly parallel stuff on that, and it works great. Depending on your application 64 Bulldozer cores which come in the same package for only slightly more money may perform better or not. I have not seen many realworld applications in which one GPU is actually faster than 12 to 16 server-class CPU cores.
    Of course this depends a lot o

  • Definitely GPU. (Score:5, Interesting)

    by pla ( 258480 ) on Saturday December 03, 2011 @02:06PM (#38251106) Journal
    Others have pointed it out, but if you can run this on a GPU, you don't need to look any further than that.

    Specifically, check out some of the BitCoin mining rigs [bitcointalk.org] people have built, like 4x Radeon 6990s in a single box. For comparison, a single 6990 easily beats a top-of-the-line modern CPU by a factor of 50 (as in, not 50%, but 5000%). You can build such a box for well under $5k.
  • by Haven ( 34895 ) on Saturday December 03, 2011 @02:11PM (#38251140) Homepage Journal

    In HPC we call it "pleasantly parallel," nothing is embarrassing about it! =]

    If your code:
    -scales to OpenCL/CUDA easily.
    -does not require high concurrent memory transfers
    -is fault tolerant (ie a failed card doesn't hose a whole day/week of runs)
    -can use single precision flops

    Then you can use commodity hardware like the gtx series cards. I'd go with the gtx 560ti (GF114 gpu).

    Make nodes with:
    quad core processors (amd or intel)
    whatever ram is needed (8GB minimum)
    2 x gtx560ti (448) run in SLI (or the 560ti dual from EVGA)

    Basically a scaled down Cray XK6 node. http://www.cray.com/Assets/PDF/products/xk/CrayXK6Brochure.pdf [cray.com]

    It all depends on your code.

    • by Arakageeta ( 671142 ) on Saturday December 03, 2011 @02:41PM (#38251380)

      What does SLI give you in CUDA? The newer GeForce cards support direct GPU-to-GPU memory copies, assuming they are on the same PCIe bus (NUMA systems might have multiple PCIe buses).

      My research group built this 12-core/8-GPU system last year for about $10k: http://tinyurl.com/7ecqjfj [tinyurl.com]

      The system has a theoretical peak ~9.1 TFLOPS, single precision (simultaneously maxing out all CPUs and GPUs). I wish the GPUs had more individual memory (~1.25GB each), but we would have quickly broken our budget had we gone for Tesla-grade cards.

  • by Lazy Jones ( 8403 ) on Saturday December 03, 2011 @02:15PM (#38251168) Homepage Journal
    earlier thread [slashdot.org] ...
    • ..or create one.

      Throw up a web site, advertise it on over-clocker forums and what-not, and hold a competition..

      A race with $15000 in prize money. The runners are scored on how many "work units" they complete. Work units are distributed randomly and multiple people receive the same units so there is result verification. 1st place gets $5000, 2nd place gets $4000, 3rd place gets $3000, 4th place gets $2000, and 5th place gets $1000.
  • by darkjedi521 ( 744526 ) on Saturday December 03, 2011 @02:15PM (#38251170)

    How does the app parallelize? Is each process/thread dependent on every other process/thread or is it a 1000 processes flying in close formation that all need to complete at the same time but don't interact with each other? How embarrassingly parallel is embarrassingly parallel? Is that 512MB requirement per process or the sum of all processes?

    GPUs might not be the right solution for this. GPUs are excellent for parallelizing some operations but not others. Have you done any benchmarks? Throwing lots of CPU at the problem may be the right solution depending on the algorithms used and how well they can be adapted for a GPU, if they can be adapted for a GPU.

    For the $10K-$15K USD range, I'd look at Supermicro's offerings. You have options ranging from dual socket 16 core AMD systems with 2 Teslas to quad socket AMD systems to quad socket Intel solutions to dual socket Intel systems with 4 Tesla cards.

    Do some testing of your code in various configurations before blindly throwing hardware at the problem. I support researchers who run molecular dynamics simulations. I've put together some GPU systems and after testing, it was discovered that for the calculations they are doing, the portions that could be offloaded to their code only accounted for at most 10% of the execution time, with the remainder being operations that the software packages could only do on CPU.

    • Right, do the computations actually need floating point at all or can you do fixed point maths (hence just use the integer units in the CPU) instead? Plenty of DSP oriented stuff certainly doesn't need floats. If you have integer/fixed point maths only then an AMD CPU might be a ripper for the money.
    • Finally someone talking sense. You go darkjedi.

  • Don't use high end GTX cards; twice as many lower end passively-cooled GPU cards will provide more than the equivalent performance with far less cost and failure rate. If your application really benefits more from additional threads vs single thread execution speed, this is the way to go. Most GPGPU clusters that aren't built using Tegra use this approach.

  • big FP bandwidth on a tesla doesn't do much for you if you only need integer execution. Maybe you'd be better off with a 4-cpu xeon box, or a bulldozer, or a 64-core arm. Really, you want to find a way to benchmark your particular software on a variety of potential cpu targets, and then do a price comparison.

  • by Noryungi ( 70322 ) on Saturday December 03, 2011 @02:34PM (#38251328) Homepage Journal

    http://www.mini-itx.com/projects/cluster/?p [mini-itx.com]

    The example at the URL above is quite old, but a good starting point. Just use a dozen cheap mini-itx cards with -- let's say -- Intel Core i5 and voilà! Probably the cheapest way to go, and, also much easier to program than using CUDA and nVidia. Hook the whole thing in a gigabit switch

    I'll let the experts debate the best CPU for that job, but AMD should also have some nice products on offer.

  • Don't buy GTX's (Score:5, Informative)

    by MetricT ( 128876 ) on Saturday December 03, 2011 @02:56PM (#38251536)

    We have several racks full, purchased because "they're cheaper than Tesla's".

    Except the Tesla's have, as pointed out, ECC memory and better thermal management, and the GTX's have several useful features (like the GPU load level in nvidia-smi) disabled.

    The former cause the compute nodes to crash regularly. What you save on cards, you'll lose in salary for someone to nursemaid them. The latter makes it harder to integrate into a scheduler environment (we're using Torque).

    Yes, this is primarily marketing discrimination, and there probably isn't $10 worth of real difference between the two. I hope the marketing droid who thought that scheme up burns. It's a total aggravation, but paying for Teslas is worthwhile.

    • by Khyber ( 864651 )

      Plenty of hacks to enable GPU load level. Probably several already out there as-is. The ECC memory is a different beast, though.

  • ... do not require embarrassingly parallel solutions.

    They require math and algorithm design to make the solution *nonembarrassing*.

    Give you an example: a typical FFT can, with easy math, cut it number of calculations by four. With a little care, you can halve the number of calculations again.

    Start with the math. Then look at the solution.

    Last of all, consider cloudware. It's out there. Let's see... on my android, I have "sourceLair". Yeah, that's one.

    Once you have the cloudware solution in hand, *then

    • by ceoyoyo ( 59147 )

      Ah, generalizations. Of course, you have no idea what he's working on.

      • Yes I do. He's extending the calculations begun by Lewis Carroll in the imaginary space (through the looking glass), to see the effects as the ultimate limit increases.

        What's

        1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+ 1+1+1+1+1+1+ 1+1+1+1+1+1+ 1+1+1+1+1+1+
        1+1+1+1+1+1+1+1+1+1+1+1

        As I said, embarrassingly parallel. Get 7 computers working on it in parallel, with 1 for backup:

        What's 1+1+1+1+1+1 (after some calculation, 6)
        So that all is 42.

        the ultimate answer is

        1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1

  • Go old school and immerse the entire machine in a tub of mineral oil?

    • Go old school and immerse the entire machine in a tub of mineral oil?

      The best stuff to use is synthetic plasma (as in blood plasma). Its rather expensive though. [citation needed]

  • by JoeMerchant ( 803320 ) on Saturday December 03, 2011 @03:46PM (#38251952)

    I've played this parallel cost analysis game several times, and if you don't need high bandwidth communication between the threads, I usually come up with the Google solution: a big farm of cheap machines. AMD chips start looking good compared to Intel because you're not after a single thread finishing as fast as possible, you're after as many FLOPS per $ as you can get. We even did the analysis for an extreme Apple fanboi: MacPros vs MacMinis back in 2007, and a stack of 25 minis came out way more powerful than the 3 or 4 Pros you could get for the same money.

    • by chiph ( 523845 )

      Mac Mini Server gets you a quad-core Intel i7 (double that number of threads if you enable hyper threading) for $999. Turn them on their side and you can stack 11 of them in the width of a standard 19" rack (will be 6U high or so). That's 44 (or perhaps 88) cores for under $11,000.

      Other pluses: 900W power consumption when running at 100% utilization, idle is much much lower. Comes with dual hard drives that can be mirrored for reliability. Gigabit ethernet and 4 USB ports are available. When your work w

  • by PatDev ( 1344467 ) on Saturday December 03, 2011 @04:36PM (#38252304)
    As someone who has done some GPU programming (specifically CUDA) be aware that there is more to the GPU parallelism model than just "lots of threads". Many embarrassingly parallel problems translate very poorly to CUDA. The primary things to consider is that:

    1. GPUs are *data parallel*. This means that you need to have an algorithm in which each and every thread will be executing the same instruction at the same time (just on different data). For a cheap way to evaluate it, if you can't speed up your program by vectorizing it then the GPU won't help. Of course, you can have divergent "threads" on GPUs, but as soon as you do you've lost all benefit to using a GPU, and have essentially turned your GPU into an expensive but slow computer.

    2. Moving data onto or off of the GPU is *slow*. So if you can leave all the data on the GPUs and none of the GPUs need to communicate with each other, then this will work well. If the threads need to frequently globally sync up, you're going to be in trouble.

    That said, if you have the right kind of data parallel problem, GPUs will blow everything else out of the water at the same price point.
  • by Mr Z ( 6791 ) on Saturday December 03, 2011 @05:45PM (#38252716) Homepage Journal

    There's some high-powerd PCI cards filled with TI DSPs that you can get. Here's an article describing some of them. [theregister.co.uk] In terms of power efficiency per unit of work, the DSPs blow the doors off the main processor and the GPUs. Each DSP on the chip can do 16 single precision or 4 double precision floating point operations per cycle, at around 1GHz, and they're programmable in C/C++.

    Relevant quote:

    Kenneth Nesteroff, business development manager for multicore processors at IT's DSP Systems unit, tells El Reg that in the first quarter, Advantech will come out with a full-length PCI-Express card that will deliver around 1 teraflops of single precision performance at a cost of around $2,000 and within a 110 watt thermal envelope.

    Buy 5 of these and you're only at 550W, $10,000 and 5 TFLOPs.

    • by Mr Z ( 6791 )
      I should add also that depending on the nature of your task, it may perform closer or further from the "peak" performance on the DSP vs. on a GPU. So a single Tesla 1 TFLOP card may not perform the same as a single DSP 1 TFLOP card.
  • We've done a lot of testing of different GPUs to look at basic reliability: things like writing data to memory, waiting a while, and reading it back to see if any bits have spontaneously flipped. The conclusion is that on GTX boards, this really does happen. If you're doing production work where consistently getting the right result matters, you should stay away from them. On the other hand, we've never seen any memory errors on Tesla boards, even with ECC disabled. This might just be because Nvidia ten
  • Writing code for video cards is much more difficult than most people think. On the other hand, if it's really a light weight, low CPU task that's just insanely parallel, check out http://www.tilera.com/ [tilera.com] They don't pack a ton or horses, but they do have a pile of cores.
  • You mention GPU but can you use get the solution up and running as quickly as the cpu solution? Optimised multi-gpu solutions are not that easy as the programmer has to do all the heavy lifting.

    Does the code vectorise? If is does, then I'd be tempted to go with as many dual socket Intel machines as you can. Are you able to use the Intel compiler (leveraging into the MKL, IPP and IMF as much as possible). This assumes that communication is low. You are not going to have the cash for a low latency, high

  • Just because you mentioned ARM, perhaps you should look into Calxeda. I have no idea if their solution is well suited for your problem, it is a whole bunch of 32bit cores in one box. Someone else already has a similar arrangement using Intel Atom.

  • You may be able to buy hardware more cheaply, but you're not going to beat Amazon on overall cost, once you take even minimal maintenance, power, server room space, etc. into account. You may be able to save money over EC2 by putting in your own labor, just realize that this can be a lot of work.

Math is like love -- a simple idea but it can get complicated. -- R. Drabek

Working...