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

asked in CO & Architecture by (209 points) | 493 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 (393 points)
selected by
+2

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%

0
Thanks for clearing
0
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

37,128 questions
44,707 answers
127,320 comments
43,779 users