how do computers compute so fast
play

How do Computers Compute so Fast? Michael Shah Follow me on - PowerPoint PPT Presentation

How do Computers Compute so Fast? Michael Shah Follow me on Twitter: @MichaelShah Michaeldshah.net (coming soon) goandcode.com Pop Quiz (opportunity) What is the fastest route from the Asgard to Fenway Park? longer than blinking an


  1. How do Computers Compute so Fast? Michael Shah Follow me on Twitter: @MichaelShah Michaeldshah.net (coming soon) goandcode.com

  2. Pop Quiz (“opportunity”) What is the fastest route from the Asgard to Fenway Park?

  3. longer than blinking an eye ( ~ 0.1 seconds)

  4. Twice as long as a baseball pitch ( ~ 0.55 seconds)

  5. Time it takes for a single heartbeat ( ~ 1 second)

  6. But How? And Why?

  7. Search is the most important problem of today Depiction of the Library of Alexandria

  8. The Why - “Why should you care” The how - “How does Search work Fast”

  9. Why should you care? Picture of you here!

  10. Reason #1 - TIme

  11. The internet is big - Filter when searching Use <.pdf to find pdfs Use quotations “” to find exact phrases Use “-” to omit results Use “and” to search for two terms

  12. Reason # 2 - Understanding Search, helps you understand your brain

  13. Another “Opportunity” Quiz - Associations What do you immediately think of when I say the word “ red ”

  14. Computer Science Term - Map (or Hashmap) Heart Rose Red Love Red Sox :)

  15. How?

  16. Google* -- Builds Associations too-- and that’s cool! In order to make search run fast 1. Information is indexed ( associations are made) 2. Information is filtered and ranked *Bing, Yahoo, and every other good search engine.

  17. Pop Quiz #3 - Which water craft is faster?

  18. On the right side!

  19. Parallelism

  20. More than 1 computer

  21. Remember, the Internet is big!

  22. Burj Khalifa!

  23. Problems we can solve in Parallel = Increased Speed What we like about the ‘search’ problem, is that it scales. Want more speed? Add more computers. (If a big problem cannot be solved in parallel, still maybe parts of it can!)

  24. How to find a needle in a haystack Fast?

  25. Add more Eyes (Or more needles)

  26. Concurrency - Slightly different from Parallelism Definition: Multiple things can happen at once, the order matters, and sometimes things have to wait. Computer Science Definition: In computer science, concurrency is the property of program, algorithm, or problem decomposability into order-independent or partially-ordered components or units.

  27. Concurrency -- as heard in music

  28. Good Concurrency = Good Conversation

  29. Computers Talking Concurrently Equivalent to Problems in Your Daily Life

  30. Challenge # 1 - Consistency

  31. Barrier Synchronization

  32. Wait, What? -- Stay on topic will ya Interruptions are bad!

  33. Challenge # 2 - Context Switching Interruptions are bad! Context switching is expensive!

  34. Challenge # 3 - Over Synchronization

  35. Over Synchronization - Slows down progress

  36. Remember, this presentation is about you!

  37. Go ahead buy the 2+ Processors(cores)

  38. Evidence - Select Task Manager

  39. Question, how many processors do you (a human) have?

  40. Lesson Learned -- Building associations

  41. Lesson Learned -- You are not an entire orchestra

  42. Think about what is scalable in your daily life Where is the bottleneck? Can throwing more people at the problem make it faster?

  43. So where is this leading us? -- Future of Tech

  44. So where is this leading us? -- Future of Tech

  45. My Ph.D. Research* *Hunting for Post-doc and Faculty positions in < 1 year

  46. Thank you for attending: “Pinte de la Science” (^Pint of Science in French)

  47. How do Computers Compute so Fast? Michael Shah Follow me on Twitter: @MichaelShah michaeldshah.net (coming soon) goandcode.com

  48. https://en.wikipedia.org/wiki/Google_platform (Check out bioinformatics post) http://stackoverflow. com/questions/132359/how-can-google-be-so-fast

  49. Resources https://en.wikipedia.org/wiki/Google_platform

  50. Google Search Result

  51. That’s pretty tall

  52. A lot of results ... in a very little time!

  53. Lessons learned Is it easier to have a thousand different tasks, or one task a thousand times? Computers scale well for simple tasks (just like you) Remember, not to overcomplicate things however! A computer with the power of a calculator sent the first men to the moon. Stay focused!

Recommend


More recommend