初始化slab分配器并为VFS、缓冲区高速缓存等创建slab高速缓存。
Initializing the slab allocator and creating slab caches for VFS, buffer cache, etc.
通过使用一个软引用来管理高速缓存的缓冲区,可以解决LeakyChecksum中的问题,如清单2所示。
We can fix the problems in LeakyChecksum by using a soft reference to manage the cached buffer, as shown in Listing 2.
下一行告诉我们尽管有 231MB 内存正在使用,但是应用程序只使用了其中的 86MB;缓冲区和高速缓存使用了其余的内存。
The next line shows us that while 231MB is being used, only 86MB of this is actually being used by applications; the rest is being used for buffers and cache.
在读取方面使用中间内核缓冲区,可以允许内核缓冲区在应用程序不需要内核缓冲区内的全部数据时,充当 “预读高速缓存(readahead cache)” 的角色。
Using the intermediate buffer on the read side allows the kernel buffer to act as a "readahead cache" when the application hasn't asked for as much data as the kernel buffer holds.
因为从逻辑上划分内存缓冲区或高速缓存内存和固件的内存。
Because memory logically divided on buffer or cache memory and firmware memory.
高速缓存中的压缩缓冲区。它是高速存储缓冲区的一部分。
Number of compressed buffers in the cache. This is included in the cache buffer total.
高速缓存中的压缩缓冲区。它是高速存储缓冲区的一部分。
Number of compressed buffers in the cache. This is included in the cache buffer total.
应用推荐