Whether microprocessor or ram has higher response time? | Sololearn: Learn to code for FREE!


Whether microprocessor or ram has higher response time?

5/11/2017 7:58:24 PM


5 Answers

New Answer


I want to give an answer but I might be complicating this, so from this page: "Latency Numbers Every Programmer Should Know" https://gist.github.com/jboner/2841832 There's this chart, which includes the average time to execute 1 CPU instruction (not all instructions are equal) against cache, memory and other operations for an "average system" of the time: http://norvig.com/21-days.html#answers Notes: RAM clocks and CPU clocks are intimately related. On-die CPU cache is insanely fast. DMA disconnects the CPU from memory involvement (skips it; you handle the memory controller) Bus width (for double/triple/etc data rate) operation changes the rules a little. RAM is stamped with CAS latency numbers (how many "clock cycles" needed to do things). I still want to say "response to what" - but don't let that stop you; hopefully the linked data helps.


Could you clarify this question, include what type of operation you're asking about? Otherwise, I could add all sorts of useless information trying to guess what you're comparing (DMA, cache, instructions, clocks, buses, etc)


depends what microprocessor and what ram


Thanks for your reply, really appreciate it.


it is a question from past exam paper " Whether response time of a microprocessor is greater or less than that of RAM?" This is all