Answer to Question #215212 in Computer Networks for Christiane BACHIR

Question #215212
  1. Explain cache coherency. 
  2. What is the benefit of using sparse addresses in virtual memory?
  3. Name and describe the different states that a process can exist in at any given time.
  4. Describe two general approaches to load balancing.
  5. Describe the differences between physical, virtual, and logical memory.

 Your response must be a complete APA lab report (title page, conclusion and references page) and your own work. The conclusion should be your thoughts. 


1
Expert's answer
2021-07-11T14:37:51-0400

Computer Networks

1. Cache coherency is a situation where multiple processor cores shares the same memory hierarchy, but have their own L1 data and instruction cache. It includes guaranteeing that multiple catches store and fetches the refresshed version of the stored data.


2. Benefit of using sparse addresses in virtual memory is that the holes (between the heap and stack) can be filled as the stack or heap segments build up, or when we wish to link libraries or shared objects during execution of profram


3. Name and describe the different states that a process can exist in at any given time.

Possible states are:

new – state where process is created in.

running – state where the process is executing

waiting – state where the process is waiting for event to occur.

Ready – state where the process is ready and waiting to be assigned to processor and not as waiting state.

Terminated – after the process is executed it enters termination state.


4. Describe two general approaches to load balancing

Push migration and pull migration

In push migration, task periodically checks the load on each processor and if it finds an imbalance, it distribute the load by moving the process to idle or less-busy processor. While in pull migration, idle processor pulls awaiting task from busy processor.


5. Describe the difference between physical, virtual and logical memory

Physical memory is the memory is the actual storage memory like RAM of the system that stores the currently executing programs

Virtual memory is the memory that allows the user to execute programs larger than RAM (physical memory)

Logical memory is an abstraction of the computer’s different memory types thhat allows programmers and applications a simplified view of memory.



Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS