2

Google 内核补丁加速配备多个 NVMe 硬盘的服务器关机时间

 2 years ago
source link: https://www.solidot.org/story?sid=71110
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Google 内核补丁加速配备多个 NVMe 硬盘的服务器关机时间

WinterIsComing (31822)发表于 2022年03月30日 22时02分 星期三 新浪微博分享 豆瓣分享 来自最后一个阿特兰蒂斯人
Google 工程师递交的一个内核补丁旨在解决服务器有太多 NVMe 硬盘时的重启问题。Linux 内核目前使用的驱动器关机功能使用的是同步机制,对于每一个驱动器,它都需要等待关机指令完成才能执行下一 步。关闭一个驱动器需要大约 4.5 秒的时间,如果一台服务器使用了 16 个 NVMe 驱动器,那么重启服务器需要等待 72 秒。Google 工程师的补丁将同步改为异步,在向第一个驱动器发出指令后立即转向下一个。异步关机将能大幅节省服务器重启所需的时间。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK