Changes between Version 24 and Version 25 of jazz/Performance_Tuning


Ignore:
Timestamp:
Aug 22, 2010, 10:05:51 PM (14 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/Performance_Tuning

    v24 v25  
    6464
    6565 * Cache Memroy - [參考] [http://www.codemud.net/~thinker/GinGin_CGI.py/show_id_doc/419 回收 Linux cached memory]
    66    * 設定 vm.drop_caches 觸發 kernel 回收用於 cache 的記憶體。
     66   * 設定 vm.drop_caches 觸發 kernel 回收用於 cache 的記憶體。 至於 1, 2, 3 的等級,可參考 [http://www.linuxinsight.com/proc_sys_vm_drop_caches.html LinuxInsight 的說明]
     67     * 1: free pagecache
     68     * 2: free dentries and inodes
     69     * 3: free pagecache, dentries and inodes
    6770{{{
    6871echo 1 > /proc/sys/vm/drop_caches
    69     or
     72}}}
     73{{{
    7074sysctl -w vm.drop_caches=1
    7175}}}