Maybe Silly Question about RAM and SWAP on Windows Host OS

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











up vote
0
down vote

favorite












I'm new here, i've read and appreciated the original post by Thompsonn but as the title says i have a quick silly question, but first some background.



At work i'm forced to use Windows as the host OS (I work with and prefer Linux) because of the mandatory requirements in certain applications we use and i can't virtualize it.



I've bought a new laptop a few months ago, with 2 NVMes, 2 SSDs, 64GB of RAM, i7-8700K and a GTX1070, a nice fella :)



I happen to use many VMs during my study, work and hobby, the vast majority Linux-based.



I have at least 6 VMs open most of the time, and i see that the disk is used a lot, and the VMs actually use swap even if the RAM isn't filled yet.



To try to slow down the wear on the SSDs, i've moved the virtual hard disks of the VMs and divided them between 3 of the 4 physical drives i have.



Given that i have almost 26GBs free of RAM, may i use RAMdisks as swap storage for the Linux VMs?



Thanks in advance







share|improve this question























    up vote
    0
    down vote

    favorite












    I'm new here, i've read and appreciated the original post by Thompsonn but as the title says i have a quick silly question, but first some background.



    At work i'm forced to use Windows as the host OS (I work with and prefer Linux) because of the mandatory requirements in certain applications we use and i can't virtualize it.



    I've bought a new laptop a few months ago, with 2 NVMes, 2 SSDs, 64GB of RAM, i7-8700K and a GTX1070, a nice fella :)



    I happen to use many VMs during my study, work and hobby, the vast majority Linux-based.



    I have at least 6 VMs open most of the time, and i see that the disk is used a lot, and the VMs actually use swap even if the RAM isn't filled yet.



    To try to slow down the wear on the SSDs, i've moved the virtual hard disks of the VMs and divided them between 3 of the 4 physical drives i have.



    Given that i have almost 26GBs free of RAM, may i use RAMdisks as swap storage for the Linux VMs?



    Thanks in advance







    share|improve this question





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm new here, i've read and appreciated the original post by Thompsonn but as the title says i have a quick silly question, but first some background.



      At work i'm forced to use Windows as the host OS (I work with and prefer Linux) because of the mandatory requirements in certain applications we use and i can't virtualize it.



      I've bought a new laptop a few months ago, with 2 NVMes, 2 SSDs, 64GB of RAM, i7-8700K and a GTX1070, a nice fella :)



      I happen to use many VMs during my study, work and hobby, the vast majority Linux-based.



      I have at least 6 VMs open most of the time, and i see that the disk is used a lot, and the VMs actually use swap even if the RAM isn't filled yet.



      To try to slow down the wear on the SSDs, i've moved the virtual hard disks of the VMs and divided them between 3 of the 4 physical drives i have.



      Given that i have almost 26GBs free of RAM, may i use RAMdisks as swap storage for the Linux VMs?



      Thanks in advance







      share|improve this question











      I'm new here, i've read and appreciated the original post by Thompsonn but as the title says i have a quick silly question, but first some background.



      At work i'm forced to use Windows as the host OS (I work with and prefer Linux) because of the mandatory requirements in certain applications we use and i can't virtualize it.



      I've bought a new laptop a few months ago, with 2 NVMes, 2 SSDs, 64GB of RAM, i7-8700K and a GTX1070, a nice fella :)



      I happen to use many VMs during my study, work and hobby, the vast majority Linux-based.



      I have at least 6 VMs open most of the time, and i see that the disk is used a lot, and the VMs actually use swap even if the RAM isn't filled yet.



      To try to slow down the wear on the SSDs, i've moved the virtual hard disks of the VMs and divided them between 3 of the 4 physical drives i have.



      Given that i have almost 26GBs free of RAM, may i use RAMdisks as swap storage for the Linux VMs?



      Thanks in advance









      share|improve this question










      share|improve this question




      share|improve this question









      asked May 3 at 17:22









      Matias Paglioni

      1




      1




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          You could allocate RAM to a RAM disk or create a swap file in /dev/shm, but that just consumes the RAM and makes it more likely you'll have to start using swap on a heavily-laden host.



          Some usage of swap on a lightly-loaded host is entirely normal if the processes in memory are inactive. You can alter how aggressive the kernel is at making this determination by adjusting the swappiness of the host.






          share|improve this answer





















            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%2f441612%2fmaybe-silly-question-about-ram-and-swap-on-windows-host-os%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            You could allocate RAM to a RAM disk or create a swap file in /dev/shm, but that just consumes the RAM and makes it more likely you'll have to start using swap on a heavily-laden host.



            Some usage of swap on a lightly-loaded host is entirely normal if the processes in memory are inactive. You can alter how aggressive the kernel is at making this determination by adjusting the swappiness of the host.






            share|improve this answer

























              up vote
              0
              down vote













              You could allocate RAM to a RAM disk or create a swap file in /dev/shm, but that just consumes the RAM and makes it more likely you'll have to start using swap on a heavily-laden host.



              Some usage of swap on a lightly-loaded host is entirely normal if the processes in memory are inactive. You can alter how aggressive the kernel is at making this determination by adjusting the swappiness of the host.






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                You could allocate RAM to a RAM disk or create a swap file in /dev/shm, but that just consumes the RAM and makes it more likely you'll have to start using swap on a heavily-laden host.



                Some usage of swap on a lightly-loaded host is entirely normal if the processes in memory are inactive. You can alter how aggressive the kernel is at making this determination by adjusting the swappiness of the host.






                share|improve this answer













                You could allocate RAM to a RAM disk or create a swap file in /dev/shm, but that just consumes the RAM and makes it more likely you'll have to start using swap on a heavily-laden host.



                Some usage of swap on a lightly-loaded host is entirely normal if the processes in memory are inactive. You can alter how aggressive the kernel is at making this determination by adjusting the swappiness of the host.







                share|improve this answer













                share|improve this answer



                share|improve this answer











                answered May 3 at 17:31









                DopeGhoti

                40k54779




                40k54779






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f441612%2fmaybe-silly-question-about-ram-and-swap-on-windows-host-os%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?