0

Whether microprocessor or ram has higher response time?

11th May 2017, 7:58 PM
Naveed
Naveed - avatar
5 Respostas
+ 5
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.
11th May 2017, 9:02 PM
Kirk Schafer
Kirk Schafer - avatar
+ 4
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)
11th May 2017, 8:08 PM
Kirk Schafer
Kirk Schafer - avatar
+ 2
depends what microprocessor and what ram
11th May 2017, 9:25 PM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar
+ 1
Thanks for your reply, really appreciate it.
11th May 2017, 9:03 PM
Naveed
Naveed - avatar
0
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
11th May 2017, 8:10 PM
Naveed
Naveed - avatar