[KongchangAI]
Concept

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)

Oct 18

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.

Unverified50%
Oct 15

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.

Unverified50%
Oct 15

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.

Unverified50%
Oct 12

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.

Unverified50%
Oct 7

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.

Unverified50%
Sep 12

LRU 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.

Unverified50%
Sep 12

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.

Unverified50%
Sep 12

For 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.

Unverified50%
Sep 12

Advanced 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.

Unverified50%
Sep 12

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.

Unverified50%

8 more timeline events

All Facts (19)

Verified

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%
Unverified

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.

50%
Unverified

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.

50%
Unverified

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.

50%
Unverified

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.

50%
Unverified

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.

50%
Unverified

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.

50%
Unverified

LRU does not rely on predictions of future access patterns and incurs almost no additional computational overhead.

50%
Unverified

LRU is far harder to beat than KV-Cache papers suggest.

50%
Unverified

A 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%
Unverified

Advanced 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%
Unverified

LRU 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%
Unverified

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.

50%
Unverified

For 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%
Unverified

The 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%
Unverified

Using 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%
Unverified

The 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%
Unverified

Redis的LRU实现并非教科书中严格的链表方案,而是采用近似LRU算法(随机采样+淘汰池)

50%
Unverified

Orvieto等人于2022年提出了Linear Recurrent Unit(LRU),使用对角复数矩阵作为循环核心

50%

Source Articles