Question: In this problem you are to compute how much of a bus load a spin lock puts on the bus. Imagine that each instruction executed
In this problem you are to compute how much of a bus load a spin lock puts on the bus. Imagine that each instruction executed by a CPU takes 5 nsec. After an instruction has completed, any bus cycles needed, for example, for TSL are carried out. Each bus cycle takes an additional 10 nsec above and beyond the instruction execution time. If a process is attempting to enter a critical region using a TSL loop, what fraction of the bus bandwidth does it consume? Assume that normal caching is working so that fetching an instruction inside the loop consumes no bus cycles.
Step by Step Solution
3.43 Rating (169 Votes )
There are 3 Steps involved in it
The loop consists of a TSL instruction 5 ... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
761-C-S-D-B-O-S (513).docx
120 KBs Word File
