Arm Community
Site
Search
User
Site
Search
User
Support forums
Architectures and Processors forum
ARM926ejs Cache linefill
Jump...
Cancel
State
Accepted Answer
+1
person also asked this
people also asked this
Locked
Locked
Replies
4 replies
Subscribers
349 subscribers
Views
6015 views
Users
0 members are here
Arm9
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
ARM926ejs Cache linefill
guestposter guestposter
over 12 years ago
Top replies
Peter Harris
over 12 years ago
+1
verified
Note: This was originally posted on 25th March 2009 at http://forums.arm.com > If not, how can we make sure the coherence of DCache and SDRAM when in Write-though mode? Here you are basically trying to...
Parents
0
Peter Harris
over 12 years ago
Note: This was originally posted on 25th March 2009 at
http://forums.arm.com
> in my system, i really use the write-back mode, i post question using write-though mode only because i want to know exactly what is the meaning of "buffered store to external memory".
Buffering just means that the core can (probably) proceed with useful work without waiting for the actual write to hit external memory. The actual implementation of buffering varies from core to core - but in most cases there is a general write buffer for small writes and an optimized write buffer for cache-line evictions. (As you mention at the bottom of your post)
> Does it mean that when write cahce hit, data first updated in DCache, and then send data to write buffer, and after a little time, we assue it is 1us, the data in write buffer is updated to SDRAM automatically.
Yes, that sounds right to me. Microarchitectures vary slightly so some systems may issue cache update and external DRAM write in parallel.
> In my mind, i think write miss should of course do linefill immediately, why doesn't ARM implement this on ARM9? Is it because of cost?
I suspect so ... the usual arguments for not doing something are related to power, silicon area and meeting cache timing constraints.
> and in arm11, is this implemented?
ARM11 MPCore and Cortex-A* cores implement write allocate caches. I'm not sure about the Cortex-R4 - I've never used one
> Does it mean that there are two physical write buffer on ARM9, one is specifically for CPU STR instruction which may write data to SDRAM, and the other is epecifically for DCache?
Yes. The cache writebuffer is optimized because it only ever has to handle half-line length bursts which are always naturally aligned.
Cancel
Vote up
0
Vote down
Cancel
Reply
0
Peter Harris
over 12 years ago
Note: This was originally posted on 25th March 2009 at
http://forums.arm.com
> in my system, i really use the write-back mode, i post question using write-though mode only because i want to know exactly what is the meaning of "buffered store to external memory".
Buffering just means that the core can (probably) proceed with useful work without waiting for the actual write to hit external memory. The actual implementation of buffering varies from core to core - but in most cases there is a general write buffer for small writes and an optimized write buffer for cache-line evictions. (As you mention at the bottom of your post)
> Does it mean that when write cahce hit, data first updated in DCache, and then send data to write buffer, and after a little time, we assue it is 1us, the data in write buffer is updated to SDRAM automatically.
Yes, that sounds right to me. Microarchitectures vary slightly so some systems may issue cache update and external DRAM write in parallel.
> In my mind, i think write miss should of course do linefill immediately, why doesn't ARM implement this on ARM9? Is it because of cost?
I suspect so ... the usual arguments for not doing something are related to power, silicon area and meeting cache timing constraints.
> and in arm11, is this implemented?
ARM11 MPCore and Cortex-A* cores implement write allocate caches. I'm not sure about the Cortex-R4 - I've never used one
> Does it mean that there are two physical write buffer on ARM9, one is specifically for CPU STR instruction which may write data to SDRAM, and the other is epecifically for DCache?
Yes. The cache writebuffer is optimized because it only ever has to handle half-line length bursts which are always naturally aligned.
Cancel
Vote up
0
Vote down
Cancel
Children
No data