Linux??????????????????
???????????? ???????[ 2016/8/31 10:44:17 ] ?????????????? Linux
???????????
??????????????????????????棨????????????檔Linux?????????λ??????檔?????С????4K???????????????????????????????????????????Linux??????????????????????????????????Щ??????????????л????Linux???????????????????????λ?á?
?????????
????Linux???????????????????????????????????????????????????????????????????????????????????????????????????????????С??????????????????????????????????????????ε??????????????????Ч????μ??????ú??????????
?????1-13???????????η??????
?????1-13 ?????
???????????????????????????????“??????”??
????????????/proc/buddyinfo??????????????????“Memory used in a zone”??
??????????
??????????????????????????????????????????????Linux????μ??????????????Щ????????ù?????????????????????Щ????????????????????????????????y???????????????????????kswapd???????try_to_free_page()???????????????????????
????kswapd????????????ж??????????????????е???????????????????kswapd????????????á?????????????????????????????????????????????????????????б?????б???????????????kswapd??貿(mào)????б??????????????????????????????????б??С?????????vmstat -a???????Щ???????????Щ??????????
????kswapd??????????????????????????????????????????????????????????????????????????????????????????????????????棬????????????κ??????????????????????????????1.1.8??“????????”????kswapd???????????????????????????????????page out??????swap out????
????Page out??swap out??“page out”??“swap out”??????????????“page out”????????????????????????????swap??????“swap out”?????????????????swap?????????????????????????á?
?????????????????????????????????????????ó????????????????????????????????/proc/sys/vm/swappiness???????????Щ?????
????swap??????????
???????????????????????????????б???????y????????????????page out???????????????????ζ??????????????????????????У?swap?????????????????????????????????????????Linux????Ч?????swap??????1-12????????????????????????????swap?????????ɡ???Linux?????????????????У?????????????????????????????????????б?????Linux?????????????swap????С?
?????????????????getty????????????????????????????????????????????á??????????????????沢???????????????????????Ч?????????Linux????swap???????????????????????????50%??????????????????swap??儷?????ò?????ζ??????????????????????Linux??θ?Ч????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11