Live data from Hacker News

Transparent memory offloading: more memory at a fraction of the cost and power

engineering.fb.com

1–10 of 62 posts

Re: Transparent memory offloading: more memory at a fraction of the cost and power

#4
post #3

or "Meta re-invents swap disk"

You should read the whole article, because TMO does differ from traditional swapping. Notably, swapping usually occurs during periods of extreme memory pressure, where as TMO will offload memory much sooner and more intelligently.

Re: Transparent memory offloading: more memory at a fraction of the cost and power

#5
>Using a compressed-memory back end, TMO saves 7 percent to12 percent of resident memory across five applications. Multiple applications’ data have poor compressibility, such that offloading to an SSD proves far more effective.

that in general sounds strange. My experience across different application types over more than 2 decades has been very different (not about SSD, i mean the compression in memory have been always a very efficient approach).

> Specifically, machine learning models used for Ads prediction commonly use quantized byte-encoded values that exhibit a compression ratio of 1.3-1.4x.

yep, i haven't used compression for that. That though calls for a question - how many of those models do FB have in memory. Any chance FB instantiates such a model for every user/request? :)

Re: Transparent memory offloading: more memory at a fraction of the cost and power

#7
post #4
post #3

or "Meta re-invents swap disk"

You should read the whole article, because TMO does differ from traditional swapping. Notably, swapping usually occurs during periods of extreme memory pressure, where as TMO will offload memory much sooner and more intelligently.

So… paging then? Slightly improved paging?

Re: Transparent memory offloading: more memory at a fraction of the cost and power

#8

Nice, they have reinvented virtual memory and paging to disk.

Indeed. The side describes TMO in bombastic terms, but this is just an incremental improvement to zram and swapping.

Yet, a smarter algorithm to swap intelligently was long due.

Re: Transparent memory offloading: more memory at a fraction of the cost and power

#9
post #4

Earlier quoted context omitted.

You should read the whole article, because TMO does differ from traditional swapping. Notably, swapping usually occurs during periods of extreme memory pressure, where as TMO will offload memory much sooner and more intelligently.

So… paging then? Slightly improved paging?

Only one way to know for sure!
Post reply on HN