No, I think you have to consider the caches..
And some write takes longer than read, depending on the cache behaviour,
or whether there's cache hit or not.


Kenny

-----Original Message-----
From: Jeff Ridgway
To: [EMAIL PROTECTED]
Sent: 5/8/00 8:34 PM
Subject: [rtl] memory access time: how to fold into timing  computations?

Hello RTLinux community,
 
 I am sure that many of you have computed the amount of time necessary
to accomplish various tasks in real-time operations.
I am trying to factor in memory access.  I have from a personal
conversation that the typical memory bus runs at 100 MHz.  Thus
I am assuming that one can access a32-bit word in 10 nano-second (i.e.
access time about 1 byte per 2.5 nano-second).   Thus, to read/write
from/to an array of 1MB in RAM should take 2.5 milli-seconds.
 
Does this figure stack up with your experience or am I way off of the
mark?
 
Cheers,
Jeff Ridgway
_________________
Jeffrey Ridgway, PhD
Information Systems Laboratories
7047 Carroll Road
San Diego, CA  92121
858.535.9680
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
http://www.islinc.com <http://www.islinc.com> 

 

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to