readahead专题

5.28 BCC工具之readahead.py解读

一,工具简介 操作系统的读预取机制通过预先读取一些页面来优化顺序操作,从而避免更昂贵的文件系统操作。readahead工具在给定的负载下显示系统上读预取缓存的性能,以调查任何缓存问题。它显示了缓存中未使用页面的数量,并打印了一个直方图,显示它们在缓存中停留的时间。 那readahead工具在什么应用场景下使用呢? 假设你正在开发一个React Native应用程序,该程序在重新编码本地存储中

LWN:我希望看到的关于readahead的文档!

关注了就能看到更多这么棒的文章哦~ Readahead: the documentation I wanted to read April 8, 2022This article was contributed by Neil BrownDeepL assisted translationhttps://lwn.net/Articles/888715/ Linux 内核中的 readahea