Successfully reported this slideshow.
Your SlideShare is downloading. ×

Cheap HPC

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad

Check these out next

1 of 50 Ad
Advertisement

More Related Content

Slideshows for you (20)

Viewers also liked (20)

Advertisement

Similar to Cheap HPC (20)

Advertisement

Cheap HPC

  1. 1. Cheap High-Performance Computing Alex Moore, HMB Inc.
  2. 2. About Me Consultant for HMB, Inc. .NET / Web / Java Developer Polyglot Glutton - dabble in a lot of other languages. BSCSE, The Ohio State University
  3. 3. About Me I like supercomputers
  4. 4. Why Cheap HPC?
  5. 5. Why Cheap HPC? Because sometimes we need to go fast(er).
  6. 6. Why Cheap HPC? Because sometimes we need to go fast(er). We all love saving money.
  7. 7. Why Cheap HPC? Because sometimes we need to go fast(er). We all love saving money. Ways to get extra performance for little to no extra money.
  8. 8. Untapped Power GPGPU
  9. 9. GPGPU Gesundheit?
  10. 10. GPGPU General Purpose computing on Graphics Processing Units
  11. 11. GPGPU
  12. 12. GPGPU GPUs are great at simple programs that are massively parallel, such as rendering images.
  13. 13. GPGPU GPUs are great at simple programs that are massively parallel, such as rendering images. They can do this because they have many shaders, or “Compute Units”
  14. 14. GPGPU GPUs are great at simple programs that are massively parallel, such as rendering images. They can do this because they have many shaders, or “Compute Units” Shaders can be programmed to do most things that a normal CPU can do.
  15. 15. GPGPU!
  16. 16. GPGPU! This Laptop (2007): 32 Compute Units across 4 cores @ 940 Mhz 128 MB DDR3
  17. 17. GPGPU! This Laptop (2007): 32 Compute Units across 4 cores @ 940 Mhz 128 MB DDR3 Tesla (NVidia GPGPU card) 448 Compute Units across 16 cores @ 1.15 Ghz Up to 5GB DDR5
  18. 18. GPGPU! This laptop’s GPU has about as much computing power as the world’s fastest supercomputer in 1993 (~91 GigaFLOPS)
  19. 19. GPGPU! Special desktop computers with 4 Tesla cards can do about ~4-5 TerraFLOPS About the fastest supercomputer in 1999-2000, ON YOUR DESKTOP
  20. 20. GPGPU! That’s ridiculously crazy
  21. 21. GPGPU!
  22. 22. GPGPU! So what’s cheap about it?
  23. 23. GPGPU! So what’s cheap about it?
  24. 24. GPGPU! So what’s cheap about it? You can probably program your GPU, and it’s just free untapped power
  25. 25. GPGPU NVidia - CUDA ATI - Stream SDK Microsoft - DirectCompute Apple - OpenCL
  26. 26. Problem Euler Demo The following iterative sequence is defined for the set of positive integers: n n/2 (n is even) n 3n + 1 (n is odd) Using the rule above and starting with 13, we generate the following sequence: 13 40 20 10 5 16 8 4 2 1
  27. 27. Project Euler 14
  28. 28. Project Euler 14 Ruby ~151s
  29. 29. Project Euler 14 Ruby ~151s C#/Java ~6.1s
  30. 30. Project Euler 14 Ruby ~151s C#/Java ~6.1s C# Multithreaded ~3.2s
  31. 31. Project Euler 14 Ruby ~151s C#/Java ~6.1s C# Multithreaded ~3.2s C (gcc -O3) ~0.5s
  32. 32. Project Euler 14 Ruby ~151s C#/Java ~6.1s C# Multithreaded ~3.2s C (gcc -O3) ~0.5s C / OpenCL ...
  33. 33. OMG Ponies Live Demo! Subset of c99 No recursion, no function pointers, no standard headers
  34. 34. To The Cloud! Cloud Computing
  35. 35. The Cloud If you use the cloud for your site or as a datastore right now, you can acquisition temporary extra computing power very easily.
  36. 36. The Cloud TalentRooster needed to re-encode all 1200 of their video resumes. To do this locally, it would have taken about 27 hours, with 60% of that time would have been downloading and uploading.
  37. 37. The Cloud
  38. 38. The Cloud The dev team added an extra EC2 instance, and re-encoded the videos in 3 hours.
  39. 39. The Cloud The dev team added an extra EC2 instance, and re-encoded the videos in 3 hours. Total Cost:
  40. 40. The Cloud The dev team added an extra EC2 instance, and re-encoded the videos in 3 hours. Total Cost: $5.46
  41. 41. The Cloud Amazon also has instances with 2 Telsa GPUs on each instance. - Just sayin’ :)
  42. 42. Stealing Candy From Babies Windows HPC Server 2008 R2
  43. 43. HPC Server Instead of buying more computing power, just make idle computers do your work.
  44. 44. HPC Server HPC Server 2008 R2 allows you to add Windows 7 workstations as compute nodes. Also allows Azure instances to be added as compute nodes when you need extra horsepower.
  45. 45. HPC Server About $925 for the Suite, including licenses for compute nodes.
  46. 46. Time and Money
  47. 47. Time and Money Time CLOUD THREADING HPC SERVER C GPGPU
  48. 48. Time and Money Money THREADING HPC SERVER C CLOUD GPGPU
  49. 49. Thanks! anm@hmbnet.com @alexmoore www.enginerding.com

×