Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How are caches updated on write?

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 22-09-2010
Member
 
Join Date: Dec 2008
Posts: 51
How are caches updated on write?
  

I am having a small query related to the Cache update. I am aware that it the processor is wants to store the value then it takes the memory on cache and some on the RAM but this is for the L1. I wanted to whether this is possible only for the L1 or L2, L3 will also go through the same. If any one is having the knowledge about the same then please let me know. Thanks in advance.

Reply With Quote
  #2  
Old 22-09-2010
Member
 
Join Date: Apr 2008
Posts: 4,641
Re: How are caches updated on write?

I have gone through the same and let me tell you that Both exclusive and inclusive caches are used. The L1, L2 and L3 all are using the same method for the saving of the memory that you are talking about. So if you are thinking about and let me know whether you are getting it work or not.
Reply With Quote
  #3  
Old 22-09-2010
Member
 
Join Date: Apr 2008
Posts: 2,139
Re: How are caches updated on write?

To improve the execution speed of programs, some CPUs are 68 000 family can "hide" the memory accesses. Caches are always called using logical addresses, including the functional code of access. This means that accesses the user mode or supervisor different entries in the cache. I hope this will help you with the same.
Reply With Quote
  #4  
Old 22-09-2010
Member
 
Join Date: May 2008
Posts: 4,829
Re: How are caches updated on write?

By default, the areas used by WHDLoad, Slavic expansion and memory are marked as cacheable, Copyback. The base memory (chip) is marked as non-cacheable, and data and instruction caches are enabled in the CRTA. Thus, the program located in the area of base memory cache but runs without WHDLoad slave and use caches for optimal performance.
Reply With Quote
  #5  
Old 22-09-2010
Member
 
Join Date: Jan 2008
Posts: 3,751
Re: How are caches updated on write?

If the programmer has worked well, then the user has nothing to do about the cache because the settings are already made in the slave. However, there may be two reasons for changing manual settings cache. First to run an install that does not work well because it is running too fast (e.g. Graphical errors) and then to run a program installed quickly. To run a program that crashes, the option NoCache can be used. This option disables all caches and mark all the memory as non-cacheable serialized (precise). If the machine has the memory chip 32-bit, it will remain faster than on a basic A500.
Reply With Quote
  #6  
Old 23-09-2010
Member
 
Join Date: Apr 2008
Posts: 4,086
Re: How are caches updated on write?

The connection cache is only available on the 68060. It's kind of hide instructions for branch instructions. But the difference with the instruction cache is that it is not affected by the settings MMU! This means that even if the page is marked as non-cacheable, the branch instructions will be cached if the cache connection is enabled.
Reply With Quote
  #7  
Old 24-09-2010
Member
 
Join Date: May 2008
Posts: 531
Re: How are caches updated on write?

The cache can be addressed not only by the processor itself (CRTA) and MMU settings, but also by external hardware. The processor signals on the bus when he tries to hide access. Similarly, an external device can send a signal to the processor (after an address has been placed on the address bus during memory access) requesting that an access is not hidden.
Reply With Quote
  #8  
Old 25-09-2010
Member
 
Join Date: May 2008
Posts: 571
Re: How are caches updated on write?

The mechanism that signals the processor that the memory is cache or not is (from what I know) used on all and CPU boards that contain a CPU 68030 or higher (because they have a data cache). The affected areas are the entire memory chip and the memory input-output which should not be hidden by the data cache. This is necessary to avoid inconsistencies, for example due to DMA mechanisms.
Reply With Quote
Reply

  TechArena Community > Software > Windows Software
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How are caches updated on write?"
Thread Thread Starter Forum Replies Last Post
Any idea about Miscellaneous Caches remove in CCleaner for Mac Farren Windows Software 3 02-03-2012 04:38 AM
local CSS / JS caches in opera. Shinu Technology & Internet 7 28-02-2012 10:28 AM
How to discover which caches (L1,L2,L3) are shared by which HW threads (cores) Tamas Motherboard Processor & RAM 6 29-09-2010 12:00 AM
Inclusion Property in Multilevel Caches Charioteer Motherboard Processor & RAM 4 22-09-2010 02:53 PM
The disk is write-protected. Remove the write-protection or... Craig H. Foster Vista Help 0 16-09-2007 09:32 PM


All times are GMT +5.5. The time now is 03:56 AM.