linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [FYI] DAMON and virtio-balloon in DeepSeek's DSec paper
@ 2026-09-25  5:44 Lance Yang
  2026-09-25  5:57 ` Lian Wang
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Lance Yang @ 2026-09-25  5:44 UTC (permalink / raw)
  To: sj, mst, david
  Cc: damon, linux-mm, virtualization, ryncsn, kunwu.chan, lianux.mm,
	baohua, xueyuan.chen21, Lance Yang

Hi all,

I was reading DeepSeek's new DSec paper[1] and found a nice use of DAMON
and virtio-balloon:

With this kind of workload, an agent may read a file once and never touch
it again, while those pages remain in the guest page cache. Without memory
pressure in the guest, they can stay cached even though the host would
like that memory back ...

The trick is DAMON + virtio-balloon free-page reporting :) DAMON reclaims
cold file pages from the guest page cache; buddy gets a chance to coalesce
them into reportable blocks, and virtio-balloon passes those blocks to
Firecracker. Firecracker can then drop the host backing with MADV_DONTNEED.

And it worked: time-integrated host memory use fell by 21.2%, while peak
usage stayed about the same, with no significant CPU overhead. Pretty cool
to see these pieces show up in another real, large-scale system :)

Kernel work still changes the world. Cheers to that!

Anyhow, I still don't know DAMON and virtio-balloon as well as I should
(mostly I just know the people who built them) :P

[1] https://arxiv.org/html/2609.22978

Cheers, Lance


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

end of thread, other threads:[~2026-09-30 10:33 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-25  5:44 [FYI] DAMON and virtio-balloon in DeepSeek's DSec paper Lance Yang
2026-09-25  5:57 ` Lian Wang
2026-09-25  6:46   ` KunWu Chan
2026-09-25  7:04 ` David Hildenbrand (Arm)
2026-09-25  7:28   ` Lian Wang
2026-09-25  8:15   ` Lance Yang
2026-09-25 10:03     ` David Hildenbrand (Arm)
2026-09-25 10:16     ` Gao Xiang
2026-09-25 10:27       ` Gao Xiang
2026-09-25 10:13 ` SJ Park
2026-09-29 12:32 ` Jialiang Huang
2026-09-29 12:41   ` Gao Xiang
2026-09-29 12:50     ` Jialiang Huang
2026-09-30  3:36     ` Muchun Song
2026-09-30  7:24       ` Gao Xiang
2026-09-30  9:37         ` Muchun Song
2026-09-30 10:33           ` Gao Xiang
2026-09-29 16:56   ` SJ Park
2026-09-30  3:07     ` Lian Wang
2026-09-30  8:08       ` SJ Park
2026-09-29 18:14   ` Pratyush Mallick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).