full transcript

From the Ted Talk by Kanawat Senanan: How computer memory works


Unscramble the Blue Letters


In many ways, our memories make us who we are, helping us remember our past, learn and retain sklils, and plan for the future. And for the computers that often act as extensions of ourselves, memory plays much the same role, whether it's a two-hour movie, a two-word text file, or the instructions for opening either, everything in a computer's memory takes the form of basic units called bits, or binary digits. Each of these is serotd in a memory cell that can switch between two states for two possible veuals, 0 and 1. Files and programs consist of millions of these bits, all processed in the central processing unit, or CPU, that acts as the computer's brian. And as the number of bits needing to be processed grows exponentially, computer dseinegrs face a connsatt sutglrge between size, cost, and speed. Like us, cmuoteprs have short-term memory for immediate tasks, and long-term memory for more permanent storage. When you run a program, your operating system allocates area within the short-term memory for performing those itncusrinots. For example, when you press a key in a word processor, the CPU will acecss one of these locations to retrieve bits of data. It could also modify them, or create new ones. The time this takes is known as the memory's latency. And because program instructions must be processed quickly and continuously, all lconatios within the short-term memory can be accessed in any oerdr, hence the name random access memory. The most common type of RAM is dynamic RAM, or DRAM. There, each memory cell consists of a tiny transistor and a capacitor that store electrical charges, a 0 when there's no charge, or a 1 when charged. Such memory is called dynamic because it only holds cgaehrs briefly before they leak away, requiring periodic recharging to retain data. But even its low letnacy of 100 nanoseconds is too long for medorn CPUs, so there's also a small, high-speed internal memory cahce made from static RAM. That's usually made up of six interlocked transistors which don't need refreshing. SRAM is the fastest memory in a computer system, but also the most expensive, and takes up three tiems more scape than DRAM. But RAM and cache can only hold data as long as they're powered. For data to reamin once the decive is turned off, it must be transferred into a long-term storage device, which comes in three major types. In magnetic storage, which is the cheapest, data is stored as a magnetic pattern on a spinning disc coated with magnetic film. But because the disc must rotate to where the data is located in order to be read, the latency for such drives is 100,000 times slower than that of DRAM. On the other hand, optical-based satogre like DVD and Blu-ray also uses spinning discs, but with a rveleitfce coating. Bits are encoded as light and dark spots using a dye that can be read by a laser. While optical storage midea are cheap and removable, they have even solwer latencies than meagtinc storage and lower capacity as well. Finally, the newest and fastest types of long-term storage are solid-state drives, like flash sticks. These have no moving parts, instead using floating gate tonasitsrrs that store bits by trapping or rnivoemg electrical charges within their specially designed internal structures. So how reliable are these billions of bits? We tend to think of computer memory as stable and pmannreet, but it actually degrades fairly quickly. The heat generated from a device and its eniomnrnevt will eventually demagnetize hard drives, degrade the dye in optical media, and cause charge lakgaee in floating gates. Solid-state drives also have an aaiidondtl weakness. rtepleeday wnritig to floating gate transistors crrodeos them, eventually rendering them useless. With data on most current storage media having less than a ten-year life expectancy, scientists are working to exploit the pcihysal porptreies of materials down to the quantum leevl in the hopes of miknag meomry devices faster, saelmlr, and more durable. For now, immortality remains out of reach, for humans and computers alike.

Open Cloze


In many ways, our memories make us who we are, helping us remember our past, learn and retain ______, and plan for the future. And for the computers that often act as extensions of ourselves, memory plays much the same role, whether it's a two-hour movie, a two-word text file, or the instructions for opening either, everything in a computer's memory takes the form of basic units called bits, or binary digits. Each of these is ______ in a memory cell that can switch between two states for two possible ______, 0 and 1. Files and programs consist of millions of these bits, all processed in the central processing unit, or CPU, that acts as the computer's _____. And as the number of bits needing to be processed grows exponentially, computer _________ face a ________ ________ between size, cost, and speed. Like us, _________ have short-term memory for immediate tasks, and long-term memory for more permanent storage. When you run a program, your operating system allocates area within the short-term memory for performing those ____________. For example, when you press a key in a word processor, the CPU will ______ one of these locations to retrieve bits of data. It could also modify them, or create new ones. The time this takes is known as the memory's latency. And because program instructions must be processed quickly and continuously, all _________ within the short-term memory can be accessed in any _____, hence the name random access memory. The most common type of RAM is dynamic RAM, or DRAM. There, each memory cell consists of a tiny transistor and a capacitor that store electrical charges, a 0 when there's no charge, or a 1 when charged. Such memory is called dynamic because it only holds _______ briefly before they leak away, requiring periodic recharging to retain data. But even its low _______ of 100 nanoseconds is too long for ______ CPUs, so there's also a small, high-speed internal memory _____ made from static RAM. That's usually made up of six interlocked transistors which don't need refreshing. SRAM is the fastest memory in a computer system, but also the most expensive, and takes up three _____ more _____ than DRAM. But RAM and cache can only hold data as long as they're powered. For data to ______ once the ______ is turned off, it must be transferred into a long-term storage device, which comes in three major types. In magnetic storage, which is the cheapest, data is stored as a magnetic pattern on a spinning disc coated with magnetic film. But because the disc must rotate to where the data is located in order to be read, the latency for such drives is 100,000 times slower than that of DRAM. On the other hand, optical-based _______ like DVD and Blu-ray also uses spinning discs, but with a __________ coating. Bits are encoded as light and dark spots using a dye that can be read by a laser. While optical storage _____ are cheap and removable, they have even ______ latencies than ________ storage and lower capacity as well. Finally, the newest and fastest types of long-term storage are solid-state drives, like flash sticks. These have no moving parts, instead using floating gate ___________ that store bits by trapping or ________ electrical charges within their specially designed internal structures. So how reliable are these billions of bits? We tend to think of computer memory as stable and _________, but it actually degrades fairly quickly. The heat generated from a device and its ___________ will eventually demagnetize hard drives, degrade the dye in optical media, and cause charge _______ in floating gates. Solid-state drives also have an __________ weakness. __________ _______ to floating gate transistors ________ them, eventually rendering them useless. With data on most current storage media having less than a ten-year life expectancy, scientists are working to exploit the ________ __________ of materials down to the quantum _____ in the hopes of ______ ______ devices faster, _______, and more durable. For now, immortality remains out of reach, for humans and computers alike.

Solution


  1. values
  2. space
  3. designers
  4. modern
  5. removing
  6. making
  7. brain
  8. physical
  9. remain
  10. locations
  11. corrodes
  12. additional
  13. magnetic
  14. order
  15. struggle
  16. media
  17. writing
  18. memory
  19. device
  20. charges
  21. instructions
  22. stored
  23. repeatedly
  24. storage
  25. cache
  26. transistors
  27. level
  28. latency
  29. permanent
  30. smaller
  31. environment
  32. access
  33. constant
  34. times
  35. reflective
  36. slower
  37. leakage
  38. skills
  39. properties
  40. computers

Original Text


In many ways, our memories make us who we are, helping us remember our past, learn and retain skills, and plan for the future. And for the computers that often act as extensions of ourselves, memory plays much the same role, whether it's a two-hour movie, a two-word text file, or the instructions for opening either, everything in a computer's memory takes the form of basic units called bits, or binary digits. Each of these is stored in a memory cell that can switch between two states for two possible values, 0 and 1. Files and programs consist of millions of these bits, all processed in the central processing unit, or CPU, that acts as the computer's brain. And as the number of bits needing to be processed grows exponentially, computer designers face a constant struggle between size, cost, and speed. Like us, computers have short-term memory for immediate tasks, and long-term memory for more permanent storage. When you run a program, your operating system allocates area within the short-term memory for performing those instructions. For example, when you press a key in a word processor, the CPU will access one of these locations to retrieve bits of data. It could also modify them, or create new ones. The time this takes is known as the memory's latency. And because program instructions must be processed quickly and continuously, all locations within the short-term memory can be accessed in any order, hence the name random access memory. The most common type of RAM is dynamic RAM, or DRAM. There, each memory cell consists of a tiny transistor and a capacitor that store electrical charges, a 0 when there's no charge, or a 1 when charged. Such memory is called dynamic because it only holds charges briefly before they leak away, requiring periodic recharging to retain data. But even its low latency of 100 nanoseconds is too long for modern CPUs, so there's also a small, high-speed internal memory cache made from static RAM. That's usually made up of six interlocked transistors which don't need refreshing. SRAM is the fastest memory in a computer system, but also the most expensive, and takes up three times more space than DRAM. But RAM and cache can only hold data as long as they're powered. For data to remain once the device is turned off, it must be transferred into a long-term storage device, which comes in three major types. In magnetic storage, which is the cheapest, data is stored as a magnetic pattern on a spinning disc coated with magnetic film. But because the disc must rotate to where the data is located in order to be read, the latency for such drives is 100,000 times slower than that of DRAM. On the other hand, optical-based storage like DVD and Blu-ray also uses spinning discs, but with a reflective coating. Bits are encoded as light and dark spots using a dye that can be read by a laser. While optical storage media are cheap and removable, they have even slower latencies than magnetic storage and lower capacity as well. Finally, the newest and fastest types of long-term storage are solid-state drives, like flash sticks. These have no moving parts, instead using floating gate transistors that store bits by trapping or removing electrical charges within their specially designed internal structures. So how reliable are these billions of bits? We tend to think of computer memory as stable and permanent, but it actually degrades fairly quickly. The heat generated from a device and its environment will eventually demagnetize hard drives, degrade the dye in optical media, and cause charge leakage in floating gates. Solid-state drives also have an additional weakness. Repeatedly writing to floating gate transistors corrodes them, eventually rendering them useless. With data on most current storage media having less than a ten-year life expectancy, scientists are working to exploit the physical properties of materials down to the quantum level in the hopes of making memory devices faster, smaller, and more durable. For now, immortality remains out of reach, for humans and computers alike.

Frequently Occurring Word Combinations


ngrams of length 2

collocation frequency
memory cell 2
storage media 2
floating gate 2
gate transistors 2

ngrams of length 3

collocation frequency
floating gate transistors 2


Important Words


  1. access
  2. accessed
  3. act
  4. acts
  5. additional
  6. alike
  7. allocates
  8. area
  9. basic
  10. billions
  11. binary
  12. bits
  13. brain
  14. briefly
  15. cache
  16. called
  17. capacitor
  18. capacity
  19. cell
  20. central
  21. charge
  22. charged
  23. charges
  24. cheap
  25. cheapest
  26. coated
  27. coating
  28. common
  29. computer
  30. computers
  31. consist
  32. consists
  33. constant
  34. continuously
  35. corrodes
  36. cost
  37. cpu
  38. cpus
  39. create
  40. current
  41. dark
  42. data
  43. degrade
  44. degrades
  45. demagnetize
  46. designed
  47. designers
  48. device
  49. devices
  50. digits
  51. disc
  52. discs
  53. dram
  54. drives
  55. durable
  56. dvd
  57. dye
  58. dynamic
  59. electrical
  60. encoded
  61. environment
  62. eventually
  63. expectancy
  64. expensive
  65. exploit
  66. exponentially
  67. extensions
  68. face
  69. faster
  70. fastest
  71. file
  72. files
  73. film
  74. finally
  75. flash
  76. floating
  77. form
  78. future
  79. gate
  80. gates
  81. generated
  82. grows
  83. hand
  84. hard
  85. heat
  86. helping
  87. hold
  88. holds
  89. hopes
  90. humans
  91. immortality
  92. instructions
  93. interlocked
  94. internal
  95. key
  96. laser
  97. latencies
  98. latency
  99. leak
  100. leakage
  101. learn
  102. level
  103. life
  104. light
  105. located
  106. locations
  107. long
  108. magnetic
  109. major
  110. making
  111. materials
  112. media
  113. memories
  114. memory
  115. millions
  116. modern
  117. modify
  118. movie
  119. moving
  120. nanoseconds
  121. needing
  122. newest
  123. number
  124. opening
  125. operating
  126. optical
  127. order
  128. parts
  129. pattern
  130. performing
  131. periodic
  132. permanent
  133. physical
  134. plan
  135. plays
  136. powered
  137. press
  138. processed
  139. processing
  140. processor
  141. program
  142. programs
  143. properties
  144. quantum
  145. quickly
  146. ram
  147. random
  148. reach
  149. read
  150. recharging
  151. reflective
  152. refreshing
  153. reliable
  154. remain
  155. remains
  156. remember
  157. removable
  158. removing
  159. rendering
  160. repeatedly
  161. requiring
  162. retain
  163. retrieve
  164. role
  165. rotate
  166. run
  167. scientists
  168. size
  169. skills
  170. slower
  171. small
  172. smaller
  173. space
  174. specially
  175. speed
  176. spinning
  177. spots
  178. sram
  179. stable
  180. states
  181. static
  182. sticks
  183. storage
  184. store
  185. stored
  186. structures
  187. struggle
  188. switch
  189. system
  190. takes
  191. tasks
  192. tend
  193. text
  194. time
  195. times
  196. tiny
  197. transferred
  198. transistor
  199. transistors
  200. trapping
  201. turned
  202. type
  203. types
  204. unit
  205. units
  206. useless
  207. values
  208. ways
  209. weakness
  210. word
  211. working
  212. writing