gpt4 book ai didi

server - 为什么使用SSD时交换效果不好?

转载 作者:行者123 更新时间:2023-12-03 13:52:00 26 4
gpt4 key购买 nike

在Digitalocean上,当我想添加交换时,我想到了以下消息:

尽管通常建议对使用传统旋转硬盘驱动器的系统进行交换,但与SSD一起使用交换可能会导致硬件随时间推移而出现问题。基于此考虑,我们不建议在DigitalOcean或任何其他使用SSD存储的提供商上启用交换。这样做可能会影响您和您的邻居的基础硬件的可靠性。本指南仅供可能在其他地方使用磁盘系统的用户引用。
如果您需要提高DigitalOcean上服务器的性能,建议升级您的Droplet。通常,这将导致更好的结果,并减少导致可能影响服务的硬件问题的可能性。

这是为什么?我认为有必要创建一个稳定的服务器(不会遇到内存问题)

最佳答案

相信here's您的答案。

Early SSDs had a reputation for failing after fewer writes than HDDs. If the swap was used often, then the SSD may fail sooner. This might be why you heard it could be bad to use an SSD for swap. Modern SSDs don't have this issue, and they should not fail any faster than a comparable HDD. Placing swap on an SSD will result in better performance than placing it on an HDD due to its faster speeds.

关于server - 为什么使用SSD时交换效果不好?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38872941/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com