国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開APP
userphoto
未登錄

開通VIP,暢享免費電子書等14項超值服

開通VIP
Adjust Your swappiness!

What is swappiness and why the heck should I change it?

swappiness is a value between 0 and 100 which controls the priority of your system using ram vs. swap.

Making this change will greatly increase the performance of your box! Especially if you have a recent system with lots of ram.

A swappiness value of 0 means avoid swap as much as possible and only use ram.

A swappiness value of 100 means avoid ram as much as possible and only use swap.

By default, Ubuntu is set for swappiness of 60.

For desktop users I recommend changing swappiness to a value of 10.

For most servers I suggest setting it to a value of 25.

If you have 4, 8, or more GB of ram, consider setting your swappiness to 0.


Ok, so how to I check my swappiness?

Do this command to check your current swappiness value:

cat /proc/sys/vm/swappiness



You can temporarily change it by issuing:

sudo sysctl vm.swappiness=10



To set the value permanently on your box, edit this file:

sudo nano /etc/sysctl.conf



And put in the value you desire, such as:

vm.swappiness=10

本站僅提供存儲服務,所有內容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權內容,請點擊舉報。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
Linux 配置 Swap 功能
調整linux內核盡量用內存,而不用swap
永久關閉linux swap
Linux Swap交換分區(qū)介紹總結
Ubuntu下設置swap使用策略(轉)
修改swappiness讓系統(tǒng)飛得更快更穩(wěn)定!針對我們X8 2.3的ROM
更多類似文章 >>
生活服務
分享 收藏 導長圖 關注 下載文章
綁定賬號成功
后續(xù)可登錄賬號暢享VIP特權!
如果VIP功能使用有故障,
可點擊這里聯(lián)系客服!

聯(lián)系客服