系統管理
取消
顯示結果 
搜尋替代 
您的意思是: 

linux 是否有像Tru64 ubc_xxx 的 kernel 參數

linux 是否有像Tru64 ubc_xxx 的 kernel 參數

Tru 64 unix 有ubc_xxx 的參數, 設定OS 佔用memory 作為buffer cache比例, 但不知道Linux 是否也有相關參數可以設定
2 回覆

linux 是否有像Tru64 ubc_xxx 的 kernel 參數

As I know, there is none. Linux automatically uses all free RAM for buffer cache.

linux 是否有像Tru64 ubc_xxx 的 kernel 參數

Tru64:

The Unified Buffer Cache (UBC) affects disk I/O performance.

The UBC is allocated a portion of physical memory to cache most-recently accessed file system data.

ubc_maxpercent default is 100





Linux:

pagecache

The pagecache file adjusts the amount of RAM which can be used by the page cache. The page cache holds various pieces of data, such as open files from disk, memory mapped files, and pages of executable programs.





Increasing these values allows more programs and cached files to stay in memory longer, thereby allowing applications to execute more quickly. On memory starved systems, however, this may lead to application delays as processes must wait for memory to become available. Moving these values downward swaps processes and other disk-backed data out more quickly, allowing for other processes to obtain memory more easily and increasing execution speed. For most workloads the automatic tuning is sufficient. However, if your workload suffers from excessive swapping and a large cache, you may want to reduce the values until the swapping problem goes away.





previous kernel has VMM managing problem

據我所知在redhat9 as3 pagecache 無法控制

在redhat9 as3 u4以上版本就可已透過pagacache來控制