Install alongside windows option ubuntu 18.04 low swap












1















I have a ThinkPad P1 with 64GB ram. I have installed Ubuntu 18.04, and selected install alongside windows option to leave Ubuntu to handle everything during the installation on 1TB SSD which I have allocated 450GB to Ubuntu.



Once installation completed, I have checked the system and noticed ubuntu only gave 2GB to the swaps partition.



I was wondering if this is normal. What if the system requires more SWAPS, what would happen then?



Thx










share|improve this question

























  • It's okay. With the memory that you have, you should not have problems. On my desktop I have a Linux and 32GB of memory I do not have a swap. If I ever run a mathematical procedure that requires a lot of memory I would create a swapfile to execute it.

    – Carlos Dagorret
    Feb 4 at 0:16
















1















I have a ThinkPad P1 with 64GB ram. I have installed Ubuntu 18.04, and selected install alongside windows option to leave Ubuntu to handle everything during the installation on 1TB SSD which I have allocated 450GB to Ubuntu.



Once installation completed, I have checked the system and noticed ubuntu only gave 2GB to the swaps partition.



I was wondering if this is normal. What if the system requires more SWAPS, what would happen then?



Thx










share|improve this question

























  • It's okay. With the memory that you have, you should not have problems. On my desktop I have a Linux and 32GB of memory I do not have a swap. If I ever run a mathematical procedure that requires a lot of memory I would create a swapfile to execute it.

    – Carlos Dagorret
    Feb 4 at 0:16














1












1








1








I have a ThinkPad P1 with 64GB ram. I have installed Ubuntu 18.04, and selected install alongside windows option to leave Ubuntu to handle everything during the installation on 1TB SSD which I have allocated 450GB to Ubuntu.



Once installation completed, I have checked the system and noticed ubuntu only gave 2GB to the swaps partition.



I was wondering if this is normal. What if the system requires more SWAPS, what would happen then?



Thx










share|improve this question
















I have a ThinkPad P1 with 64GB ram. I have installed Ubuntu 18.04, and selected install alongside windows option to leave Ubuntu to handle everything during the installation on 1TB SSD which I have allocated 450GB to Ubuntu.



Once installation completed, I have checked the system and noticed ubuntu only gave 2GB to the swaps partition.



I was wondering if this is normal. What if the system requires more SWAPS, what would happen then?



Thx







18.04 swap






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 3 at 21:20







user1877461

















asked Feb 3 at 21:14









user1877461user1877461

62




62













  • It's okay. With the memory that you have, you should not have problems. On my desktop I have a Linux and 32GB of memory I do not have a swap. If I ever run a mathematical procedure that requires a lot of memory I would create a swapfile to execute it.

    – Carlos Dagorret
    Feb 4 at 0:16



















  • It's okay. With the memory that you have, you should not have problems. On my desktop I have a Linux and 32GB of memory I do not have a swap. If I ever run a mathematical procedure that requires a lot of memory I would create a swapfile to execute it.

    – Carlos Dagorret
    Feb 4 at 0:16

















It's okay. With the memory that you have, you should not have problems. On my desktop I have a Linux and 32GB of memory I do not have a swap. If I ever run a mathematical procedure that requires a lot of memory I would create a swapfile to execute it.

– Carlos Dagorret
Feb 4 at 0:16





It's okay. With the memory that you have, you should not have problems. On my desktop I have a Linux and 32GB of memory I do not have a swap. If I ever run a mathematical procedure that requires a lot of memory I would create a swapfile to execute it.

– Carlos Dagorret
Feb 4 at 0:16










2 Answers
2






active

oldest

votes


















0














Since Ubuntu 17.04 it make a swap file of 2 GB by default. (not a partition)
enter image description here



You can resize the swap file by following this: https://bogdancornianu.com/change-swap-size-in-ubuntu/






share|improve this answer


























  • Thank you for your answer. is it possible to resize the swap? or if the system requires more space, will this get resized automatically?

    – user1877461
    Feb 3 at 21:21













  • Sorry i just remember that Ubuntu 18.04 does not create a swap partition by default. It create a swap file. The system can't resize automatically the swap.

    – JerareYoshi
    Feb 3 at 21:32



















0














I have only 16 GB ram in my main PC.
I constantly monitor the system with gkrellm and it almost never uses swap.

It is always stressed at 90+% cpu active time (8 core processor) and still does not use swap.



Unless you really feel that a larger swap is necessary (and that would only be if monitoring shows it is filling the swap) I believe there is no need to change the default.



My suggestion -- monitor before you stress out and make changes.






share|improve this answer























    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
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1115361%2finstall-alongside-windows-option-ubuntu-18-04-low-swap%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














    Since Ubuntu 17.04 it make a swap file of 2 GB by default. (not a partition)
    enter image description here



    You can resize the swap file by following this: https://bogdancornianu.com/change-swap-size-in-ubuntu/






    share|improve this answer


























    • Thank you for your answer. is it possible to resize the swap? or if the system requires more space, will this get resized automatically?

      – user1877461
      Feb 3 at 21:21













    • Sorry i just remember that Ubuntu 18.04 does not create a swap partition by default. It create a swap file. The system can't resize automatically the swap.

      – JerareYoshi
      Feb 3 at 21:32
















    0














    Since Ubuntu 17.04 it make a swap file of 2 GB by default. (not a partition)
    enter image description here



    You can resize the swap file by following this: https://bogdancornianu.com/change-swap-size-in-ubuntu/






    share|improve this answer


























    • Thank you for your answer. is it possible to resize the swap? or if the system requires more space, will this get resized automatically?

      – user1877461
      Feb 3 at 21:21













    • Sorry i just remember that Ubuntu 18.04 does not create a swap partition by default. It create a swap file. The system can't resize automatically the swap.

      – JerareYoshi
      Feb 3 at 21:32














    0












    0








    0







    Since Ubuntu 17.04 it make a swap file of 2 GB by default. (not a partition)
    enter image description here



    You can resize the swap file by following this: https://bogdancornianu.com/change-swap-size-in-ubuntu/






    share|improve this answer















    Since Ubuntu 17.04 it make a swap file of 2 GB by default. (not a partition)
    enter image description here



    You can resize the swap file by following this: https://bogdancornianu.com/change-swap-size-in-ubuntu/







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Feb 3 at 21:32

























    answered Feb 3 at 21:18









    JerareYoshiJerareYoshi

    1345




    1345













    • Thank you for your answer. is it possible to resize the swap? or if the system requires more space, will this get resized automatically?

      – user1877461
      Feb 3 at 21:21













    • Sorry i just remember that Ubuntu 18.04 does not create a swap partition by default. It create a swap file. The system can't resize automatically the swap.

      – JerareYoshi
      Feb 3 at 21:32



















    • Thank you for your answer. is it possible to resize the swap? or if the system requires more space, will this get resized automatically?

      – user1877461
      Feb 3 at 21:21













    • Sorry i just remember that Ubuntu 18.04 does not create a swap partition by default. It create a swap file. The system can't resize automatically the swap.

      – JerareYoshi
      Feb 3 at 21:32

















    Thank you for your answer. is it possible to resize the swap? or if the system requires more space, will this get resized automatically?

    – user1877461
    Feb 3 at 21:21







    Thank you for your answer. is it possible to resize the swap? or if the system requires more space, will this get resized automatically?

    – user1877461
    Feb 3 at 21:21















    Sorry i just remember that Ubuntu 18.04 does not create a swap partition by default. It create a swap file. The system can't resize automatically the swap.

    – JerareYoshi
    Feb 3 at 21:32





    Sorry i just remember that Ubuntu 18.04 does not create a swap partition by default. It create a swap file. The system can't resize automatically the swap.

    – JerareYoshi
    Feb 3 at 21:32













    0














    I have only 16 GB ram in my main PC.
    I constantly monitor the system with gkrellm and it almost never uses swap.

    It is always stressed at 90+% cpu active time (8 core processor) and still does not use swap.



    Unless you really feel that a larger swap is necessary (and that would only be if monitoring shows it is filling the swap) I believe there is no need to change the default.



    My suggestion -- monitor before you stress out and make changes.






    share|improve this answer




























      0














      I have only 16 GB ram in my main PC.
      I constantly monitor the system with gkrellm and it almost never uses swap.

      It is always stressed at 90+% cpu active time (8 core processor) and still does not use swap.



      Unless you really feel that a larger swap is necessary (and that would only be if monitoring shows it is filling the swap) I believe there is no need to change the default.



      My suggestion -- monitor before you stress out and make changes.






      share|improve this answer


























        0












        0








        0







        I have only 16 GB ram in my main PC.
        I constantly monitor the system with gkrellm and it almost never uses swap.

        It is always stressed at 90+% cpu active time (8 core processor) and still does not use swap.



        Unless you really feel that a larger swap is necessary (and that would only be if monitoring shows it is filling the swap) I believe there is no need to change the default.



        My suggestion -- monitor before you stress out and make changes.






        share|improve this answer













        I have only 16 GB ram in my main PC.
        I constantly monitor the system with gkrellm and it almost never uses swap.

        It is always stressed at 90+% cpu active time (8 core processor) and still does not use swap.



        Unless you really feel that a larger swap is necessary (and that would only be if monitoring shows it is filling the swap) I believe there is no need to change the default.



        My suggestion -- monitor before you stress out and make changes.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 3 at 23:10









        Computer SavvyComputer Savvy

        263




        263






























            draft saved

            draft discarded




















































            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%2f1115361%2finstall-alongside-windows-option-ubuntu-18-04-low-swap%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

            Human spaceflight

            Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

            張江高科駅