Suppose that a processor has access to three levels of memory. Level 1 contain 2000 words and has an access time of 0.02 msec. Level 2 contain 10,000 words and has an access time of 0.2 msec. Level 3 contains 20,000 words and has an access time of 2 msec. Assume that ifa word to be accessed is in level 1, then processor access it directly.is in level 2 the word is first transferred toL, and then accessed by the processor. Similarly for Ly the word is transferred to La then to L, and then accessed. The hit ratio for level 1 is 0.65 and for level 2 is 0.45. What is the average access time (in ?
Q: A computer has a level 1 cache with an access time of 2 cycles and an average hit rate of 90% and…
A: we are not allow to gave nswer for all as per gideline , so please reupload rest of them:
Q: Suppose that DS=1000H, SS= 2000H, CS=3000H, ES=4000H, BP=FFH, BX=FFFFH and DI=5H. i. Which memory…
A: Which memory locations are addressed by: MOV DL, [BP]: the default segment of [BP] is:SS so memory…
Q: In a three level memory hierarchy, the access time of cache, main and virtual memory is 5…
A: We are going to find out average access time of memory when hierarchical access memory organization…
Q: Consider a three-level memory system, where the access time for the cache is T1 nanoseconds, main…
A: According to the information given:- We have to follow the instruction on the basis of details…
Q: Question 3: Part(a) : Assume that a processor has three levels of memory Level 1 contains 100 word…
A: Please find the answer below:
Q: Suppose a processor has access to three levels of memory. Level 1 has an access time of 9…
A: Given Level 1 contains a subset of the bytes contained inlevel 2, and level 2 contains a subset of…
Q: A computer system has a memory access time of 120 ns. The hit rate is 96% and memory and cache…
A: Given:- Memory Access time(m) = 120 ns. Hit rate(x) = 96%=0.96 EMAT (Effective Memory Access time)…
Q: Consider a dynamically scheduled single-issue processor that uses Tomasulo's algorithm with…
A: Instructions Issued Executed Written Committed I1 1 6 - 11 12 13 I2 2 6 - 11 12 13 I3 3 9 - 10…
Q: Given memory partitions of 100KB, 500KB, 200KB, 300KB, and 600KB (in order), how would each of first…
A: Partition Allocation Methods: In Partition Allocation, when there is more than one partition freely…
Q: Consider a demand-paging system with a paging disk that has an average access time of 20…
A: A) When it's not a page fault, total time is 3*memory access time When it's a page fault, total time…
Q: 1- Suppose that the processor has access to 3 levels of memory. Level 1 contains 1000 words and has…
A: L1 Hit rate = 80% L1 miss rate = 20% L2 hit rate = 15% L2 miss rate = 85% L3 hit rate = 5%
Q: The same software is compiled on three computers A, B, and C with the clock frequency of 2GHZ,…
A: Given: In all the three computers A, B and C same software is compiled with the clock frequency of…
Q: Suppose there are three processes A, B and C. All clock runs at the same rate but initially A’s…
A: Answer (a): A will sends message to B from 10 to 0, but it takes 4 units. So it will receive on B's…
Q: Suppose the processing load of a computing system consists of 50% disk activity, 25% CPU activity,…
A: Given data, Percentage of processing load on CPU = 25%Percentage of processing load on Disk =…
Q: Consider four different processors P1, P2, P3, and P4 executing the same instruction set. P1 has a…
A: ANSWER:-
Q: Suppose that the processor has access to two levels of memory. Level 1 contains 1000 data words and…
A: THe average memory access time for data requests by the CPU is given by: tavg =hC1+(1−h)C2 where h…
Q: 2. Consider a fully-connected network with 1280 inputs, two hidden layers with 512 units each, and…
A: Answer (a) (c)
Q: Assume a process containing 5 pages with 1024 bytes per page and physical memory with 10 page…
A:
Q: Solve. 1.Consider a system with 2 level cache. Access times of Level 1, Level 2 cache and main…
A: Note the question is multiple one. We are advised to do only first question. Kindly post other…
Q: The Pentium 4 Prescott processor, released in 2004, had a clock rate of 3.6 GHz and voltage of 1.25…
A: the answer is given below:-
Q: Assume an instruction cache miss rate for an application is 2% and the data cache miss rate of 4%…
A: The answer has been explained below:-
Q: Q1- An 1MB process need to be executed by the operating system. The size of the available memory for…
A: The processes have 256KB of available memory, with each frame having 64KB.
Q: B A computer consists of a processor and an I/O device D connected to main memory M via a shared bus…
A: According to the information given:- We have to follow the instruction in order to calculate If…
Q: Consider the main memory with capacity of 3 frames assume that the page of process are referred in…
A: Solution:
Q: 1- Consider three different processors P1, P2, and P3 executing the same instruction set. P1 has a 3…
A: Note: since your question contain multiple part but we can answer only one at a time due to our…
Q: The unique addresses assigned to the four registers (R11,R12,13,R14) of the I/O interface are equal…
A: When we connect the two capacitors,then assume the final voltage be V. The capacity of capacitor is…
Q: A virtual memory system has an address space of 8K words, a memory space of 4K words, and page and…
A: Fifo stands for first in first out LRU stands for least recently used
Q: (a) A processor with a clock cycle time of 0.5 nanoseconds has a CPI of 4 for a particular program.…
A: Question(a):- In this question Given data is : Clock Cycle Time = 0.5 nano-seconds = 0.5 * 10-9…
Q: Suppose that the processor has access to two levels of memory. Level 1 contains 1000 data words and…
A: The issue involves two key stages of memory. Level L1 has 1000 words of data, and the time it takes…
Q: Suppose a processor has access to three levels of memory. Level 1 has an access time of 9…
A: Given: Suppose a processor has access to three levels of memory. Level 1 has an access timeof 9…
Q: A certain microprocessor requires either 2, 4, 8, 12, or 16 machine cycles to perform various…
A: Distribution of the frequency: CPU speed is considered as the key deciding factor for finding the…
Q: 5-Consider a computer running a program that requires 400 s, with 80 s spent executing FP…
A: I solved only one question according to Bartleby policy.
Q: Computer 1 (C1), with a clock rate of 3 GHz, runs a program in 40 seconds. Computer 2 (C2), with a…
A: Please refer below for your reference:
Q: a CPI of 1.5. If the processor executes a program in 10 seconds, what is the number of clock cycles…
A: Given- 2 GHz clock rate CPI =1.5 Program Execution time -10 s
Q: a single process, with execution time of BT time units, is detected by the system that uses Round…
A: Given that, A process have the following: Execution time= BT Time Quantum= QT Context switch delay=…
Q: Suppose that a processor has access to three levels of memory. Level 1 contain 2000 words and has an…
A: Introduction :
Q: Consider a computer system with DMA support. The DMA module is transferring one 8-bit character in…
A: Introduction :given , computer system with DMA support1 char(8 bits) take = 1 clock cyclefrequency =…
Q: A computer has a level 1 cache with an access time of 2 cycles and an average hit rate of 90% and…
A: Given that, A computer has a level 1 cache with an access time of 2 cycles and an average hit rate…
Q: Assume a computer has on-chip and off-chip caches, main memory and virtual memory. Assume the…
A: Virtual memory is a popular technique used in the operating systems (OS) of computers. Virtual…
Q: A computer has an average main memory access time of 60 ns. We want to reduce this time to 20 ns by…
A: A computer has an average main memory access time of 60 ns. We want to reduce this time to 20 ns by…
Q: Consider a system with 4GB of memory address space. Assuming a write-back policy and block size of…
A: Memory size = 32 bits. A. Total # of cache blocks = 2K So index bits = 11 bits Offset bits = 5…
Q: For what range of values of the fraction f A of executed instructions of type A would the program…
A: Consider a system with only two types of machine language instructions A and B, with CPI A = 4 and…
Q: A system has four processes and five allocatable resources. The current allocation and maximum needs…
A: The smallest value of x for given system in safe state
Q: Question 1: Consider following scenario for a program running on two computers A and B. Computer A…
A: Actually, computer is an electronic device which takes input and gives output.
Q: Assume a swapping system in which memory consists of the following hole sizes in memory and in order…
A: Lets see the detailed answer to this question.
Q: In a two-level virtual memory, the memory access time for main memory, t, = 10 8 sec, and A1 %3D A…
A: Introduction Given, two level virtual memory. We have asked to calculate hit ratio H.
Q: Suppose a processor has access to three levels of memory. Level 1 has an access time of 9…
A: Level 1 access time = 9 micro seconds Level 2 access time = 23 micro seconds Level 3 access time =…
Q: Assume the CPU has access to two types of memory. Level 1 has 1000 data words and has an access time…
A: Intro Assume the CPU has access to two types of memory. Level 1 has 1000 data words and has an…
Q: et us consider the performance of two ARM processors executing the same program to completion. The…
A: SUMMARY: -Hence, we discussed all the points.
Q: A computer has 1000K of main memory. The jobs arrive and finish in the sequence Job 1 requiring 200K…
A: We are asked a very beautiful question on best-fit and first-fit scenario. We are given 6 jobs with…
Step by step
Solved in 2 steps with 1 images
- Suppose a given processor has access to two levels of memory. Level 1 contains 1000 words and has an access time of 0.01 μs; level 2 contains 100,000 words and has an access time of 0.1 μs. Assume that if a word to be accessed is in level 1, then the processor accesses it directly. If it is in level 2, then the word is first transferred to level 1 and then accessed by the processor. For simplicity, ignore the time required for the processor to determine whether the word is in level 1 or level 2. Suppose 95% of the memory accesses are found in level 1, define the hit ratio (H) and find the average access time.Computer A has an overall CPI of 1.3 and can be run at a clock rate of 600MHz.Computer B has a CPI of 2.5 and can be run at a clock rate of 750 Mhz. Wehave a particular program we wish to run. When compiled for computer A, thisprogram has exactly 100,000 instructions. How many instructions would theprogram need to have when compiled for Computer B, in order for the twocomputers to have exactly the same execution time for this program?a. We are given a system with 2 levels of cache, L1 and L2. The CPU directly interfaces to the L1 cache, which has a hit time of 1 ns and a hit rate of 0.4. On misses, the L1 accesses the L2 cache, which has an access time of 20 ns, and a hit rate of 0.8. If the L2 misses, it accesses the main memory, which has an access time of 100 ns. Determine the average memory access time, of the CPU to the memory hierarchy.b. A cache is inserted between the main memory, which is 32 MB, and the CPU. This cache can accomodate 64 blocks and each block can accomodate 128 words (2B per word). How many possible blocks can be stored in one cache block if it is a direct-mapped cache?
- 2. Suppose we have two implementations of the same instruction set architecture.Computer A has a clock cycle time of 250 ps and a CPI of 2.0 for some programand computer B has a clock cycle time of 500 ps and a CPI of 1.2 for the sameprogram. Which computer is faster for this program and by how much?Assume a 3GHz processor executes three classes of instructions(A, B, C).i. Calculate the average CPI for this sequence of program.ii. Calculate the execution time for this sequence of program.iii. If we use a system with four same processors, there will bespeed up by a factor of 4 for classes A and C, but class B willremain unaffected. Calculate the new execution time for thissystem. What is the overall speed up? Class A B C CPI for class 4 2 10 IC in sequence 100 200 300A certain microprocessor requires either 2, 3, 4, 8, or 12 machine cycles to perform various operations. A total of 25% of its instructions require 2 machine cycles, 20% require 3 machine cycles, 17.5% require 4 machine cycles, 12.5% require 8 machine cycles, and 25% require 12 machine cycles.Q) Suppose this system requires an extra 20 machine cycles to retrieve an operand from memory. It has to go to memory 40% of the time. What is the average number of machine cycles per instruction for this microprocessor, including its memory fetch instructions?
- On a uniprocessor, portion A of program P consumes 24 seconds, while portion B consumes 822 seconds. On a parallel computer, moderately serial portion A speeds up 4 times, while perfectly parallel portion B speeds up by the number of processors. 1- What is the speedup of program P on 1,024 processors? _______ times 2- How many processors are required to achieve at least half the theoretical maximum possible speedup on P?Assume for a given program, 60% of the executed instructionsare of Class A, 10% are of Class B, and 30% are of Class C. Furthermore,assume that an instruction in Class A requires 3 cycles, an instruction inClass B requires 2 cycles, and an instruction in Class C requires 2 tocomplete. i. Compute the overall CPI for this program.ii. Compute the clock rate of the CPU when the time it takes tocomplete 20 instructions is 1.73 ???????????Consider a machine with three instruction classes and CPI measurements as follows: Instruction class CPI of the instruction class A 2 B 5 C 7 Suppose that we measured the code for a given program in two different compilers and obtained the following data: Code sequence Instruction counts (in millions) A B C 1 15 5 3 2 25 2 2 Assume that the machine’s clock rate is 500 MHz. Which code sequence will execute faster according to MIPS? How much according to execution time of each code sequence?
- Suppose that the processor has access to two levels of memory. Level 1 contains 1000 data words and has an access time between the CPU and L1 of 2.5 nanoseconds (2.5E-9 sec); level 2 contains data 100,000 words and has an access time between L1 and L2 transfers of 5.0 nanoseconds (5.0E-9 sec) Assume that data requests by the CPU have a hit ratio, H in the L1 cascade of 0.7, and any requests missed in L! Are guaranteed to be found in L2. What is the average memory assess time in nanoseconds for data requests by the CPU?Suppose that a computer has a processor with two L1 caches, one for instructions and one for data, and an L2 cache. Let τ be the access time for the two L1 caches. Themiss penalties are approximately 15τ for transferring a block from L2 to L1, and 100τ fortransferring a block from the main memory to L2. For the purpose of this problem, assumethat the hit rates are the same for instructions and data and that the hit rates in the L1 andL2 caches are 0.96 and 0.80, respectively.(a) What fraction of accesses miss in both the L1 and L2 caches, thus requiring accessto the main memory?(b) What is the average access time as seen by the processor?(c) Consider the following change to the memory hierarchy. The L2 cache is removedand the size of the L1 caches is increased so that their miss rate is cut in half. Whatis the average memory access time as seen by the processor in this caseSuppose a processor has access to three levels of memory. Level 1 has an access timeof 9 microseconds, level 2 has an access time of 23 microseconds and level 3 has anaccess time of 65 microseconds. Level 1 contains a subset of the bytes contained inlevel 2, and level 2 contains a subset of the bytes contained in level 3. It is estimatedthat 35 % of all requested bytes are contained in level 1, 68 % of all requested bytesare contained in level 2 and 100 % of all requested bytes are contained in level 3. If abyte to be accessed is in level 1, then the processor will directly access it from level 1.If a byte to be accessed is not in level 1 but in level 2, then the processor will directlyaccess it from level 2. If a byte to be accessed is not in level 1 and not in level 2, thenthe processor will directly access it from level 3. For simplicity, we assume that theaccessed bytes are not transferred between the memory levels. Moreover, we ignorethe time that is required for the processor to…