Edon Demiri
University of the People
Crystal Cummings
Operating Systems 1 – 05.03.2018
1. Explain cache coherence.
The new technology that has brought us the multiple CPU’s or Multi-core CPU’s has brought us without any doubt advantages, by using them we get faster CPU’s, but this technology has not come without its disadvantages, and we will talk for that only that is in our interest of this topic and that is the use of cache with multiple CPU’s.
When a process starts in the CPU and when we use that program often, then the CPU makes a cache of it so it can access it faster when it needs, and this cache would be also saved in the shared memory that the all CPU’s use, and when others CPU’s try to open other programs than the local cache of that CPU would get overwritten (for the same reason), and so the shared memory that the CPU’s use has been overwritten by the last process of the second processor, and this is where the problem starts as this can go on and on, and this creates an inconsistent shared memory, because the CPU’s have only one memory and everyone can overwrite that, and this causes trouble and inefficiency. …show more content…
2. What is the benefit of using sparse addresses in virtual memory?
One of the major benefits of using sparse addresses in virtual memory is that sparse fills the holes after a stack or heap segments grow and in this case this can be a great benefit of the sparse address in virtual