Linux (kernel 3.x and 4.x) Pthread and general process scheduling algorithms

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I was wondering if both scheduling (contention) scopes (SYSTEM and PROCESS) are used in the Linux kernel scheduling logic. POSIX supports PROCESS scope pthreads (MXN model) and SYSTEM scope pthreads (1X1 model) for user level and system visible schedulable units, resp. Article "The Native POSIX Thread Library for Linux", by Ulrich Drepper and Ingo Molnar (Red Hat) suggesting that PROCESS contention scopes were overkill and thus discouraged.



Does kernel 3.x and 4.x support PROCESS scope Pthreads as well or just SYSTEM scope?



Also, what is the scheduler now used for SCHED_OTHER class?



Has anyone done performance or behavior analysis for SCHED_OTHER, FIFO and RR? These have been around for quite some time now. I believe that different classes of workloads (eg HPC or RT) could be positively or negatively affected by the choice of scheduler. But are there any concrete performance results ?



Thank you! --Michael







share|improve this question























    up vote
    1
    down vote

    favorite












    I was wondering if both scheduling (contention) scopes (SYSTEM and PROCESS) are used in the Linux kernel scheduling logic. POSIX supports PROCESS scope pthreads (MXN model) and SYSTEM scope pthreads (1X1 model) for user level and system visible schedulable units, resp. Article "The Native POSIX Thread Library for Linux", by Ulrich Drepper and Ingo Molnar (Red Hat) suggesting that PROCESS contention scopes were overkill and thus discouraged.



    Does kernel 3.x and 4.x support PROCESS scope Pthreads as well or just SYSTEM scope?



    Also, what is the scheduler now used for SCHED_OTHER class?



    Has anyone done performance or behavior analysis for SCHED_OTHER, FIFO and RR? These have been around for quite some time now. I believe that different classes of workloads (eg HPC or RT) could be positively or negatively affected by the choice of scheduler. But are there any concrete performance results ?



    Thank you! --Michael







    share|improve this question





















      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I was wondering if both scheduling (contention) scopes (SYSTEM and PROCESS) are used in the Linux kernel scheduling logic. POSIX supports PROCESS scope pthreads (MXN model) and SYSTEM scope pthreads (1X1 model) for user level and system visible schedulable units, resp. Article "The Native POSIX Thread Library for Linux", by Ulrich Drepper and Ingo Molnar (Red Hat) suggesting that PROCESS contention scopes were overkill and thus discouraged.



      Does kernel 3.x and 4.x support PROCESS scope Pthreads as well or just SYSTEM scope?



      Also, what is the scheduler now used for SCHED_OTHER class?



      Has anyone done performance or behavior analysis for SCHED_OTHER, FIFO and RR? These have been around for quite some time now. I believe that different classes of workloads (eg HPC or RT) could be positively or negatively affected by the choice of scheduler. But are there any concrete performance results ?



      Thank you! --Michael







      share|improve this question











      I was wondering if both scheduling (contention) scopes (SYSTEM and PROCESS) are used in the Linux kernel scheduling logic. POSIX supports PROCESS scope pthreads (MXN model) and SYSTEM scope pthreads (1X1 model) for user level and system visible schedulable units, resp. Article "The Native POSIX Thread Library for Linux", by Ulrich Drepper and Ingo Molnar (Red Hat) suggesting that PROCESS contention scopes were overkill and thus discouraged.



      Does kernel 3.x and 4.x support PROCESS scope Pthreads as well or just SYSTEM scope?



      Also, what is the scheduler now used for SCHED_OTHER class?



      Has anyone done performance or behavior analysis for SCHED_OTHER, FIFO and RR? These have been around for quite some time now. I believe that different classes of workloads (eg HPC or RT) could be positively or negatively affected by the choice of scheduler. But are there any concrete performance results ?



      Thank you! --Michael









      share|improve this question










      share|improve this question




      share|improve this question









      asked Jul 12 at 13:35









      tamumiket

      63




      63

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          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',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f454900%2flinux-kernel-3-x-and-4-x-pthread-and-general-process-scheduling-algorithms%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes










           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f454900%2flinux-kernel-3-x-and-4-x-pthread-and-general-process-scheduling-algorithms%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Displaying single band from multi-band raster using QGIS

          How many registers does an x86_64 CPU actually have?