|
cloud内核占用那么少为什么没多少人用? 你用的什么内核? 内核选项来自 GITHUB YLX2016的脚本
那 cloud 内核是什么呢?凭什么这么小呢?包页面对 linux-image-cloud-amd64 说明是:
This package depends on the latest Linux kernel and modules for use on Amazon EC2, Google Compute Engine and Microsoft Azure cloud platforms.
即是为这些云平台而优化的。这样好似会增加一些模块,裁剪的部分在哪?可以从 News from the Debian Cloud Team 中一探究竟:
A cloud-specific Linux package (linux-image-cloud) allowed us to disable features that are not relevant in cloud environments and enable what is really important. For example, features related to bluetooth and sound support are disabled and some drivers needed by the cloud providers are enabled. To illustrate that, Amazon EC2 uses Elastic Network Adapter (ENA) support and Intel Corporation 82599 Ethernet Controller Virtual Function, and Microsoft Azure uses Mellanox Technologies MT27500/MT27520 Family [ConnectX-3/ConnectX-3 Pro Virtual Function], all of them are enabled by default in linux-image-cloud package (and are not needed at all by regular Debian users).
大意是说,有些特性是云环境不需要的,像蓝牙、声音支持。看来,cloud 内核剔除了这些无用模块(同时添加了几乎只有云平台会用到的驱动程序)。 |
|