20的内存策略改变了?
Tofloor
poster avatar
神末shenmo
deepin
Spark-App
Q&A Team
2020-04-23 07:06
Author
希望有deepin的大佬解答一下

新版DDE有时候会突然卡住什么也动不了,测试是磁盘io爆了,发现一个奇怪的现象

15.11的时候,如果内存不用满,swap是1k都不想给你用

现在我把firefox放后台,他就在不断写入swap,尽管内存还有一半

这是deepin模仿Windows内存策略么?还是火狐新版的神奇能力?

https://bbs.deepin.org/user/101846
Reply Favorite View the author
All Replies
2 / 2
To page
avatar
mahuan
deepin
2020-04-24 04:42
#21
aida 发表于 2020-4-23 13:53
如果你的内存够大可以把swap关闭,我就把swap关掉了

我是16g内存条,怎么永久关闭?
Reply View the author
avatar
mahuan
deepin
2020-04-24 04:43
#22
aida 发表于 2020-4-23 13:53
如果你的内存够大可以把swap关闭,我就把swap关掉了

我的内存条是16g,怎么永久关闭?
Reply View the author
avatar
aida
deepin
2020-04-24 17:35
#23
https://bbs.deepin.org/post/192660
我的内存条是16g,怎么永久关闭?

swapoff -a 然后

注释掉/etc/fstab的swap行

Reply View the author
avatar
xmeng
deepin
2020-04-24 18:43
#24
vm.swappiness = 10
现在开机占用1.6G,也是牛逼。一个dde-dock就占用200多M,以前15.11也没这么多啊。15.11开机800多M,现在是翻倍了。
Reply View the author
avatar
豆浆包子
deepin
2020-04-25 09:34
#25
15.11就没有swap分区。不知道这样是不是算是关闭了swap。
Reply View the author
avatar
lbygljq
deepin
2020-04-25 15:20
#26
我的系统是15.11,基本老这样子


Reply View the author
avatar
星外之神
deepin
2020-04-25 16:11
#27
https://bbs.deepin.org/post/192660
vm.swappiness = 10
现在开机占用1.6G,也是牛逼。一个dde-dock就占用200多M,以前15.11也没这么多啊。15.1 ...

用KDE吧  
Reply View the author
avatar
kingskill
deepin
2020-04-25 23:11
#28
同样是10。

11,unstable版。
Reply View the author
2 / 2
To page