Cheap HPC

1,110 views

Published on

Talk I did for a vendor session at CodeMash one year.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,110
On SlideShare
0
From Embeds
0
Number of Embeds
16
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Cheap HPC

  1. 1. Cheap High-PerformanceComputingAlex Moore, HMB Inc.
  2. 2. About MeConsultant for HMB, Inc..NET / Web / Java DeveloperPolyglot Glutton - dabble in a lot of otherlanguages.BSCSE, The Ohio State University
  3. 3. About MeI 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 extramoney.
  8. 8. Untapped PowerGPGPU
  9. 9. GPGPUGesundheit?
  10. 10. GPGPU General Purpose computing on Graphics Processing Units
  11. 11. GPGPU
  12. 12. GPGPUGPUs are great at simple programs that aremassively parallel, such as rendering images.
  13. 13. GPGPUGPUs are great at simple programs that aremassively parallel, such as rendering images.They can do this because they have manyshaders, or “Compute Units”
  14. 14. GPGPUGPUs are great at simple programs that aremassively parallel, such as rendering images.They can do this because they have manyshaders, or “Compute Units”Shaders can be programmed to do most thingsthat 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 DDR3Tesla (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 computingpower as the world’s fastest supercomputerin 1993 (~91 GigaFLOPS)
  19. 19. GPGPU!Special desktop computers with 4 Tesla cards cando about ~4-5 TerraFLOPSAbout 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 justfree untapped power
  25. 25. GPGPUNVidia - CUDAATI - Stream SDKMicrosoft - DirectComputeApple - 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 14Ruby ~151s
  29. 29. Project Euler 14Ruby ~151sC#/Java ~6.1s
  30. 30. Project Euler 14Ruby ~151sC#/Java ~6.1sC# Multithreaded ~3.2s
  31. 31. Project Euler 14Ruby ~151sC#/Java ~6.1sC# Multithreaded ~3.2sC (gcc -O3) ~0.5s
  32. 32. Project Euler 14Ruby ~151sC#/Java ~6.1sC# Multithreaded ~3.2sC (gcc -O3) ~0.5sC / OpenCL ...
  33. 33. OMG Ponies Live Demo!Subset of c99No recursion, no function pointers, no standard headers
  34. 34. To The Cloud!Cloud Computing
  35. 35. The CloudIf you use the cloud for your site or as a datastoreright now, you can acquisition temporary extracomputing power very easily.
  36. 36. The CloudTalentRooster needed to re-encode all 1200 oftheir video resumes.To do this locally, it would have taken about 27hours, with 60% of that time would have beendownloading and uploading.
  37. 37. The Cloud
  38. 38. The CloudThe dev team added an extra EC2 instance, andre-encoded the videos in 3 hours.
  39. 39. The CloudThe dev team added an extra EC2 instance, andre-encoded the videos in 3 hours.Total Cost:
  40. 40. The CloudThe dev team added an extra EC2 instance, andre-encoded the videos in 3 hours.Total Cost:$5.46
  41. 41. The CloudAmazon also has instances with 2 Telsa GPUs oneach instance. - Just sayin’ :)
  42. 42. Stealing Candy From BabiesWindows HPC Server 2008 R2
  43. 43. HPC ServerInstead of buying more computing power, justmake idle computers do your work.
  44. 44. HPC ServerHPC Server 2008 R2 allows you to addWindows 7 workstations as compute nodes.Also allows Azure instances to be added ascompute nodes when you need extra horsepower.
  45. 45. HPC ServerAbout $925 for the Suite, including licenses forcompute nodes.
  46. 46. Time and Money
  47. 47. Time and Money TimeCLOUD THREADING HPC SERVER C GPGPU
  48. 48. Time and Money MoneyTHREADING HPC SERVER C CLOUD GPGPU
  49. 49. Thanks! anm@hmbnet.com @alexmoore www.enginerding.com

×