News: 1630645091

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

DRAM-as-cache is too expensive for even Facebook – Zuck now blending it with NVM drives

(2021/09/03)


Facebook has open-sourced code it uses to cache data without relying on DRAM for storage.

"As traditional dynamic random-access memory (DRAM) caches become more expensive and require more power to scale, companies like Facebook are exploring hardware choices such as non-volatile memory (NVM) drives to augment their caching systems," states a new [1]post by Sathya Gunasekar, Snehal Khandkar, Dmitry Vinnik, and Michael Cheng, who work on caching, open source advocacy, and strategy & compliance at The Social Network™.

"This DRAM and NVM hybrid model is a step forward, but innovative caching designs are needed to harness the full potential of the hybrid cache," the four authors state. "This includes new caching heuristics research that must push the boundaries of traditional systems by identifying the relevant content to cache for the right duration."

[2]

Facebook's explorations saw it create a tool called CacheLib and release it as open-source on [3]GitHub . The Social Network™ has also released [4]CacheBench – described as "a benchmarking tool for evaluating caching performance on diverse production workloads".

[5]Facebook: Let us tell you WhatsApp – we don't want to pay that €225m GDPR fine

[6]Online disinformation is an industry that needs regulation, says boffin

[7]Facebook used facial recognition without consent 200,000 times, says South Korea's data watchdog

[8]Facebook sat on report that reveals most-shared post for months was questionable COVID story

CacheLib is already used in production in "more than 70 large-scale systems at Facebook, including the social graph, content delivery network, storage, and look-aside key-value caches".

The authors suggest that CacheLib and CacheBench "have the potential to become an industry standard for caching innovations and benchmarking".

[9]

"To date, our collaborations with research universities, hardware manufacturers, and software companies have yielded substantial results that show the value of this toolkit."

Enough value that Twitter is using it put solid-state disks to work for caching objects, while Pinterest is evaluating it "within its machine learning infrastructure systems to improve prediction performance and system stability".

[10]

The post reveals that Facebook has also worked with Intel, KIOXIA, Samsung, and Western Digital "to standardize and enhance SSD technologies which enable improved caching solutions", with those efforts becoming part of the Open Compute Project's NVMe Cloud SSD Specification.

"This specification, along with CacheLib, will help adapt future NVM technologies for caching workloads across the industry," the authors state. ®

Get our [11]Tech Resources



[1] https://engineering.fb.com/2021/09/02/open-source/cachelib/

[2] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_onprem/storage&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2YTHyYZCeJW0mXzoPBVF2fQAAAEY&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0

[3] https://github.com/facebook/CacheLib

[4] https://github.com/facebookincubator/CacheLib/blob/main/BENCHMARKS.md

[5] https://www.theregister.com/2021/09/02/whatsapp_to_appeal_irish_gdpr_fine/

[6] https://www.theregister.com/2021/08/27/disinformation_is_an_industry/

[7] https://www.theregister.com/2021/08/26/facebook_fined_by_south_korea/

[8] https://www.theregister.com/2021/08/23/facebook_widely_viewed_content_report/

[9] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_onprem/storage&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44YTHyYZCeJW0mXzoPBVF2fQAAAEY&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[10] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_onprem/storage&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44YTHyYZCeJW0mXzoPBVF2fQAAAEY&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[11] https://whitepapers.theregister.com/



kayaks2fish

So stoked for the day to come wherein DRAM and NVM will be hybrids.

Real Programmers don't play tennis, or any other sport that requires
you to change clothes. Mountain climbing is OK, and real programmers
wear their climbing boots to work in case a mountain should suddenly
spring up in the middle of the machine room.