writeallocate
Writeallocate, or write-allocate, is a cache write policy used in computer memory hierarchies to determine how a write miss is handled. It specifies whether a missing cache line should be brought into the cache (allocated) before the write is performed.
Under the write-allocate policy, when a write miss occurs, the cache line containing the target address is
The alternative is write-no-allocate (no-write-allocate), where a write miss does not load the line into the cache;
The choice between write-allocate and write-no-allocate affects performance and bandwidth. Write-allocate tends to improve performance for
In practice, many processors adopt write-allocate for data caches, often in combination with write-back strategies, while