The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+1 vote
402 views

asked in CO & Architecture by (245 points) | 402 views

1 Answer

+11 votes
Best answer

In 1s CPU makes 300 million ticks, so time for a tick (clock time) is 1/(300 * 10)  = 3.3 ns.  

For 900 cycles, CPU time will be 900*3.3 = 2970 ns = 2.97µs 


Now, time for data transfer = 200/5000s = 40ms = 40000 µs 

So, percentage of CPU time for transfer =  2.97/(40000+ 2.97) = 0.0074%

answered by (401 points)
selected by

In 1s CPU makes 300 million ticks, so time for a tick (clock time) is 1/(300 * 106 )  = 3.3 ns. 

For 900 cycles, CPU time will be 900*3.3 = 2970 ns = 2.97µs


Now, time for data transfer = 200/5000s = 40ms = 40000 µs

So, percentage of CPU time for transfer =  2.97/(40000+ 2.97) = 0.0074%

Thanks for clearing
sir since hard disk is directly sending data to memory doesn't it mean it is burst mode?

if so then cpu overhead will be 100%.


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

32,545 questions
39,231 answers
109,311 comments
36,613 users