buffer 與cache 的區(qū)別 A buffer is something that has yet to be “written” to disk. A cache is something that has been “read” from the disk and stored for later use. 更詳細的解釋參考:Difference Between Buffer and Cache 對于共享內(nèi)存(Shared memory),主要用于在UNIX 環(huán)境下不同進程之間共享數(shù)據(jù),是進程間通信的一種方法,一般的應用程序不會申請使用共享內(nèi)存,筆者也沒有去驗證共享內(nèi)存對上面等式的影響。如果你有興趣,請參考:What is Shared Memory?