what does CPU do during process swappingHow can swapoff be that slow?Linux (3.4) SSD swap partition usage...

Broken bottom bracket?

Awk to get all my regular users in shadow

Upper Bound for a Sum

Why do dragons like shiny stuff?

Conditional probability of dependent random variables

Formal mathematical definition of renormalization group flow

How do I know when and if a character requires a backstory?

What's "halachic" about "Esav hates Ya'akov"?

Is there a booking app or site that lets you specify your gender for shared dormitories?

Why is it to say 'paucis post diebus'?

On the consistency of different well-polished astronomy software

Getting an entry level IT position later in life

Is the first page of a novel really that important?

Generate random number in Unity without class ambiguity

Why is the Vasa Museum in Stockholm so Popular?

When using the Proficiency Dice optional rule, how should they be used in determining a character's Spell Save DC?

Based on what criteria do you add/not add icons to labels within a toolbar?

What are the limitations of the Hendersson-Hasselbalch equation?

Is there a command-line tool for converting html files to pdf?

Four-velocity of radially infalling gas in Schwarzschild metric

Probably terminated or laid off soon; confront or not?

Why does putting a dot after the URL remove login information?

Pronouns when writing from the point of view of a robot

How do people drown while wearing a life jacket?



what does CPU do during process swapping


How can swapoff be that slow?Linux (3.4) SSD swap partition usage causes extreme latency - how to eliminate?GNU/Linux swapping blocks systemLog from oom killerPermanent swapping with lots of free memoryLinux kernel: Bigger swap-in chunksWhy is my Fedora Linux system swapping like crazy?Why Linux does not clean up disk caches and swap automatically?Building custom kernel with kswapd0 disabledDoes Linux perform “opportunistic swapping”, or is it a myth?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















swapping out and swapping in of a process takes huge time (assume 2 secs as I read in Galvin)
Question 1 : during that 2 secs does CPU waits for the process to load or it's assigned to some other process?
My doubt : during swapping-out, a process travels from main memory to secondary memory (disk), that transfer can be performed by DMA and swapping-in can also be performed by DMA, so the idle time (i.e. 2 secs) can be utilised by CPU, by assigning some other process.










share|improve this question







New contributor



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




























    0















    swapping out and swapping in of a process takes huge time (assume 2 secs as I read in Galvin)
    Question 1 : during that 2 secs does CPU waits for the process to load or it's assigned to some other process?
    My doubt : during swapping-out, a process travels from main memory to secondary memory (disk), that transfer can be performed by DMA and swapping-in can also be performed by DMA, so the idle time (i.e. 2 secs) can be utilised by CPU, by assigning some other process.










    share|improve this question







    New contributor



    hulesh chandra 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








      swapping out and swapping in of a process takes huge time (assume 2 secs as I read in Galvin)
      Question 1 : during that 2 secs does CPU waits for the process to load or it's assigned to some other process?
      My doubt : during swapping-out, a process travels from main memory to secondary memory (disk), that transfer can be performed by DMA and swapping-in can also be performed by DMA, so the idle time (i.e. 2 secs) can be utilised by CPU, by assigning some other process.










      share|improve this question







      New contributor



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











      swapping out and swapping in of a process takes huge time (assume 2 secs as I read in Galvin)
      Question 1 : during that 2 secs does CPU waits for the process to load or it's assigned to some other process?
      My doubt : during swapping-out, a process travels from main memory to secondary memory (disk), that transfer can be performed by DMA and swapping-in can also be performed by DMA, so the idle time (i.e. 2 secs) can be utilised by CPU, by assigning some other process.







      swap






      share|improve this question







      New contributor



      hulesh chandra 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



      hulesh chandra 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



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








      asked 3 hours ago









      hulesh chandrahulesh chandra

      1




      1




      New contributor



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




      New contributor




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



























          0






          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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
          });


          }
          });






          hulesh chandra 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%2funix.stackexchange.com%2fquestions%2f534056%2fwhat-does-cpu-do-during-process-swapping%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








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










          draft saved

          draft discarded


















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













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












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
















          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • 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%2funix.stackexchange.com%2fquestions%2f534056%2fwhat-does-cpu-do-during-process-swapping%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

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...