The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+2 votes
667 views

asked in CO & Architecture by (219 points) | 667 views

1 Answer

+14 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 (399 points)
selected by
+3

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%

+1
Thanks for clearing
+1
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%.

Related questions

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
50,126 questions
53,252 answers
184,759 comments
70,502 users