LRU
Least Recently Used, a cache eviction policy that prioritizes evicting the least recently used data, employed to balance memory usage and cache hit rate.
Core Facts
Timeline (last 90 days)
In engineering, memory forgetting is usually implemented through mechanisms such as time-decay-based weights, access-frequency-based eviction (similar to LRU), importance-score-based pruning, and explicit expiration and deletion policies.
Common online strategies in the paging problem include least recently used (LRU) and first in first out (FIFO).
Common implementations of expert swapping in and out include using mmap to map weight files into virtual memory so the operating system pages them in on demand, or maintaining one's own expert cache with LRU eviction.
The MoE cache groups expert tensors by data type and shape, allocating one shared slot pool per group in VRAM and using an LRU eviction policy.
Both LRU (least recently used) and FIFO (first in, first out) eviction policies treat "time" as a proxy variable for importance, but in the debug capturer scenario, observation frequency is negatively correlated with information value—what appears at high frequency is retry noise, while the malformed payload that appears only once at low frequency is what is actually wanted.
Any combination of bounded storage plus an eviction policy implicitly contains a value judgment about "what is worth keeping"; the default LRU or FIFO presupposes that "time" is a proxy variable for importance, but this fails in scenarios such as retries, deduplication, and anomaly detection.
Cache eviction policies include LRU, LFU, and weighted schemes that consider prefix length or recomputation cost; frequent cache eviction reduces the effectiveness of cache-aware routing.
GPU expert weight caching typically uses a replacement strategy similar to LRU (Least Recently Used), prioritizing retention of expert weights that have been frequently invoked recently.
Fair evaluation of caching algorithms requires testing on a broad and representative set of workloads, with a well-tuned LRU serving as the strong baseline.
LRU (Least Recently Used) is a cache eviction algorithm whose core idea is to evict the data that has not been accessed for the longest time.
9 more timeline events
All Facts (20)
Modern databases such as MySQL InnoDB and PostgreSQL both implement a buffer pool mechanism internally, managing cache replacement strategies through algorithms such as LRU.
65%UnverifiedCache eviction policies include LRU, LFU, and weighted schemes that consider prefix length or recomputation cost; frequent cache eviction reduces the effectiveness of cache-aware routing.
60%UnverifiedIn engineering, memory forgetting is usually implemented through mechanisms such as time-decay-based weights, access-frequency-based eviction (similar to LRU), importance-score-based pruning, and explicit expiration and deletion policies.
50%UnverifiedCommon online strategies in the paging problem include least recently used (LRU) and first in first out (FIFO).
50%UnverifiedCommon implementations of expert swapping in and out include using mmap to map weight files into virtual memory so the operating system pages them in on demand, or maintaining one's own expert cache with LRU eviction.
50%UnverifiedThe MoE cache groups expert tensors by data type and shape, allocating one shared slot pool per group in VRAM and using an LRU eviction policy.
50%UnverifiedAny combination of bounded storage plus an eviction policy implicitly contains a value judgment about "what is worth keeping"; the default LRU or FIFO presupposes that "time" is a proxy variable for importance, but this fails in scenarios such as retries, deduplication, and anomaly detection.
50%UnverifiedBoth LRU (least recently used) and FIFO (first in, first out) eviction policies treat "time" as a proxy variable for importance, but in the debug capturer scenario, observation frequency is negatively correlated with information value—what appears at high frequency is retry noise, while the malformed payload that appears only once at low frequency is what is actually wanted.
50%UnverifiedGPU expert weight caching typically uses a replacement strategy similar to LRU (Least Recently Used), prioritizing retention of expert weights that have been frequently invoked recently.
50%UnverifiedA large body of research has attempted to design smarter cache eviction strategies than LRU, such as deciding which cache entries to retain based on token importance, attention scores, or access frequency.
50%UnverifiedAdvanced caching strategies require additional metadata tracking, scoring computation, and maintenance costs, and after accounting for these overheads, their net gain relative to LRU may shrink substantially.
50%UnverifiedLRU is extremely lightweight to implement and performs stably across various access patterns, whereas the advantages of complex algorithms in specific patterns are often accompanied by performance degradation in other patterns.
50%UnverifiedFair evaluation of caching algorithms requires testing on a broad and representative set of workloads, with a well-tuned LRU serving as the strong baseline.
50%UnverifiedFor teams building large model inference services, a well-implemented and well-tuned LRU is often already a quite powerful choice, and alternative solutions should be comprehensively tested on actual workloads before a decision is made.
50%UnverifiedLRU (Least Recently Used) is a cache eviction algorithm whose core idea is to evict the data that has not been accessed for the longest time.
50%UnverifiedLRU does not rely on predictions of future access patterns and incurs almost no additional computational overhead.
50%UnverifiedLRU is far harder to beat than KV-Cache papers suggest.
50%UnverifiedThe classic LRU algorithm is prone to cache pollution in one-time large-batch read scenarios such as full-table scans, evicting hot data from the cache.
50%UnverifiedUsing an LRU (Least Recently Used) caching strategy allows hot site data to be cached in memory while cold site data falls back to disk or a database.
50%UnverifiedThe LRU cache replacement policy requires at least 24 bytes of metadata overhead per entry on 64-bit systems (16 bytes for a doubly linked list + 8 bytes for a timestamp).
50%