linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [LSF/MM TOPIC] Proactive Memory Reclaim
@ 2019-04-23 15:30 Shakeel Butt
  2019-04-23 15:58 ` Mel Gorman
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Shakeel Butt @ 2019-04-23 15:30 UTC (permalink / raw)
  To: lsf-pc
  Cc: Linux MM, Michal Hocko, Johannes Weiner, Rik van Riel, Roman Gushchin

Though this is quite late, I still want to propose a topic for
discussion during LSFMM'19 which I think will be beneficial for Linux
users in general but particularly the data center users running a
range of different workloads and want to reduce the memory cost.

Topic: Proactive Memory Reclaim

Motivation/Problem: Memory overcommit is most commonly used technique
to reduce the cost of memory by large infrastructure owners. However
memory overcommit can adversely impact the performance of latency
sensitive applications by triggering direct memory reclaim. Direct
reclaim is unpredictable and disastrous for latency sensitive
applications.

Solution: Proactively reclaim memory from the system to drastically
reduce the occurrences of direct reclaim. Target cold memory to keep
the refault rate of the applications acceptable (i.e. no impact on the
performance).

Challenges:
1. Tracking cold memory efficiently.
2. Lack of infrastructure to reclaim specific memory.

Details: Existing "Idle Page Tracking" allows tracking cold memory on
a system but it becomes prohibitively expensive as the machine size
grows. Also there is no way from the user space to reclaim a specific
'cold' page. I want to present our implementation of cold memory
tracking and reclaim. The aim is to make it more generally beneficial
to lot more users and upstream it.

More details:
"Software-driven far-memory in warehouse-scale computers", ASPLOS'19.
https://youtu.be/aKddds6jn1s


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-04-24 16:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-23 15:30 [LSF/MM TOPIC] Proactive Memory Reclaim Shakeel Butt
2019-04-23 15:58 ` Mel Gorman
2019-04-23 16:33   ` Shakeel Butt
2019-04-23 16:49     ` Yang Shi
2019-04-23 17:12       ` Shakeel Butt
2019-04-23 18:26         ` Yang Shi
2019-04-23 16:08 ` Rik van Riel
2019-04-23 17:04   ` Shakeel Butt
2019-04-23 17:49     ` Johannes Weiner
2019-04-23 17:34   ` Suren Baghdasaryan
2019-04-23 17:31 ` Johannes Weiner
2019-04-24 16:28   ` Christopher Lameter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox