Ubuntu Advantage (Pro) 中的实时内核和 livepatch 有什么区别?

Krz*_*ara 6 updates kernel ubuntu-advantage

我想在我的系统上测试 Ubuntu Advantage/Pro 选项:

\n
~$ \xe2\x96\xb6 lsb_release -a\nNo LSB modules are available.\nDistributor ID: Ubuntu\nDescription:    Ubuntu 22.04.1 LTS\nRelease:    22.04\nCodename:   jammy\n~$ \xe2\x96\xb6 sudo pro status\nSERVICE          ENTITLED  STATUS    DESCRIPTION\nesm-apps         yes       enabled   Expanded Security Maintenance for Applications\nesm-infra        yes       enabled   Expanded Security Maintenance for Infrastructure\nlivepatch        yes       enabled   Canonical Livepatch service\nrealtime-kernel  yes       disabled  Ubuntu kernel with PREEMPT_RT patches integrated\n\nEnable services with: pro enable <service>\n\n     Account: xyz@zyx.com\nSubscription: Ubuntu Pro - free personal subscription\n~$ \xe2\x96\xb6 sudo pro enable realtime-kernel\nOne moment, checking your subscription first\nReal-time kernel cannot be enabled with Livepatch.\nDisable Livepatch and proceed to enable Real-time kernel? (y/N)\nCannot enable Real-time kernel when Livepatch is enabled.\n
Run Code Online (Sandbox Code Playgroud)\n

看来 livepatch 和 realtime-kernel 这两个选项是互斥的。\nrealtime-kernel 选项到底是什么?手册中没有提到:https://manpages.ubuntu.com/manpages/focal/man1/ua.1.html \n那么这两个选项有什么不同呢?使用两者都有优点吗?

\n

Pil*_*ot6 11

这是完全不同的两件事。

realtime-kernel是一个带有低延迟补丁的内核。

livepatch是一项允许在不重新启动系统的情况下修补内核的服务。

实时内核用于延迟至关重要的情况,例如处理音频。https://ubuntu.com/blog/real-time-ubuntu-is-now-generally-available

Livepatch 服务用于服务器以避免重新启动。 https://ubuntu.com/security/livepatch