Virtual Ubuntu 18.04 gets slow over time












1















I was happily running Ubuntu 16.04 as a virtual machine using Virtualbox on my Windows PC for about a year. Recently I decided to upgrade that (with do-release-upgrade) to 18.04.



The problem is that once I start using the VM, it gets slow over the time - really slow (several seconds response time for my keyboard and mouse inputs). Only rebooting the VM solves the issue temporarily. Slowing down typically starts after 30-60 minutes of uptime. Even right after booting up the VM it's not as quick and responsive as it used to be with 16.04, but it's still usable (lag is maybe 100-200 milliseconds.)



VM specs:




  • My host has 16 gigs of DDR4, from which I have given 4 gigs for the VM.

  • The VM has 2 cores to use of my i7 Skylake (with 100% execution gap).

  • I have given the VM 128mb video memory from my 1070 GTX.

  • 3D acceleration is enabled

  • VTx and nested paging are enabled

  • I have guest additions installed (v 5.2.16)

  • On the VM I have installed additional drivers installed for graphics:


enter image description here



Any idea what additional tests I could do to identify the cause of this issue?










share|improve this question























  • I would contact virtual box directly

    – Panther
    Aug 2 '18 at 23:43











  • Ok, thanks. I'm going to give it a show.

    – quinz
    Aug 3 '18 at 9:21
















1















I was happily running Ubuntu 16.04 as a virtual machine using Virtualbox on my Windows PC for about a year. Recently I decided to upgrade that (with do-release-upgrade) to 18.04.



The problem is that once I start using the VM, it gets slow over the time - really slow (several seconds response time for my keyboard and mouse inputs). Only rebooting the VM solves the issue temporarily. Slowing down typically starts after 30-60 minutes of uptime. Even right after booting up the VM it's not as quick and responsive as it used to be with 16.04, but it's still usable (lag is maybe 100-200 milliseconds.)



VM specs:




  • My host has 16 gigs of DDR4, from which I have given 4 gigs for the VM.

  • The VM has 2 cores to use of my i7 Skylake (with 100% execution gap).

  • I have given the VM 128mb video memory from my 1070 GTX.

  • 3D acceleration is enabled

  • VTx and nested paging are enabled

  • I have guest additions installed (v 5.2.16)

  • On the VM I have installed additional drivers installed for graphics:


enter image description here



Any idea what additional tests I could do to identify the cause of this issue?










share|improve this question























  • I would contact virtual box directly

    – Panther
    Aug 2 '18 at 23:43











  • Ok, thanks. I'm going to give it a show.

    – quinz
    Aug 3 '18 at 9:21














1












1








1








I was happily running Ubuntu 16.04 as a virtual machine using Virtualbox on my Windows PC for about a year. Recently I decided to upgrade that (with do-release-upgrade) to 18.04.



The problem is that once I start using the VM, it gets slow over the time - really slow (several seconds response time for my keyboard and mouse inputs). Only rebooting the VM solves the issue temporarily. Slowing down typically starts after 30-60 minutes of uptime. Even right after booting up the VM it's not as quick and responsive as it used to be with 16.04, but it's still usable (lag is maybe 100-200 milliseconds.)



VM specs:




  • My host has 16 gigs of DDR4, from which I have given 4 gigs for the VM.

  • The VM has 2 cores to use of my i7 Skylake (with 100% execution gap).

  • I have given the VM 128mb video memory from my 1070 GTX.

  • 3D acceleration is enabled

  • VTx and nested paging are enabled

  • I have guest additions installed (v 5.2.16)

  • On the VM I have installed additional drivers installed for graphics:


enter image description here



Any idea what additional tests I could do to identify the cause of this issue?










share|improve this question














I was happily running Ubuntu 16.04 as a virtual machine using Virtualbox on my Windows PC for about a year. Recently I decided to upgrade that (with do-release-upgrade) to 18.04.



The problem is that once I start using the VM, it gets slow over the time - really slow (several seconds response time for my keyboard and mouse inputs). Only rebooting the VM solves the issue temporarily. Slowing down typically starts after 30-60 minutes of uptime. Even right after booting up the VM it's not as quick and responsive as it used to be with 16.04, but it's still usable (lag is maybe 100-200 milliseconds.)



VM specs:




  • My host has 16 gigs of DDR4, from which I have given 4 gigs for the VM.

  • The VM has 2 cores to use of my i7 Skylake (with 100% execution gap).

  • I have given the VM 128mb video memory from my 1070 GTX.

  • 3D acceleration is enabled

  • VTx and nested paging are enabled

  • I have guest additions installed (v 5.2.16)

  • On the VM I have installed additional drivers installed for graphics:


enter image description here



Any idea what additional tests I could do to identify the cause of this issue?







virtualbox 18.04 virtualization






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Aug 2 '18 at 22:19









quinzquinz

10817




10817













  • I would contact virtual box directly

    – Panther
    Aug 2 '18 at 23:43











  • Ok, thanks. I'm going to give it a show.

    – quinz
    Aug 3 '18 at 9:21



















  • I would contact virtual box directly

    – Panther
    Aug 2 '18 at 23:43











  • Ok, thanks. I'm going to give it a show.

    – quinz
    Aug 3 '18 at 9:21

















I would contact virtual box directly

– Panther
Aug 2 '18 at 23:43





I would contact virtual box directly

– Panther
Aug 2 '18 at 23:43













Ok, thanks. I'm going to give it a show.

– quinz
Aug 3 '18 at 9:21





Ok, thanks. I'm going to give it a show.

– quinz
Aug 3 '18 at 9:21










1 Answer
1






active

oldest

votes


















0














[Note]: Try this solution if you have used "Erase disk and install Ubuntu" option which is the automatic partitioning during installation:



Solution:



Reinstall Ubuntu, and instead of using the automatic partitioning, use manual partitioning by choosing "Something else" option on "Installation type" step.



Screenshot






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%2f1061861%2fvirtual-ubuntu-18-04-gets-slow-over-time%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    [Note]: Try this solution if you have used "Erase disk and install Ubuntu" option which is the automatic partitioning during installation:



    Solution:



    Reinstall Ubuntu, and instead of using the automatic partitioning, use manual partitioning by choosing "Something else" option on "Installation type" step.



    Screenshot






    share|improve this answer






























      0














      [Note]: Try this solution if you have used "Erase disk and install Ubuntu" option which is the automatic partitioning during installation:



      Solution:



      Reinstall Ubuntu, and instead of using the automatic partitioning, use manual partitioning by choosing "Something else" option on "Installation type" step.



      Screenshot






      share|improve this answer




























        0












        0








        0







        [Note]: Try this solution if you have used "Erase disk and install Ubuntu" option which is the automatic partitioning during installation:



        Solution:



        Reinstall Ubuntu, and instead of using the automatic partitioning, use manual partitioning by choosing "Something else" option on "Installation type" step.



        Screenshot






        share|improve this answer















        [Note]: Try this solution if you have used "Erase disk and install Ubuntu" option which is the automatic partitioning during installation:



        Solution:



        Reinstall Ubuntu, and instead of using the automatic partitioning, use manual partitioning by choosing "Something else" option on "Installation type" step.



        Screenshot







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jan 9 at 15:52









        Mr Shunz

        2,40521922




        2,40521922










        answered Jan 9 at 14:13









        Ebrahim KhalilullahEbrahim Khalilullah

        11




        11






























            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%2f1061861%2fvirtual-ubuntu-18-04-gets-slow-over-time%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

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

             ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕