linux migration/N high cpu consumption












4















on my linux appliance based on 3.0.0-14 kernel I got:



RPN:/tmp# ps axuf | grep migration
root 6 92.9 0.0 0 0 ? S Apr23 2788:33 _ [migration/0]
root 7 99.7 0.0 0 0 ? S Apr23 2993:20 _ [migration/1]


my top is



RPN:/tmp# top -b -n1
top - 12:03:41 up 2 days, 2:18, 5 users, load average: 25.76, 25.26, 24.73
Tasks: 171 total, 1 running, 168 sleeping, 0 stopped, 2 zombie
Cpu(s): 14.0%us, 12.6%sy, 0.8%ni, 72.0%id, 0.3%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 1543032k total, 1264728k used, 278304k free, 25308k buffers
Swap: 0k total, 0k used, 0k free, 183168k cached


My question: why processes "migration/N" take so much CPU?










share|improve this question

























  • Do you have any start-up tasks?

    – evan.bovie
    May 19 '12 at 5:35
















4















on my linux appliance based on 3.0.0-14 kernel I got:



RPN:/tmp# ps axuf | grep migration
root 6 92.9 0.0 0 0 ? S Apr23 2788:33 _ [migration/0]
root 7 99.7 0.0 0 0 ? S Apr23 2993:20 _ [migration/1]


my top is



RPN:/tmp# top -b -n1
top - 12:03:41 up 2 days, 2:18, 5 users, load average: 25.76, 25.26, 24.73
Tasks: 171 total, 1 running, 168 sleeping, 0 stopped, 2 zombie
Cpu(s): 14.0%us, 12.6%sy, 0.8%ni, 72.0%id, 0.3%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 1543032k total, 1264728k used, 278304k free, 25308k buffers
Swap: 0k total, 0k used, 0k free, 183168k cached


My question: why processes "migration/N" take so much CPU?










share|improve this question

























  • Do you have any start-up tasks?

    – evan.bovie
    May 19 '12 at 5:35














4












4








4








on my linux appliance based on 3.0.0-14 kernel I got:



RPN:/tmp# ps axuf | grep migration
root 6 92.9 0.0 0 0 ? S Apr23 2788:33 _ [migration/0]
root 7 99.7 0.0 0 0 ? S Apr23 2993:20 _ [migration/1]


my top is



RPN:/tmp# top -b -n1
top - 12:03:41 up 2 days, 2:18, 5 users, load average: 25.76, 25.26, 24.73
Tasks: 171 total, 1 running, 168 sleeping, 0 stopped, 2 zombie
Cpu(s): 14.0%us, 12.6%sy, 0.8%ni, 72.0%id, 0.3%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 1543032k total, 1264728k used, 278304k free, 25308k buffers
Swap: 0k total, 0k used, 0k free, 183168k cached


My question: why processes "migration/N" take so much CPU?










share|improve this question
















on my linux appliance based on 3.0.0-14 kernel I got:



RPN:/tmp# ps axuf | grep migration
root 6 92.9 0.0 0 0 ? S Apr23 2788:33 _ [migration/0]
root 7 99.7 0.0 0 0 ? S Apr23 2993:20 _ [migration/1]


my top is



RPN:/tmp# top -b -n1
top - 12:03:41 up 2 days, 2:18, 5 users, load average: 25.76, 25.26, 24.73
Tasks: 171 total, 1 running, 168 sleeping, 0 stopped, 2 zombie
Cpu(s): 14.0%us, 12.6%sy, 0.8%ni, 72.0%id, 0.3%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 1543032k total, 1264728k used, 278304k free, 25308k buffers
Swap: 0k total, 0k used, 0k free, 183168k cached


My question: why processes "migration/N" take so much CPU?







linux cpu-usage






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 23 '12 at 9:53









Dan D.

4,73312838




4,73312838










asked Apr 25 '12 at 16:08









AlexanderAlexander

2113




2113













  • Do you have any start-up tasks?

    – evan.bovie
    May 19 '12 at 5:35



















  • Do you have any start-up tasks?

    – evan.bovie
    May 19 '12 at 5:35

















Do you have any start-up tasks?

– evan.bovie
May 19 '12 at 5:35





Do you have any start-up tasks?

– evan.bovie
May 19 '12 at 5:35










2 Answers
2






active

oldest

votes


















0














This appears to be a known bug. This openVZ forum post suggests to set the proc/sys/kernel/sched_cpulimit_nr_balance to 0.



# echo 0 > /proc/sys/kernel/sched_cpulimit_nr_balance


Which is a workaround you can use until a patch is released.






share|improve this answer































    0














    Compare CPU usage between.



    top -b -n1 | grep migration


    and



    ps axuf | grep migration


    Some 3.X.X.X kernel's have been known to report incorrect PS value's






    share|improve this answer

























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "3"
      };
      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
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f416779%2flinux-migration-n-high-cpu-consumption%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      This appears to be a known bug. This openVZ forum post suggests to set the proc/sys/kernel/sched_cpulimit_nr_balance to 0.



      # echo 0 > /proc/sys/kernel/sched_cpulimit_nr_balance


      Which is a workaround you can use until a patch is released.






      share|improve this answer




























        0














        This appears to be a known bug. This openVZ forum post suggests to set the proc/sys/kernel/sched_cpulimit_nr_balance to 0.



        # echo 0 > /proc/sys/kernel/sched_cpulimit_nr_balance


        Which is a workaround you can use until a patch is released.






        share|improve this answer


























          0












          0








          0







          This appears to be a known bug. This openVZ forum post suggests to set the proc/sys/kernel/sched_cpulimit_nr_balance to 0.



          # echo 0 > /proc/sys/kernel/sched_cpulimit_nr_balance


          Which is a workaround you can use until a patch is released.






          share|improve this answer













          This appears to be a known bug. This openVZ forum post suggests to set the proc/sys/kernel/sched_cpulimit_nr_balance to 0.



          # echo 0 > /proc/sys/kernel/sched_cpulimit_nr_balance


          Which is a workaround you can use until a patch is released.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered May 23 '12 at 8:55









          BramBram

          577312




          577312

























              0














              Compare CPU usage between.



              top -b -n1 | grep migration


              and



              ps axuf | grep migration


              Some 3.X.X.X kernel's have been known to report incorrect PS value's






              share|improve this answer






























                0














                Compare CPU usage between.



                top -b -n1 | grep migration


                and



                ps axuf | grep migration


                Some 3.X.X.X kernel's have been known to report incorrect PS value's






                share|improve this answer




























                  0












                  0








                  0







                  Compare CPU usage between.



                  top -b -n1 | grep migration


                  and



                  ps axuf | grep migration


                  Some 3.X.X.X kernel's have been known to report incorrect PS value's






                  share|improve this answer















                  Compare CPU usage between.



                  top -b -n1 | grep migration


                  and



                  ps axuf | grep migration


                  Some 3.X.X.X kernel's have been known to report incorrect PS value's







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Jul 18 '17 at 2:08









                  phuclv

                  8,98063889




                  8,98063889










                  answered May 22 '12 at 19:02









                  taotao

                  1,295710




                  1,295710






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Super User!


                      • 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%2fsuperuser.com%2fquestions%2f416779%2flinux-migration-n-high-cpu-consumption%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

                      Сан-Квентин

                      8-я гвардейская общевойсковая армия

                      Алькесар