Posts

Showing posts with the label and parallel processing

Memory, I/O, and Parallel Processing : following example.

Image
Example 8.2 Assume the following values for the system of Figure 8.14: Length of the virtual address field =32 bits Length of the segment number field = 12 bits Length of the page number field = 8 bits Length of the displacement field = 12 bits Now, determine the value of the physical address using the following information: Value of the virtual address field=000FA0BA 16 Contents of the segment table address (000) 16 = OFF 16 Contents of the page table address (IF9 16 ) = AC 16 Solution From the given virtual address, the segment table address is 00016 (three high-order hexadecimal digits of the virtual address). It is given that the contents of this segment-able address is OFF 16• Therefore, by adding the page number p (fourth and fifth hexadecimal digits of the virtual address) with OFF 16,the base address of the page table can be determined as: 0FF 16 + FA 16 = 1F9 16 Since the ...

Cache Memory Organization

Image
Cache Memory Organization The performance of a microcomputer system can be significantly improved by introducing a small, expensive, but fast memory between the microprocessor and main memory. This memory is called "cache memory" and this idea was first introduced in the IBM 360/85 computer. Later on, this concept was also implemented in minicomputers such as the PDP-11/70. With the advent of VLSI technology, the cache memory technique is gaining acceptance in the microprocessor world. Studies have shown that typical programs spend most of their execution times in loops. This means that the addresses generated by a microprocessor have a tendency to cluster around a small region in the main memory, a phenomenon known as "locality of reference." Typical 32-bit microprocessors can execute the same instructions in a loop from the on-chip cache rather than reading them repeatedly from the external main memory. Thus, the performance is greatly improved. For example, an ...

Virtual Memory and Memory Management concepts

Image
8.1.3 Virtual Memory and Memory Management concepts Due to the massive amount of information that must be saved in most systems, the mass storage device is often a disk. If each access is to a disk (even a hard disk), then system throughput will be reduced to unacceptable levels. An obvious solution is to use a large and fast locally accessed semiconductor memory. Unfortunately the storage cost per bit for this solution is very high. A combination of both off-board disk (secondary memory) and on-board semiconductor main memory must be designed into a system. This requires a mechanism to manage the two-way flow of infonnation between the primary (semiconductor) and secondary (disk) media. This mechanism must be able to transfer blocks of data efficiently, keep track of block usage, and replace them in a nonarbitrary way. The main memory system must, therefore, be able to dynamically allocate memory space. An operating system must have resource protection from corruption or abu...