我想在我的系统上测试/Pro选项:
~$ ▶ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
~$ ▶ sudo pro status
SERVICE ENTITLED STATUS DESCRIPTION
esm-apps yes enabled Expanded Security Maintenance for Applications
esm-infra yes enabled Expanded Security Maintenance for Infrastructure
livepatch yes enabled Canonical Livepatch service
realtime-kernel yes disabled Ubuntu kernel with PREEMPT_RT patches integrated
Enable services with: pro enable
Account: xyz@zyx.com
Subscription: Ubuntu Pro - free personal subscription
~$ ▶ sudo pro enable realtime-kernel
One moment, checking your subscription first
Real-time kernel cannot be enabled with Livepatch.
Disable Livepatch and proceed to enable Real-time kernel? (y/N)
Cannot enable Real-time kernel when Livepatch is enabled.
看起来这两个选项livepatch和实时内核是相互排斥的。什么是实时内核选项呢?手册中没有提到这一点:https://manpages.ubuntu.com/manpages/focal/man1/ua.1.html,那么这两个选项有什么不同呢?这两者都有好处吗?
发布于 2023-01-31 18:03:19
这是完全不同的两件事。
实时内核是一个具有低延迟补丁的内核。
livepatch是一种允许在不重新启动系统的情况下修补内核的服务。
实时内核在延迟非常关键的情况下使用,例如在处理音频时.https://ubuntu.com/blog/real-time-ubuntu-is-now-generally-available
服务器使用Livepatch服务以避免重新启动。https://ubuntu.com/security/livepatch
https://askubuntu.com/questions/1452850
复制相似问题