Difference between revisions of "CSC103 Notes on von Neumann's architecture"
Line 34: | Line 34: | ||
What does the human nail (forget about the chameleon) and the football field have to do with the von Neumann's bottleneck? Answer: nothing. Except on the difference in scale. | What does the human nail (forget about the chameleon) and the football field have to do with the von Neumann's bottleneck? Answer: nothing. Except on the difference in scale. | ||
− | We saw that the memory is a huge collection of boxes containing bits. We called these boxes ''words''. In general a word is partitioned into one or several bytes. A byte is a group of 8 bits and is used as a unit of data storage. Each memory word contains either instructions or data. We refer to data memory words in assembly language as ''variables''. The way the processor works, it constantly fetches an instruction from memory (RAM) and executes it. Most of the time, the instruction makes the processor transfer binary information between a variable in memory and the '''AC''' register. Executing an instruction takes '''one processor cycle'''. | + | We saw that the memory is a huge collection of boxes containing bits. We called these boxes ''words''. In general a word is partitioned into one or several bytes. A byte is a group of 8 bits and is used as a unit of data storage. Each memory word contains either instructions or data. We refer to data memory words in assembly language as ''variables''. The way the processor works, it constantly fetches an instruction from memory (RAM) and executes it. Most of the time, the instruction makes the processor transfer binary information between a variable in memory and the '''AC''' register. Executing an instruction takes '''one processor cycle'''. Processors operate at speeds in the order of Giga-hertz, billion cycles per second. |
+ | |||
+ | So back to the nail and the football field. Imagine that the '''AC''' register in the processor is as big as a human nail. The size of a word of memory would be the same, the size of a human nail. What about the memory which is measured in Gigabytes, or billions of byte. A billion human finger nails would cover... you have guessed, a football field. That's part of the von Neumann bottleneck. The fact that pretty much everything that is in memory has to be ''processed'', ''chewed up'' by the processor. And the processor contains only a tiny bit of storage. The whole field of finger nails has to get into the processor, one after the other. And they can basically do this one at a time. | ||
− | |||
=Attempts to deviate from the von Neumann architecture= | =Attempts to deviate from the von Neumann architecture= |
Revision as of 21:33, 21 February 2012
--D. Thiebaut 15:55, 21 February 2012 (EST)