相关疑难解决方法(0)

交换是不合时宜的吗?

我使用 unix 已经有一段时间了,在过去的几年里,我觉得交换是一个时代错误,但我很好奇其他人的想法。

我的论点大致是这样的(假设没有全局 ulimit 或 OOM 设置的摆弄):

There is little value in swap because if you need to swap out to disk, 
odds are it's going to be a vicious cycle where an app will continue 
to eat not only real memory, but swap as well until it gets OOM 
reaped (_if_ it gets OOM reaped). 

If you have swap enabled, it will only prolong this death march to 
the detriment of other processes - and in the worst …
Run Code Online (Sandbox Code Playgroud)

swap

46
推荐指数
3
解决办法
3604
查看次数

标签 统计

swap ×1