Manuscript Offprint
arXiv:2611.09518Memory as a Temporal Resource: Lifetime Contracts for Multi-Retention Systems
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Adrian Jackson
Abstract—Computers move and rewrite data whose useful lifetimes range from inner-loop iterations to years, yet memory systems usually hide retention as a fixed physical property. We argue that required lifetime should become a first-class resource across algorithms, programming systems, controllers, and devices. Building on prior lifetime-aware placement, we propose an event-based validity contract that links application completion events to retention-class selection and renewal of protection. Applications would be enabled to express semantic contracts such as "until this tile completes" and the system will map data to homogeneous arrays engineered for ephemeral, epoch, or durable retention and preserve correctness through margins, ECC, refresh, migration, or recomputation. We present a trace-based simulator and FPGA prototype that exercises class migration.
Index Terms—Memory systems, STT-MRAM, retention, programming models, sustainability, FPGA prototyping, AI accelerators.
1 THE MISSING DIMENSION IN THE MEMORY HIERARCHY
AI, and large scale computing, have made memory movement a first-order constraint on performance and energy. Modern accelerators respond with wider off-chip interfaces, large on-chip SRAMs, aggressive data reuse, and recomputation. These responses are necessary, but they optimise where data reside and how quickly data move. They rarely ask a more elementary question: for how long must each value remain correct?
That omission creates a mismatch. A matrix-multiplication microtile may be dead after hundreds or thousands of cycles. An activation checkpoint may be required until the end of a training step. Model parameters and recovery metadata may need much longer protection. Nevertheless, the memory system often treats these objects as though they require the same retention. SRAM retains state for as long as power is supplied; DRAM and HBM are refreshed without reference to application semantics; and non-volatile memories are usually designed for lifetimes far beyond those of transient tensors or data structures.
The energy cost of moving and storing data is already material relative to arithmetic [1]. We therefore propose a new abstraction: memory as a temporal resource. Just as software states how much memory it needs and hardware decides where to place it, software should be able to state a correctness lifetime while hardware decides how strongly
to retain the data. Storage effort can then be proportional to useful lifetimes rather than to the longest-lived object in the machine.
Building on retention-relaxed caches, lifetime-aware scratchpads, and software-managed heterogeneous memories, this Perspective proposes an event-based validity contract for application regions and tensors. Software identifies the semantic event until which contents are needed, the memory system selects a retention class and must renew protection while the event remains incomplete. The contribution is a common contract connecting dataflow boundaries to placement and maintenance obligations, together with a trace-based simulator and FPGA migration prototype for exploring associated costs. Tiled matrix multiplication illustrates the mapping using an established transformation. The reported energy and latency reductions are conditional model projections, while the FPGA results measure migration between logical memory classes.
In conventional STT-MRAM, retention is principally engineered into the cell; it is not independently chosen for every successful write by simply shortening the write pulse. Pulse duration and amplitude affect switching probability. Once the pulse is removed, a successfully written conventional cell returns to the energy landscape established by its physical construction.
Our baseline architecture proposal consequently uses homogeneous arrays or tiles of STT-MRAM style memory, each engineered for a specific retention class. Table 1 shows the semantic intent of these classes. The exact times and device parameters associated with these classes must be determined by fabrication, temperature, variation, and the required error probability of the memory ultimately used to construct them.
Separate retention classes simplify characterisation, sensing, error correction, and timing. They also make the physi-
Adrian Jackson works at EPCC, The University of Edinburgh, Edinburgh, UK. E-mail: a.jackson@epcc.ed.ac.uk.
TABLE 1
Semantic retention classes. Durations are implementation dependent.
| Class | Typical role | System obligation |
|---|---|---|
| Ephemeral | Tiles, panels, queues, transient activations | Preserve until a short phase ends; discard or recompute afterward |
| Epoch | Kernel, iteration, or transaction state | Preserve across a bounded epoch; refresh or promote if the epoch overruns |
| Durable | Inputs, checkpoints, model state, metadata, operating system | Preserve across long intervals or power-management events |
cal contract testable: a controller chooses a bank with known retention statistics. More speculative devices may one day offer electrically reconfigurable energy barriers for more precise control of the retention of individual data structures, but our cross-layer architecture does not depend on them.
2.1 Related work
Reduced retention is an established way to trade STT-RAM persistence for write cost. Sun et al. combined multiple retention levels with refresh and migration [3], while LARS adapts cache retention to application behaviour [4], [5]. These studies provide architectural foundations for the retention classes used here.
Software-directed retention also predates this proposal. Swaminathan et al. exploited short-lived Java objects and generational garbage collection in a low-retention scratchpad [6]. Rodríguez et al. proposed a multi-retention scratchpad with compiler-directed allocation, selecting retention using loop execution bounds and providing a long-retention fallback [7]. Li et al. rearranged program data layout to reduce refreshes in volatile STT-RAM caches [8]. HaVOC combines programmer and compiler information, including lifespan, with runtime placement in heterogeneous scratchpad and non-volatile memories [9]. Thus object-level placement, compiler involvement, and lifetime annotations are established techniques.
Related DRAM research clarifies two different uses of retention information. RAIDR varies refresh according to measured cell retention [10]. Flikker uses application annotations to distinguish critical and noncritical data, reducing refresh while accepting corruption in the latter [11]. Our required contracts instead aim to preserve live contents to a specified reliability target until semantic completion, approximate contracts must be requested explicitly. Region-based memory management provides a complementary precedent for expressing allocation and deallocation boundaries [12]. A retention contract additionally addresses or considers the validity of stored contents before those boundaries.
Algorithmic lifetime boundaries are likewise not new. FlashAttention uses tiled dataflow to avoid materializing the full attention matrix [13], and PagedAttention provides mechanisms for managing and sharing key/value storage [14]. These are possible sources of completion and reuse events for retention management. The matrix-multiplication example discussed in Section 4 uses established tiling to illustrate how temporary buffers and accumulators can be assigned different validity obligations.
This Perspective synthesizes these lines of work into a proposed event-based validity contract spanning application dataflow, runtime placement, and memory maintenance. Its intended extension is to retain the obligation while a semantic event remains incomplete, allowing renewal when execution overruns a prediction. The trace framework and FPGA migration measurements support exploration of that contract's costs rather than validating novel storage hardware.
3 THE EXECUTABLE LIFETIME CONTRACT
Building on established lifetime-aware placement approaches, we propose an event-based validity contract for application regions and data structures. Software names the semantic event until which their contents are required, and the contract connects that event to compiler analysis, runtime placement, and memory controller functionality. Its intended extension is to keep the required validity obligation active until the event and all registered consumers have completed, including when execution exceeds its predicted duration, without depending on accurate execution-time prediction. The system selects a suitable retention class and renews protection before expiry whenever the contents remain live. This separates the application's validity requirement from the physical placement policy, allowing the system to choose refresh, promotion, or other preservation mechanisms while maintaining the contract. For example:
Listing 1. Illustrative lifetime-aware interface.
auto panel = allocate(bytes, retention::until_phase_end, guarantee::required);
auto state = allocate(bytes, retention::until_epoch_end, guarantee::required);
phase_begin("attention-tile"); kernel(panel, state); phase_end(); // panel is now dead checkpoint(state); // promote if required
A required contract associates a region with an explicit completion event and a target reliability level. While that event is incomplete, each live value must remain protected within the characterized operating envelope. If a retention window approaches expiry, the system must complete refresh, promotion, or another valid recovery action before protection lapses. A placement preference may be overridden to meet this obligation. The completion event retires the contents only after all registered consumers, including asynchronous transfers, have completed. Unknown lifetimes use a stronger class. Approximate validity requires a separate, explicit error budget.
For example, a tile may be expected to finish within its initial retention window, but contention may delay one of its consumers. The completion event would then remain pending. Under the proposed contract, the system would be required to renew protection before expiry and preserve the contents until all registered consumers have completed. This example specifies the intended enforcement behaviour.
With this approach, the programmer does not request "4096 cycles of STT-MRAM." Instead, the program names a semantic boundary. A compiler or profiler may infer the same information, and an expert can provide a hint when inference is uncertain. The runtime translates the contract into placement and policy using temperature- and variation-aware device profiles.
Contracts must also distinguish correctness from preference. A required contract obliges the system to maintain data validity. A preferred contract permits fallback to a stronger class. An approximate contract may permit a stated error budget, but approximate behaviour must never be enabled implicitly. Expiration is not deallocation: it means that content is no longer guaranteed. Ownership and lifetime remain separate language-level concepts in our approach.
At runtime, the controller would have five basic choices before a guarantee is exhausted:
-
discard data proven dead;
-
refresh it in the current class;
-
promote it to a stronger class;
-
replicate it with suitable error correction; or
-
recompute it if recomputation is cheaper than preservation.
Figure 1 summarises the proposed chain, which illustrates the proposed relationship between a semantic lifetime and a measurable hardware obligation.
4 ALGORITHMS CAN MANUFACTURE SHORT LIFETIMES
Lifetime is not merely a property to track and profile, program transformations can create it. Consider matrix multiplication . In a naive implementation, the input arrays and output remain live for the entire kernel, so a short retention class for those data structures is unsafe even when many elements are accessed close together.
A tiled implementation, as outlined in Figure 2, would change the lifetime requirements of these data structures. It would still keep the full and matrices, and the final , in durable storage, however for each output tile, small sub and microtiles can be created in ephemeral storage and partial tiles can be accumulated in epoch class storage. In this configuration the microtiles are overwritten at the next inner step and the accumulator data will be committed after the output tile calculation has completed. The same computation has therefore acquired explicit phase boundaries and small working sets with bounded lifetimes.
Our prototype approach records each allocation, range access, compute interval, phase, barrier, hint, and free operation in a policy-independent trace. A lifetime analyser tracks each written cache-line version from its defining write to its last read or overwrite. The trace can then be replayed under multiple placement policies and device profiles without rerunning the application. This allows us to separate workload characteristics from policy decisions on where data structures are stored, allowing analysis of the potential performance, correctness, and energy impact of temporal memory approaches.
This approach can be generalised. For instance, in an AI context, attention kernels can separate persistent weights, step-scoped key/value state, and short-lived score tiles. Graph analytics can separate a durable graph, epoch-scoped visited state, and ephemeral frontiers. Hash joins can separate durable inputs, an epoch hash table, and ephemeral match buffers. The opportunity is greatest where a transformation both improves locality and makes data expiration points explicit.
4.1 Example case studies
The lifetime abstraction becomes useful only if it maps onto recognisable execution boundaries. Table 2 gives three candidate mappings. The appropriate placement of concrete implementations would depend on actual device characteristics, workload, and costs of moving data between classes for the memory technology being used.
Tiled attention provides a particularly direct extension of the matrix-multiplication case study. IO-aware attention forms score or probability blocks, uses them to update running normalisation statistics and a partial output accumulator, and then discards them rather than materialising the complete attention matrix [13]. A lifetime contract can place each score block and its temporary reductions in ephemeral storage until that update completes. The running normalisation state and partial output instead require epoch retention until all key/value blocks for the query tile have been processed.
Key/value caches illustrate a more dynamic case. Pages belonging to an active request may be allocated to an epoch class, while rejected speculative branches can be invalidated immediately. If a request prefix is selected for reuse, its pages can be promoted to a stronger class. Page-granular systems such as PagedAttention already expose allocation, sharing, and eviction events that a retention-aware runtime could use [14].
These examples must ultimately be tested using end-to-end traces. Relevant measurements include the fraction of writes served by each class, worst-case rather than average object lifetime, promotion and refresh traffic, capacity pressure, application throughput, and tail latency.
5 A PROTOTYPE THAT SEPARATES EVIDENCE FROM ASSUMPTION
We have built a prototype stack with three parts. The first part is a C ABI and C++ interface that provides programming functionality to define data regions, buffers, specify semantic hints, mapping, refreshes, promotions, and collect statistics on data structure temporal characteristics. We have also developed an event recorder and replay simulator model that captures cache line-level retention, data class capacity, latency, refresh, migration, and failure events that would happen on expired data reads. To complement this we have also developed a prototype FPGA implementation which maps the three logical retention classes onto separate high bandwidth memory (HBM) pseudochannels and uses an FPGA copy kernel to exercise promotion paths. Reclassification allocates space in the destination class and invokes a 512-bit FPGA copy kernel. Thus, this experiment measures

Fig. 1. Lifetime contracts connect application semantics to physical retention. Software states how long an object must remain correct; the compiler, runtime, and controller select and maintain an appropriate retention class. Measured operating conditions feed back into placement and maintenance policy.
TABLE 2 Candidate lifetime contracts in example workloads.
| Workload | Durable data | Epoch data | Ephemeral data | Semantic boundary |
|---|---|---|---|---|
| Tiled attention | Weights, input tensors, and committed outputs | Running softmax statistics and partial-output accumulator | Score/probability block and temporary reductions | A scratch tile becomes dead after its contribution has been incorporated into the running softmax and output [13] |
| LLM serving | Model weights, recovery state, and reusable prefix data | Key/value pages belonging to active requests | Rejected speculative branches and temporary scheduling state | Request completion, branch rejection, or promotion into a shared prefix cache [14] |
| Training | Parameters, optimiser state, and committed checkpoints | Activations, gradient buckets, and step-scoped state | Fused-kernel scratch and temporary reductions | Last backward consumer, completion of a collective, or successful step commit |
the practical cost of promotion and demotion through the proposed software and controller interface.
The reported experiments exercise trace recording and replay, together with migration between logical retention classes implemented using HBM pseudochannels. The FPGA measurements characterise allocation and reclassification costs, while the replay results explore retention safety and energy under an illustrative device profile. These results support the software interface and evaluation approach. They do not yet establish end-to-end enforcement of event-based validity under execution overruns, concurrent consumers, or changing operating conditions.
Table 3 reports bidirectional transfers among all three logical classes. Each entry gives the range across the six directed class pairs. For each direction and size, five warm-up transfers were followed by 50 measured transfers. Measurements were collected on an AMD Alveo U280 using XRT 2.14.0 and the xilinx_u280_gen3x16_xdma_1_202211_1 platform, generated with Vivado 2022.1.1. The HLS migration kernel used the platform's default 300 MHz compute-unit clock, while the HBM subsystem operated at 450 MHz. Copy-path is the host-observed FPGA kernel submission and completion interval used to calculate the observed bandwidth. Application-visible additionally includes destination allocation and runtime reclassification overhead so represents the bandwidth the application observes.
For large transfers, the copy path approaches 4.9 GB/s and shows little dependence on migration direction. End-to-
TABLE 3 Measured U280 migration throughput in GB/s. Ranges span the median result for each of the six directed class pairs.
| Transfer size | Copy-path throughput | Application-visible throughput |
|---|---|---|
| 256 KiB | 3.17–3.36 | 1.98–2.89 |
| 1 MiB | 4.33–4.40 | 2.64–4.06 |
| 16 MiB | 4.79–4.87 | 3.01–3.10 |
| 64 MiB | 4.86–4.94 | 3.25–3.28 |
| 128 MiB | 4.88–4.96 | 3.26–3.33 |
end throughput approaches 3.3 GB/s because destination allocation and runtime operations remain on the critical path. For a 128 MiB transfer, destination allocation takes approximately 11 ms, the kernel interval takes 27.0–27.5 ms, and the complete reclassification takes 40.3–41.2 ms. We see that the fixed costs have a larger effect on small transfers. These measurements indicate that promotion is feasible but should normally operate on sufficiently large regions, reuse preallocated destination storage, or overlap migration with computation.
Table 4 reports a complementary simulation experiment in which a 32 × 32 matrix multiplication was traced using a panel width of four and three output-tile sizes. The simulator selected the shortest-retention classes that safely covered the observed temporary-data lifetimes. For each tile size, the sweep retained the capacities, channel counts, latencies, and energy parameters of the equal-resource profile while varying only the ephemeral and epoch retention windows. The table reports conservative safe windows selected from

Fig. 2. Dataflow and lifetime boundaries for one output tile of blocked matrix multiplication. The packed input microtiles expire after each inner-loop step, whereas the partial output tile remains valid across the complete k-loop before being committed to durable storage.
these profile variants.
The replay used an illustrative equal-capacity, equal-channel profile. Each retention class was provisioned with 1,048,576 64-byte lines (64 MiB) and one independent access channel. With a modelled cycle time of 1 ns, the ephemeral class had a retention window of 128 cycles, two-cycle reads and writes, and respective read and write energies of 1.0 and 2.0 pJ per 64-byte line. The epoch class had a retention window of 4,096 cycles, read and write latencies of three and four cycles, and respective energies of 1.4 and 4.5 pJ. The durable class had unbounded modelled retention, four-cycle reads, 12-cycle writes, and respective energies of 2.0 and 12.0 pJ.
Each modelled operation additionally incurred 0.20 pJ of controller energy and 0.05 pJ of metadata energy. ECC added 0.10 pJ to a read and 0.20 pJ to a write. Consequently, excluding static energy and migration, the total dynamic charges for ephemeral, epoch, and durable reads were 1.35, 1.75, and 2.35 pJ, respectively; the corresponding write charges were 2.45, 4.95, and 12.45 pJ. Migration adds one setup cycle and 1.0 pJ in addition to the source-read and destination-write costs.
The profile assigned static powers of 0.001, 0.002, and 0.003 mW to the ephemeral, epoch, and durable classes, respectively. The totals in Table 4 include both dynamic and static modelled energy although these particular replays performed no migrations.
These parameters are reproducible sensitivity-analysis assumptions rather than measurements of the U280 or a fabricated STT-MRAM device. The results should therefore be interpreted as a design-space demonstration: if a future device provides comparable class trade-offs, the lifetime contracts expose sufficient temporal structure to exploit
them.
The experiment exposes a useful systems trade-off. Larger tiles halve durable input traffic as the tile grows from four to eight to 16, and reduce modelled cycles and energy required for the activity. They also require larger temporary capacity and longer retention. Smaller tiles fit more aggressive memory classes but give up reuse. Retention, capacity, and locality are consequently coupled optimisation variables rather than independent design choices.
Our evidence has four explicit sets of boundaries that define the scope of the findings:
- Measured on the FPGA: allocation, migration, and application-visible reclassification timing.
- Observed from benchmark execution: access ordering, byte ranges, phase boundaries, barriers, and data-structure identities.
- Derived or modelled: cache-line-version lifetimes under the conservative timing model, retention safety, class access latency, energy, capacity contention, refresh, and migration energy.
- Not yet validated: fabricated low-retention STT-MRAM arrays, temperature-dependent tail failures, and full controller energy.
This separation is deliberate. A simulator can reject unsafe contracts and quantify break-even conditions before fabrication, but it cannot substitute for device characterisation.
6 COSTS AND FAILURE MODES
Lifetime contracts introduce architectural and software costs that could eliminate their expected benefit. A practical system must therefore retain an all-durable compatibility path and make the overhead of each additional mechanism visible.
Physically differentiated retention classes require multiple homogeneous arrays or banks, potentially with different cell designs, peripheral circuits, timing parameters, error-correction requirements, and characterisation procedures. This increases design and verification complexity and may reduce the capacity available to any one class. Restricting the system to a small number of well-characterised classes - for example ephemeral, epoch, and durable - is more realistic than exposing many fine-grained retention values.
Furthermore, the controller must record where data are placed and when their guarantees approach expiration. Per-cache-line deadlines would introduce significant metadata and lookup overhead. Region-level metadata and deadline buckets can reduce this cost, although coarse tracking may cause unnecessary refreshes or promotions. Migration must also preserve virtual addresses so that application pointers and accelerator descriptors do not become invalid when the physical bank changes.
Finally, refresh and promotion consume memory bandwidth, energy, and controller queue capacity. Promotion can be especially expensive because it requires allocation in the destination class followed by a complete data copy. The measured U280 migration curve can provide an initial cost model, but it does not establish that promotion is beneficial. A policy is worthwhile only when energy savings match:
TABLE 4
Preliminary deterministic replay data for a tiled matrix multiplication. Reductions are relative to all-durable placement and use an illustrative device profile.
| Tile | Micro max lifetime (cycles) | Accum. max lifetime (cycles) | Retention (cycles; eph./epoch)) | Input reads (bytes) | Cycles mix/dur. | Energy mix/dur. (pJ) | Reduction cycles / energy |
|---|---|---|---|---|---|---|---|
| 4 | 1,130 | 960 | 2,048 / 4,096 | 131,072 | 401,408 / 779,264 | 271,925 / 578,218 | 48.5% / 53.0% |
| 8 | 4,074 | 4,160 | 4,096 / 8,192 | 65,536 | 352,256 / 648,192 | 232,309 / 456,190 | 45.7% / 49.1% |
| 16 | 15,338 | 15,936 | 16,384 / 32,768 | 32,768 | 327,680 / 582,656 | 212,500 / 395,176 | 43.8% / 46.2% |
An analogous condition must hold for execution time and foreground memory bandwidth. A nominally faster short-retention bank can still reduce system performance if it creates bank hot spots, additional queueing, or frequent migration.
Execution time is also uncertain. Pre-emption, contention, data-dependent control flow, and changes in input size can cause an object to outlive its profiled lifetime. A required contract must remain correct under these conditions. The runtime must use conservative margins, monitor approaching deadlines, and refresh or promote data before validity can be lost. A preferred contract may instead fall back to a stronger class when the prediction is uncertain.
Concurrency creates a related problem. A phase may appear complete while another thread, accelerator stream, DMA operation, or tenant still holds a reference to its data. Phase completion must therefore be connected to synchronisation, coherence, and ownership transfer. The controller must not invalidate a region until all required consumers have retired.
Finally, adoption cannot depend on every application being rewritten immediately. Unannotated allocations should default to durable memory. Programmer annotations, profiling, and compiler analysis can then introduce more aggressive placement incrementally. Incorrect hints may reduce efficiency, but they must not compromise correctness.
Expiration must also not be confused with secure deletion. A contract states when data no longer require correctness, but it does not guarantee that residual contents are unreadable. Confidentiality still requires explicit scrubbing, encryption, or cryptographic erasure.
These costs establish the appropriate comparison for evaluation: all-durable placement, a static mixed policy, an oracle bound, and a practical online policy with metadata, capacity limits, refreshes, migrations, queueing, and fallback behaviour enabled.
7 CORRECTNESS COMES BEFORE EFFICIENCY
A retention class is a statistical guarantee, not a timer after which every bit flips. Memory retention in devices such as STT-MRAM varies with temperature, process, aging, data pattern, and cell history. Read disturb phenomenon and write failures further complicate this error surface. Thermal-aware and adaptive error-correction techniques illustrate why reliability mechanisms must be part of the architecture rather than an afterthought [15].
The controller should therefore expose a guaranteed interval at a target uncorrectable-error probability, including guard bands, to provide programmers with architectural commitments. Metadata can be managed at cache-line or region granularity, with deadline buckets avoiding a full-memory scan. Before a deadline, the policy associated with the memory will choose refresh, promotion, replication, or recomputation. Capacity pressure must trigger explicit behaviours: silently placing an object in a weaker class because its requested bank is full would violate the programmer contract.
Our present stochastic simulator is useful for testing control flow but is not yet a physical reliability model. It is configured with an exponential survival curve that treats projected data retention as a characteristic mean; at one such interval the raw failure probability is already . That convention is unsuitable for reporting realistic memory reliability without calibration, ECC, and tail-distribution measurements from physical devices. Until measured devices are available, we use deterministic guaranteed windows for correctness studies and label energy results as sensitivity analyses.
Our programming approach also introduces a semantic failure mode. A programmer may underestimate a lifetime, or an input may make a phase run longer than profiling predicted. Required contracts must remain correct despite such a programming mistake. The runtime can choose a stronger class initially, monitor elapsed time, or promote data before the conservative deadline. Hints may improve efficiency, but correctness cannot depend on perfect prediction.
8 TEMPORAL MEMORY AS A TRANSFORMATION
Multiple retention banks alone are an architectural option or approach. A lifetime-aware cache alone is a policy approach. The transformative opportunity is the combination of these with a stable programming contract and algorithms that deliberately expose temporal structure. This can make the physical property of retention usable without forcing application developers to understand magnetic energy barriers or temperature margins.
Such an abstraction could also outlive any one technology. Retention-aware regions can target STT-MRAM today, other emerging memories tomorrow, or even conventional systems in which the contract governs refresh, replication, power-gating, and recomputation. The overarching idea is that data correctness has a duration, and that duration should influence resource allocation.
9 CONCLUSION
Memory systems expose address, capacity, and bandwidth, but largely conceal retention characteristics. Workloads make that omission costly because their data spans a wide spectrum of useful lifetimes. We propose treating lifetime as a first-class contract, implemented through homogeneous retention-class arrays and correctness-preserving control.
The prototype provides a region-oriented software interface, a trace-based framework for evaluating placement policies, and measured migration costs between logical retention classes. Tiled matrix multiplication illustrates how an established transformation exposes distinct temporary-data lifetimes. The modelled reductions in execution time and memory energy remain conditional projections pending calibration against fabricated devices. These results identify initial device targets and system costs for evaluating temporal memory. However, automatic enforcement of semantic validity under execution overruns and concurrency remains to be demonstrated.
AI DISCLOSURE
LLMs from the ELM service at University of Edinburgh were used to improve the quality of the text, as well as to generate the initial templates for the graphics included in this paper.
ACKNOWLEDGMENT
The FPGA results in this article were collected on the ExCALIBUR H&ES FPGA testbed . The source code for the developed simulator and FPGA implementation is available here: https://github.com/adrianjhpc/ProgrammableRetentionTiles, release 0.1, git commit fc445a6.
REFERENCES
[1] M. Horowitz, "Computing's energy problem (and what we can do about it)," in 2014 IEEE International Solid-State Circuits Conference Digest of Technical Papers, 2014, pp. 10–14.
[2] K. C. Chun, H. Zhao, J. D. Harms, T.-H. Kim, J.-P. Wang, and C. H. Kim, "A scaling roadmap and performance evaluation of in-plane and perpendicular MTJ-based STT-MRAMs for high-density cache memory," IEEE Journal of Solid-State Circuits, vol. 48, no. 2, pp. 598–610, 2013.
[3] Z. Sun, X. Bi, H. Li, W.-F. Wong, Z.-L. Ong, X. Zhu, and W. Wu, "Multi retention level STT-RAM cache designs with a dynamic refresh scheme," in Proceedings of the 44th Annual IEEE/ACM International Symposium on Microarchitecture, 2011, pp. 329–338.
[4] K. Kuan and T. Adegbija, "LARS: Logically adaptable retention time STT-RAM cache for embedded systems," in 2018 Design, Automation & Test in Europe Conference & Exhibition, 2018, pp. 461–466.
[5] , "Energy-efficient runtime adaptable L1 STT-RAM cache design," IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 39, no. 6, pp. 1328–1339, 2020.
[6] K. Swaminathan, R. Pisolkar, C. Xu, and V. Narayanan, "When to forget: A system-level perspective on STT-RAMs," in Proceedings of the 17th Asia and South Pacific Design Automation Conference, 2012, pp. 311–316.
[7] G. Rodríguez, J. Touriño, and M. T. Kandemir, "Volatile STT-RAM scratchpad design and data allocation for low energy," ACM Transactions on Architecture and Code Optimization, vol. 11, no. 4, pp. 38:1–38:26, 2014.
[8] Q. Li, Y. He, J. Li, L. Shi, Y. Chen, and C. J. Xue, "Compiler-assisted refresh minimization for volatile STT-RAM cache," IEEE Transactions on Computers, vol. 64, no. 8, pp. 2169–2181, 2015.
[9] L. A. Bathen and N. Dutt, "HaVOC: A hybrid memory-aware virtualization layer for on-chip distributed scratchpad and non-volatile memories," in Proceedings of the 49th Annual Design Automation Conference, 2012, pp. 447–452.
[10] J. Liu, B. Jaiyen, R. Veras, and O. Mutlu, "RAIDR: Retention-aware intelligent DRAM refresh," in Proceedings of the 39th Annual International Symposium on Computer Architecture, 2012, pp. 1–12.
[11] S. Liu, K. Pattabiraman, T. Moscibroda, and B. G. Zorn, "Flikker: Saving DRAM refresh-power through critical data partitioning," in Proceedings of the 16th International Conference on Architectural Support for Programming Languages and Operating Systems, 2011, pp. 213–224.
[12] M. Tofte and J.-P. Talpin, "Implementation of the typed call-by-value -calculus using a stack of regions," in Proceedings of the 21st ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, 1994, pp. 188–201.
[13] T. Dao, D. Y. Fu, S. Ermon, A. Rudra, and C. Ré, "FlashAttention: Fast and memory-efficient exact attention with IO-awareness," in Advances in Neural Information Processing Systems, vol. 35, 2022, pp. 16344–16359.
[14] W. Kwon, Z. Li, S. Zhuang, Y. Sheng, L. Zheng, C. H. Yu, J. E. Gonzalez, H. Zhang, and I. Stoica, "Efficient memory management for large language model serving with PagedAttention," in Proceedings of the 29th Symposium on Operating Systems Principles, 2023, pp. 611–626.
[15] B. Wu, B. Zhang, Y. Cheng, Y. Wang, D. Liu, and W. Zhao, "An adaptive thermal-aware ECC scheme for reliable STT-MRAM LLC design," IEEE Transactions on Very Large Scale Integration (VLSI) Systems, vol. 27, no. 8, pp. 1851–1860, 2019.
Adrian Jackson is Professor of High Performance Computing Technologies at EPCC, The University of Edinburgh. His research interests include computer architecture, memory systems, and large scale adoption of efficient computing technologies.
