IBM AIX下的lru_file_repage參數是什么,很多新手對此不是很清楚,為了幫助大家解決這個難題,下面小編將為大家詳細講解,有這方面需求的人可以來學習下,希望你能有所收獲。
AIX的內核參數的調整對數據庫和應用的性能至關重要。一般來說,在部署階段,我們必須對內核參數做適當的調整,上線以后,也需要對內核的某些參數做出微調。最近,收到一個case,發現errpt里面有大量的”NIM thread blocked”事件,老外抱怨前端應用很慢,通過nmon收集信息,發現有大量的page in/out。
經過分析,我發現有一個相當重要的參數,需要我們去關注,那就是lru_file_repage.簡單來說,就是如果將這個參數設置為0的時候,AIX會盡可能的keep住計算內存在RAM里面.在AIX6.1里面這個參數默認為0.在啟用了STMM的DB2數據庫里面,數據庫內存的規則也是會盡量不讓計算內存交換出去.
對于這個參數IBM的官方解釋如下:
lru_file_repage – when the number of permanent memory pages (numperm) falls between minperm and maxperm (or the number of client memory pages falls between minperm and maxclient), this setting indicates whether repaging rates are considered when deciding to evict permanent memory pages or computational memory pages. Setting this to 0 tells AIX to ignore repaging rates and favor evicting permament memory pages, keeping more computational memory in RAM. The AIX 5L default is 1/true (consider the repaging rate), The AIX 6.1 default is 0/false (now a restricted setting).
在我們調整完該參數后,再微調了數據庫的另外一些參數,數據庫性能得到了大幅度的提升,沒有再出現”NIM thread blocked”。
看完上述內容是否對您有幫助呢?如果還想對相關知識有進一步的了解或閱讀更多相關文章,請關注創新互聯-成都網站建設公司行業資訊頻道,感謝您對創新互聯的支持。
分享題目:IBMAIX下的lru_file_repage參數是什么-創新互聯
URL鏈接:http://m.2m8n56k.cn/article18/dipdgp.html
成都網站建設公司_創新互聯,為您提供網站收錄、軟件開發、品牌網站制作、網站設計公司、云服務器、用戶體驗
聲明:本網站發布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創新互聯