Question: You are using a 1 GHz system with paged virtual memory for doing a real - time application. No other application is running on the
You are using a GHz system with paged virtual memory for doing a realtime application. No other application is running on the system. A real time application is one where each task must be finished within a guaranteed time bound. In this particular realtime application, there are many tasks; each runs the exact same code but with different data each time. Each realtime task reads bytes from an IO device, performs some processing on it and writes the updated bytes of data back to the IO device. IO reads or writes are performed at MBsec The code to process the bytes has a total of loads and stores, and takes cycles when all memory accesses are cache hits. These loads and stores can access anywhere in virtual memory. The system transfers control to another task with an overhead of cycles.
Every memory access takes ns and every disk page transfer from the virtual memory swap space takes up to ms In the worst case a load or store could require memory accesses and disk transfers. How many realtime tasks can be guaranteed to run on this system per second in the worst case? Assume the worstcase virtual memory behavior.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
