in CO and Architecture
1,186 views
2 votes

in CO and Architecture
1.2k 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%

selected by

3 Comments

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%

3
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%.
1

Related questions