202 Computer Architecture and Organization
the read command from the processor and the arrival of the target data within the processor. This might be
only a few nano-seconds for communication between some internal register and the processor. However, it
might be a few seconds for some magnetic tape drives. We must remember that, the more the need of access
time, the slower would be the communication and a larger time would be necessary to store or retrieve any
data. In an ideal situation, the access time should be near about zero or as minimum as possible.
7.3.2 Cost of Storage per Bit
Some storage devices are more expensive than others. For example, any magnetic tape storage would be
cheaper than any static or dynamic RAM IC. Generally, it is observed that the lower the access time, higher
is the storage cost. In other words, the access time is inversely proportional to the cost of storage per bit.
7.3.3 Affordable Convenient Size
Some memory types are capable of storing relatively larger amount of data within a suitable size. For
other type of memory, storing capability of similar amount of data may result in some impractical size.
For example, magnetic storage devices (tape drives) may be capable of storing several thousands of giga
bytes of data, within a reasonable size of spool. However, the size of any silicon wafer to store same
amount of data may not be a convenient one.
7.3.4 Memory Hierarchy
Memory hierarchy of any general computer system is presented through Figure 7.2 . We shall spend
some time with this graphical representation to elaborate few salient features depicted through it.
To start with, we shall consider six types of storage possibilities within a computer. Note that not all
six varieties of this would always be present in every computer system. These six varieties are
R Registers (closest to processor)
R L1 cache (within the same chip of the processor)
R L2 cache (or primary cache, within the same package of processor)
R L3 cache (secondary cache, outside the processor)
R Main memory (within motherboard)
R Disc drives and tape drives (outside motherboard).
The portion of memory located within mother board (of any form) is designated as primary memory
and the remaining portion (disc and tape drives) is designated as secondary memory.
Next, we should observe three boundary lines closely. The rst one, in thin line around CPU, its regis-
ters and L1 cache, represents the CPU wafer. Note that the L1 cache is a part of the CPU wafer itself, simi-
lar to CPU registers. The next boundary in thicker line represents the processor’s package, which contains
the CPU within one silicon wafer and L2 cache in another wafer. This box is designated as the processor.
The third and outermost boundary indicates the motherboard accommodating processor, L3 cache and
main memory. These boundaries indicate relative grouping of the concerned devices. For example, main
memory may be located within the same mother board, which also accommodates the processor and L3
cache. However, for the sake of clarity, we have not shown other essential parts of the motherboard.
Finally, we should note the connecting bus for all these devices or modules with the processor. The
registers and L1 cache are part of the CPU and are connected with the processor’s internal system
M07_GHOS1557_01_SE_C07.indd 202M07_GHOS1557_01_SE_C07.indd 202 4/29/11 5:12 PM4/29/11 5:12 PM