ubuntu install expert mode which kernel choose












0















When I set up a fresh Ubuntu Server installation in expert mode after the partitioning comes a point where you have to select the linux kernel. There are shown about 5 options like linux-generic, linux-image-... and others. The standard selection is linux-generic but I don't exactly know which one to select.



Can someone explain which kernel to use and why? What does this generally effect? What are the differences between the kernel? What does kernel mean?










share|improve this question







New contributor




dfk1976 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    When I set up a fresh Ubuntu Server installation in expert mode after the partitioning comes a point where you have to select the linux kernel. There are shown about 5 options like linux-generic, linux-image-... and others. The standard selection is linux-generic but I don't exactly know which one to select.



    Can someone explain which kernel to use and why? What does this generally effect? What are the differences between the kernel? What does kernel mean?










    share|improve this question







    New contributor




    dfk1976 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      When I set up a fresh Ubuntu Server installation in expert mode after the partitioning comes a point where you have to select the linux kernel. There are shown about 5 options like linux-generic, linux-image-... and others. The standard selection is linux-generic but I don't exactly know which one to select.



      Can someone explain which kernel to use and why? What does this generally effect? What are the differences between the kernel? What does kernel mean?










      share|improve this question







      New contributor




      dfk1976 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      When I set up a fresh Ubuntu Server installation in expert mode after the partitioning comes a point where you have to select the linux kernel. There are shown about 5 options like linux-generic, linux-image-... and others. The standard selection is linux-generic but I don't exactly know which one to select.



      Can someone explain which kernel to use and why? What does this generally effect? What are the differences between the kernel? What does kernel mean?







      kernel






      share|improve this question







      New contributor




      dfk1976 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      dfk1976 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      dfk1976 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Jan 20 at 10:58









      dfk1976dfk1976

      102




      102




      New contributor




      dfk1976 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      dfk1976 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      dfk1976 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          The following applies to MAAS
          https://docs.maas.io/2.1/en/installconfig-nodes-ubuntu-kernels



          which lists




          1. general

          2. hardware enablement kernels (where an 18.04 LTS will upgrade and use the 18.10 kernel in time, then 19.04, then 19.10, then finally 20.04 which can be useful for very modern hardware) low

          3. low latency kernels (see following)


          More kernel options can be seen via https://help.ubuntu.com/community/UbuntuStudio/RealTimeKernel




          Kernel Types



          -generic kernel - this is the stock kernel that is provided by default in Ubuntu.



          -preempt kernel - this kernel is based on the -generic kernel source tree but is built with different configurations (settings) to reduce
          latency. Also known as a soft real-time kernel.



          -rt kernel - is based on the Ubuntu kernel source tree with Ingo Molnar maintained PREEMPT_RT patch applied to it. Also known as a hard
          real-time kernel.



          -lowlatency kernel - very similar to the -preempt kernel and based on the -generic kernel source tree, but uses a more aggressive
          configuration to further reduce latency. Also known as a soft
          real-time kernel.



          -realtime kernel - is based on the vanilla kernel source tree with Ingo Molnar maintained PREEMPT_RT patch applied to it. Also known as a
          hard real-time kernel.



          Kernel Confusion



          Some confusion persists about the purposes of -lowlatency and
          -realtime kernels.



          The goal of -realtime and -rt (hard real-time) kernels is to achieve
          the lowest possible latency at every cost. In technical slang "hard
          realtime systems should always meet their deadlines". Thus developers
          should use the most advanced programming techniques (sleeping
          spinlocks, PI Mutex, Full preemption, IRQ Threads and others) and
          sacrifice things like reliability, power-saving and throughput. Almost
          all parts of kernel should be analysed to guarantee that right
          behaviour always occurs.



          The goal of -preempt and -lowlatency (soft real-time) kernels is to
          achieve good realtime characteristics, meanwhile offering welcomed
          features like rock-solid reliability, good power-saving features and
          also good throughput. But in this way it can't guarantee lowest
          latency under all conditions.




          I listed MAAS as I'm sure will be 3 of the 5 you were offered, I don't recall what the 5 options you mentioned were, but the other reference covers low latency



          --



          I'll provide links for HWE or Hardware Enablement Stack. Using HWE gets you the latest kernel (with more features & kernel modules [drivers]) useful for the latest hardware but not without the [tiny?] loss of stability (primarily they are tested less , esp. in production)



          https://wiki.ubuntu.com/Kernel/LTSEnablementStack
          https://wiki.ubuntu.com/Kernel/RollingLTSEnablementStack



          In the end it's your choice (you know your hardware, end-use, etc best); but for I'd guess 90+% of us it's the generic kernel.






          share|improve this answer


























          • Thanks a lot. So I would choose the stock linux-generic kernel. As I understood it now the other versions are for performance optimizations of the ubuntu system. At the moment this is too scientific and not needed for a standard installation.

            – dfk1976
            Jan 20 at 14:05











          • Only you know your hardware, and end purposes and thus have to decide. HWE allows you to get later kernels, which reduce stability a fraction [newer with less testing] in order to use the latest so you get wireless or newer drivers & features that were missing because you have newer hardware that needs it. Refer wiki.ubuntu.com/Kernel/LTSEnablementStack for more details. If you're happy with the answer, you can accept it (unless you get a better answer), but yes for 90+% of use generic kernels

            – guiverc
            Jan 20 at 21:25











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          dfk1976 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1111331%2fubuntu-install-expert-mode-which-kernel-choose%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          The following applies to MAAS
          https://docs.maas.io/2.1/en/installconfig-nodes-ubuntu-kernels



          which lists




          1. general

          2. hardware enablement kernels (where an 18.04 LTS will upgrade and use the 18.10 kernel in time, then 19.04, then 19.10, then finally 20.04 which can be useful for very modern hardware) low

          3. low latency kernels (see following)


          More kernel options can be seen via https://help.ubuntu.com/community/UbuntuStudio/RealTimeKernel




          Kernel Types



          -generic kernel - this is the stock kernel that is provided by default in Ubuntu.



          -preempt kernel - this kernel is based on the -generic kernel source tree but is built with different configurations (settings) to reduce
          latency. Also known as a soft real-time kernel.



          -rt kernel - is based on the Ubuntu kernel source tree with Ingo Molnar maintained PREEMPT_RT patch applied to it. Also known as a hard
          real-time kernel.



          -lowlatency kernel - very similar to the -preempt kernel and based on the -generic kernel source tree, but uses a more aggressive
          configuration to further reduce latency. Also known as a soft
          real-time kernel.



          -realtime kernel - is based on the vanilla kernel source tree with Ingo Molnar maintained PREEMPT_RT patch applied to it. Also known as a
          hard real-time kernel.



          Kernel Confusion



          Some confusion persists about the purposes of -lowlatency and
          -realtime kernels.



          The goal of -realtime and -rt (hard real-time) kernels is to achieve
          the lowest possible latency at every cost. In technical slang "hard
          realtime systems should always meet their deadlines". Thus developers
          should use the most advanced programming techniques (sleeping
          spinlocks, PI Mutex, Full preemption, IRQ Threads and others) and
          sacrifice things like reliability, power-saving and throughput. Almost
          all parts of kernel should be analysed to guarantee that right
          behaviour always occurs.



          The goal of -preempt and -lowlatency (soft real-time) kernels is to
          achieve good realtime characteristics, meanwhile offering welcomed
          features like rock-solid reliability, good power-saving features and
          also good throughput. But in this way it can't guarantee lowest
          latency under all conditions.




          I listed MAAS as I'm sure will be 3 of the 5 you were offered, I don't recall what the 5 options you mentioned were, but the other reference covers low latency



          --



          I'll provide links for HWE or Hardware Enablement Stack. Using HWE gets you the latest kernel (with more features & kernel modules [drivers]) useful for the latest hardware but not without the [tiny?] loss of stability (primarily they are tested less , esp. in production)



          https://wiki.ubuntu.com/Kernel/LTSEnablementStack
          https://wiki.ubuntu.com/Kernel/RollingLTSEnablementStack



          In the end it's your choice (you know your hardware, end-use, etc best); but for I'd guess 90+% of us it's the generic kernel.






          share|improve this answer


























          • Thanks a lot. So I would choose the stock linux-generic kernel. As I understood it now the other versions are for performance optimizations of the ubuntu system. At the moment this is too scientific and not needed for a standard installation.

            – dfk1976
            Jan 20 at 14:05











          • Only you know your hardware, and end purposes and thus have to decide. HWE allows you to get later kernels, which reduce stability a fraction [newer with less testing] in order to use the latest so you get wireless or newer drivers & features that were missing because you have newer hardware that needs it. Refer wiki.ubuntu.com/Kernel/LTSEnablementStack for more details. If you're happy with the answer, you can accept it (unless you get a better answer), but yes for 90+% of use generic kernels

            – guiverc
            Jan 20 at 21:25
















          0














          The following applies to MAAS
          https://docs.maas.io/2.1/en/installconfig-nodes-ubuntu-kernels



          which lists




          1. general

          2. hardware enablement kernels (where an 18.04 LTS will upgrade and use the 18.10 kernel in time, then 19.04, then 19.10, then finally 20.04 which can be useful for very modern hardware) low

          3. low latency kernels (see following)


          More kernel options can be seen via https://help.ubuntu.com/community/UbuntuStudio/RealTimeKernel




          Kernel Types



          -generic kernel - this is the stock kernel that is provided by default in Ubuntu.



          -preempt kernel - this kernel is based on the -generic kernel source tree but is built with different configurations (settings) to reduce
          latency. Also known as a soft real-time kernel.



          -rt kernel - is based on the Ubuntu kernel source tree with Ingo Molnar maintained PREEMPT_RT patch applied to it. Also known as a hard
          real-time kernel.



          -lowlatency kernel - very similar to the -preempt kernel and based on the -generic kernel source tree, but uses a more aggressive
          configuration to further reduce latency. Also known as a soft
          real-time kernel.



          -realtime kernel - is based on the vanilla kernel source tree with Ingo Molnar maintained PREEMPT_RT patch applied to it. Also known as a
          hard real-time kernel.



          Kernel Confusion



          Some confusion persists about the purposes of -lowlatency and
          -realtime kernels.



          The goal of -realtime and -rt (hard real-time) kernels is to achieve
          the lowest possible latency at every cost. In technical slang "hard
          realtime systems should always meet their deadlines". Thus developers
          should use the most advanced programming techniques (sleeping
          spinlocks, PI Mutex, Full preemption, IRQ Threads and others) and
          sacrifice things like reliability, power-saving and throughput. Almost
          all parts of kernel should be analysed to guarantee that right
          behaviour always occurs.



          The goal of -preempt and -lowlatency (soft real-time) kernels is to
          achieve good realtime characteristics, meanwhile offering welcomed
          features like rock-solid reliability, good power-saving features and
          also good throughput. But in this way it can't guarantee lowest
          latency under all conditions.




          I listed MAAS as I'm sure will be 3 of the 5 you were offered, I don't recall what the 5 options you mentioned were, but the other reference covers low latency



          --



          I'll provide links for HWE or Hardware Enablement Stack. Using HWE gets you the latest kernel (with more features & kernel modules [drivers]) useful for the latest hardware but not without the [tiny?] loss of stability (primarily they are tested less , esp. in production)



          https://wiki.ubuntu.com/Kernel/LTSEnablementStack
          https://wiki.ubuntu.com/Kernel/RollingLTSEnablementStack



          In the end it's your choice (you know your hardware, end-use, etc best); but for I'd guess 90+% of us it's the generic kernel.






          share|improve this answer


























          • Thanks a lot. So I would choose the stock linux-generic kernel. As I understood it now the other versions are for performance optimizations of the ubuntu system. At the moment this is too scientific and not needed for a standard installation.

            – dfk1976
            Jan 20 at 14:05











          • Only you know your hardware, and end purposes and thus have to decide. HWE allows you to get later kernels, which reduce stability a fraction [newer with less testing] in order to use the latest so you get wireless or newer drivers & features that were missing because you have newer hardware that needs it. Refer wiki.ubuntu.com/Kernel/LTSEnablementStack for more details. If you're happy with the answer, you can accept it (unless you get a better answer), but yes for 90+% of use generic kernels

            – guiverc
            Jan 20 at 21:25














          0












          0








          0







          The following applies to MAAS
          https://docs.maas.io/2.1/en/installconfig-nodes-ubuntu-kernels



          which lists




          1. general

          2. hardware enablement kernels (where an 18.04 LTS will upgrade and use the 18.10 kernel in time, then 19.04, then 19.10, then finally 20.04 which can be useful for very modern hardware) low

          3. low latency kernels (see following)


          More kernel options can be seen via https://help.ubuntu.com/community/UbuntuStudio/RealTimeKernel




          Kernel Types



          -generic kernel - this is the stock kernel that is provided by default in Ubuntu.



          -preempt kernel - this kernel is based on the -generic kernel source tree but is built with different configurations (settings) to reduce
          latency. Also known as a soft real-time kernel.



          -rt kernel - is based on the Ubuntu kernel source tree with Ingo Molnar maintained PREEMPT_RT patch applied to it. Also known as a hard
          real-time kernel.



          -lowlatency kernel - very similar to the -preempt kernel and based on the -generic kernel source tree, but uses a more aggressive
          configuration to further reduce latency. Also known as a soft
          real-time kernel.



          -realtime kernel - is based on the vanilla kernel source tree with Ingo Molnar maintained PREEMPT_RT patch applied to it. Also known as a
          hard real-time kernel.



          Kernel Confusion



          Some confusion persists about the purposes of -lowlatency and
          -realtime kernels.



          The goal of -realtime and -rt (hard real-time) kernels is to achieve
          the lowest possible latency at every cost. In technical slang "hard
          realtime systems should always meet their deadlines". Thus developers
          should use the most advanced programming techniques (sleeping
          spinlocks, PI Mutex, Full preemption, IRQ Threads and others) and
          sacrifice things like reliability, power-saving and throughput. Almost
          all parts of kernel should be analysed to guarantee that right
          behaviour always occurs.



          The goal of -preempt and -lowlatency (soft real-time) kernels is to
          achieve good realtime characteristics, meanwhile offering welcomed
          features like rock-solid reliability, good power-saving features and
          also good throughput. But in this way it can't guarantee lowest
          latency under all conditions.




          I listed MAAS as I'm sure will be 3 of the 5 you were offered, I don't recall what the 5 options you mentioned were, but the other reference covers low latency



          --



          I'll provide links for HWE or Hardware Enablement Stack. Using HWE gets you the latest kernel (with more features & kernel modules [drivers]) useful for the latest hardware but not without the [tiny?] loss of stability (primarily they are tested less , esp. in production)



          https://wiki.ubuntu.com/Kernel/LTSEnablementStack
          https://wiki.ubuntu.com/Kernel/RollingLTSEnablementStack



          In the end it's your choice (you know your hardware, end-use, etc best); but for I'd guess 90+% of us it's the generic kernel.






          share|improve this answer















          The following applies to MAAS
          https://docs.maas.io/2.1/en/installconfig-nodes-ubuntu-kernels



          which lists




          1. general

          2. hardware enablement kernels (where an 18.04 LTS will upgrade and use the 18.10 kernel in time, then 19.04, then 19.10, then finally 20.04 which can be useful for very modern hardware) low

          3. low latency kernels (see following)


          More kernel options can be seen via https://help.ubuntu.com/community/UbuntuStudio/RealTimeKernel




          Kernel Types



          -generic kernel - this is the stock kernel that is provided by default in Ubuntu.



          -preempt kernel - this kernel is based on the -generic kernel source tree but is built with different configurations (settings) to reduce
          latency. Also known as a soft real-time kernel.



          -rt kernel - is based on the Ubuntu kernel source tree with Ingo Molnar maintained PREEMPT_RT patch applied to it. Also known as a hard
          real-time kernel.



          -lowlatency kernel - very similar to the -preempt kernel and based on the -generic kernel source tree, but uses a more aggressive
          configuration to further reduce latency. Also known as a soft
          real-time kernel.



          -realtime kernel - is based on the vanilla kernel source tree with Ingo Molnar maintained PREEMPT_RT patch applied to it. Also known as a
          hard real-time kernel.



          Kernel Confusion



          Some confusion persists about the purposes of -lowlatency and
          -realtime kernels.



          The goal of -realtime and -rt (hard real-time) kernels is to achieve
          the lowest possible latency at every cost. In technical slang "hard
          realtime systems should always meet their deadlines". Thus developers
          should use the most advanced programming techniques (sleeping
          spinlocks, PI Mutex, Full preemption, IRQ Threads and others) and
          sacrifice things like reliability, power-saving and throughput. Almost
          all parts of kernel should be analysed to guarantee that right
          behaviour always occurs.



          The goal of -preempt and -lowlatency (soft real-time) kernels is to
          achieve good realtime characteristics, meanwhile offering welcomed
          features like rock-solid reliability, good power-saving features and
          also good throughput. But in this way it can't guarantee lowest
          latency under all conditions.




          I listed MAAS as I'm sure will be 3 of the 5 you were offered, I don't recall what the 5 options you mentioned were, but the other reference covers low latency



          --



          I'll provide links for HWE or Hardware Enablement Stack. Using HWE gets you the latest kernel (with more features & kernel modules [drivers]) useful for the latest hardware but not without the [tiny?] loss of stability (primarily they are tested less , esp. in production)



          https://wiki.ubuntu.com/Kernel/LTSEnablementStack
          https://wiki.ubuntu.com/Kernel/RollingLTSEnablementStack



          In the end it's your choice (you know your hardware, end-use, etc best); but for I'd guess 90+% of us it's the generic kernel.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 20 at 21:34

























          answered Jan 20 at 13:44









          guivercguiverc

          4,30111522




          4,30111522













          • Thanks a lot. So I would choose the stock linux-generic kernel. As I understood it now the other versions are for performance optimizations of the ubuntu system. At the moment this is too scientific and not needed for a standard installation.

            – dfk1976
            Jan 20 at 14:05











          • Only you know your hardware, and end purposes and thus have to decide. HWE allows you to get later kernels, which reduce stability a fraction [newer with less testing] in order to use the latest so you get wireless or newer drivers & features that were missing because you have newer hardware that needs it. Refer wiki.ubuntu.com/Kernel/LTSEnablementStack for more details. If you're happy with the answer, you can accept it (unless you get a better answer), but yes for 90+% of use generic kernels

            – guiverc
            Jan 20 at 21:25



















          • Thanks a lot. So I would choose the stock linux-generic kernel. As I understood it now the other versions are for performance optimizations of the ubuntu system. At the moment this is too scientific and not needed for a standard installation.

            – dfk1976
            Jan 20 at 14:05











          • Only you know your hardware, and end purposes and thus have to decide. HWE allows you to get later kernels, which reduce stability a fraction [newer with less testing] in order to use the latest so you get wireless or newer drivers & features that were missing because you have newer hardware that needs it. Refer wiki.ubuntu.com/Kernel/LTSEnablementStack for more details. If you're happy with the answer, you can accept it (unless you get a better answer), but yes for 90+% of use generic kernels

            – guiverc
            Jan 20 at 21:25

















          Thanks a lot. So I would choose the stock linux-generic kernel. As I understood it now the other versions are for performance optimizations of the ubuntu system. At the moment this is too scientific and not needed for a standard installation.

          – dfk1976
          Jan 20 at 14:05





          Thanks a lot. So I would choose the stock linux-generic kernel. As I understood it now the other versions are for performance optimizations of the ubuntu system. At the moment this is too scientific and not needed for a standard installation.

          – dfk1976
          Jan 20 at 14:05













          Only you know your hardware, and end purposes and thus have to decide. HWE allows you to get later kernels, which reduce stability a fraction [newer with less testing] in order to use the latest so you get wireless or newer drivers & features that were missing because you have newer hardware that needs it. Refer wiki.ubuntu.com/Kernel/LTSEnablementStack for more details. If you're happy with the answer, you can accept it (unless you get a better answer), but yes for 90+% of use generic kernels

          – guiverc
          Jan 20 at 21:25





          Only you know your hardware, and end purposes and thus have to decide. HWE allows you to get later kernels, which reduce stability a fraction [newer with less testing] in order to use the latest so you get wireless or newer drivers & features that were missing because you have newer hardware that needs it. Refer wiki.ubuntu.com/Kernel/LTSEnablementStack for more details. If you're happy with the answer, you can accept it (unless you get a better answer), but yes for 90+% of use generic kernels

          – guiverc
          Jan 20 at 21:25










          dfk1976 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          dfk1976 is a new contributor. Be nice, and check out our Code of Conduct.













          dfk1976 is a new contributor. Be nice, and check out our Code of Conduct.












          dfk1976 is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1111331%2fubuntu-install-expert-mode-which-kernel-choose%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Category:香港粉麵

          List *all* the tuples!

          Channel [V]