Better HN
topnewbestaskshowjobs
Log inSign up

yuzhao

6 karma · joined Mar 15, 2021 (5y ago) · 2 submissions

Submissions

comment 5y ago · link · parent

It's not just Chrome OS, it covers data centers too. We call it Google-wide profiling. Check these papers out:

Profiling a warehouse-scale computer https://research.google/pubs/pub44271/

Google-Wide Profiling: A Continuous Profiling Infrastructure for Data Centers https://research.google/pubs/pub36575/

AutoFDO: Automatic Feedback-Directed Optimization for Warehouse-Scale Applications https://research.google/pubs/pub45290/

comment 5y ago · link · parent

I'm one of the Google engineers who work on multigenerational LRU.

The kernel page cache doesn't know better than databases themselves when it comes to what to cache. All high performance databases do this in user space, and they use AIO with direct IO or the latest io_uring to bypass the kernel page cache. Modern cloud (distributed) file systems do the same, including GFS: https://en.wikipedia.org/wiki/Google_File_System

And speaking of io_uring, check this out to see how much improvement when copying without going through page cache: https://wheybags.com/blog/wcp.html