Ubuntu slow when laptop connected to power












0















I've already had this problem before but I don't know how I solved it.



Ubuntu becomes very slow (mouse jumps from point to point) when I connect to power. The problem was related to a CPU feature that was activated when power was connected. I don't remember which feature it was. Can someone remember it?



When the system initiates, it takes some seconds for the computer to freeze, like it was the start of some process that made the slowness start










share|improve this question





























    0















    I've already had this problem before but I don't know how I solved it.



    Ubuntu becomes very slow (mouse jumps from point to point) when I connect to power. The problem was related to a CPU feature that was activated when power was connected. I don't remember which feature it was. Can someone remember it?



    When the system initiates, it takes some seconds for the computer to freeze, like it was the start of some process that made the slowness start










    share|improve this question



























      0












      0








      0








      I've already had this problem before but I don't know how I solved it.



      Ubuntu becomes very slow (mouse jumps from point to point) when I connect to power. The problem was related to a CPU feature that was activated when power was connected. I don't remember which feature it was. Can someone remember it?



      When the system initiates, it takes some seconds for the computer to freeze, like it was the start of some process that made the slowness start










      share|improve this question
















      I've already had this problem before but I don't know how I solved it.



      Ubuntu becomes very slow (mouse jumps from point to point) when I connect to power. The problem was related to a CPU feature that was activated when power was connected. I don't remember which feature it was. Can someone remember it?



      When the system initiates, it takes some seconds for the computer to freeze, like it was the start of some process that made the slowness start







      boot power-management cpu






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 7 hours ago







      Guerlando OCs

















      asked 8 hours ago









      Guerlando OCsGuerlando OCs

      2621618




      2621618






















          2 Answers
          2






          active

          oldest

          votes


















          1














          Could have something to do with C-States or P-states which refer to power modes that a CPU can use in order to efficiently use power/frequency without loosing performance. Here’s a post that explains the details.



          I had a laptop that used to freeze because of a non-supported c-state and had to set intel_idle.max_cstate=1 to my GRUB configuration as a boot parameter
          GRUB_CMDLINE_LINUX_DEFAULT in
          /etc/default/grub



          A useful place to know more about your cpu frequency managment is:



          cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver



          mine is: acpi-cpufreq



          cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors



          mine are: conservative ondemand userspace powersave performance



          Would be curious to know how it goes






          share|improve this answer
























          • this problem hasn't happened for years but it just happened now for no reason. cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors gives me performance powersave both on AC and without AC connection

            – Guerlando OCs
            7 hours ago











          • and my scaling driver is intel_pstate

            – Guerlando OCs
            7 hours ago











          • the boot parameter didn't work. Something important: the slowness starts after some time after the system intiates, like it was something starting up in the system

            – Guerlando OCs
            7 hours ago











          • I've found the solution, but thank you!

            – Guerlando OCs
            6 hours ago



















          0














          The solution was that I was using a faulty power extender. The ubuntu wouldn't show it was charging but the connection kinda worked and I think the CPU was making up for the slow energy it was receiving. I simply connected the charger directly to the AC and it worked and showed it was charging






          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%2f1120472%2fubuntu-slow-when-laptop-connected-to-power%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









            1














            Could have something to do with C-States or P-states which refer to power modes that a CPU can use in order to efficiently use power/frequency without loosing performance. Here’s a post that explains the details.



            I had a laptop that used to freeze because of a non-supported c-state and had to set intel_idle.max_cstate=1 to my GRUB configuration as a boot parameter
            GRUB_CMDLINE_LINUX_DEFAULT in
            /etc/default/grub



            A useful place to know more about your cpu frequency managment is:



            cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver



            mine is: acpi-cpufreq



            cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors



            mine are: conservative ondemand userspace powersave performance



            Would be curious to know how it goes






            share|improve this answer
























            • this problem hasn't happened for years but it just happened now for no reason. cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors gives me performance powersave both on AC and without AC connection

              – Guerlando OCs
              7 hours ago











            • and my scaling driver is intel_pstate

              – Guerlando OCs
              7 hours ago











            • the boot parameter didn't work. Something important: the slowness starts after some time after the system intiates, like it was something starting up in the system

              – Guerlando OCs
              7 hours ago











            • I've found the solution, but thank you!

              – Guerlando OCs
              6 hours ago
















            1














            Could have something to do with C-States or P-states which refer to power modes that a CPU can use in order to efficiently use power/frequency without loosing performance. Here’s a post that explains the details.



            I had a laptop that used to freeze because of a non-supported c-state and had to set intel_idle.max_cstate=1 to my GRUB configuration as a boot parameter
            GRUB_CMDLINE_LINUX_DEFAULT in
            /etc/default/grub



            A useful place to know more about your cpu frequency managment is:



            cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver



            mine is: acpi-cpufreq



            cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors



            mine are: conservative ondemand userspace powersave performance



            Would be curious to know how it goes






            share|improve this answer
























            • this problem hasn't happened for years but it just happened now for no reason. cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors gives me performance powersave both on AC and without AC connection

              – Guerlando OCs
              7 hours ago











            • and my scaling driver is intel_pstate

              – Guerlando OCs
              7 hours ago











            • the boot parameter didn't work. Something important: the slowness starts after some time after the system intiates, like it was something starting up in the system

              – Guerlando OCs
              7 hours ago











            • I've found the solution, but thank you!

              – Guerlando OCs
              6 hours ago














            1












            1








            1







            Could have something to do with C-States or P-states which refer to power modes that a CPU can use in order to efficiently use power/frequency without loosing performance. Here’s a post that explains the details.



            I had a laptop that used to freeze because of a non-supported c-state and had to set intel_idle.max_cstate=1 to my GRUB configuration as a boot parameter
            GRUB_CMDLINE_LINUX_DEFAULT in
            /etc/default/grub



            A useful place to know more about your cpu frequency managment is:



            cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver



            mine is: acpi-cpufreq



            cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors



            mine are: conservative ondemand userspace powersave performance



            Would be curious to know how it goes






            share|improve this answer













            Could have something to do with C-States or P-states which refer to power modes that a CPU can use in order to efficiently use power/frequency without loosing performance. Here’s a post that explains the details.



            I had a laptop that used to freeze because of a non-supported c-state and had to set intel_idle.max_cstate=1 to my GRUB configuration as a boot parameter
            GRUB_CMDLINE_LINUX_DEFAULT in
            /etc/default/grub



            A useful place to know more about your cpu frequency managment is:



            cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver



            mine is: acpi-cpufreq



            cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors



            mine are: conservative ondemand userspace powersave performance



            Would be curious to know how it goes







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 7 hours ago









            Alex BarchiesiAlex Barchiesi

            574




            574













            • this problem hasn't happened for years but it just happened now for no reason. cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors gives me performance powersave both on AC and without AC connection

              – Guerlando OCs
              7 hours ago











            • and my scaling driver is intel_pstate

              – Guerlando OCs
              7 hours ago











            • the boot parameter didn't work. Something important: the slowness starts after some time after the system intiates, like it was something starting up in the system

              – Guerlando OCs
              7 hours ago











            • I've found the solution, but thank you!

              – Guerlando OCs
              6 hours ago



















            • this problem hasn't happened for years but it just happened now for no reason. cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors gives me performance powersave both on AC and without AC connection

              – Guerlando OCs
              7 hours ago











            • and my scaling driver is intel_pstate

              – Guerlando OCs
              7 hours ago











            • the boot parameter didn't work. Something important: the slowness starts after some time after the system intiates, like it was something starting up in the system

              – Guerlando OCs
              7 hours ago











            • I've found the solution, but thank you!

              – Guerlando OCs
              6 hours ago

















            this problem hasn't happened for years but it just happened now for no reason. cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors gives me performance powersave both on AC and without AC connection

            – Guerlando OCs
            7 hours ago





            this problem hasn't happened for years but it just happened now for no reason. cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors gives me performance powersave both on AC and without AC connection

            – Guerlando OCs
            7 hours ago













            and my scaling driver is intel_pstate

            – Guerlando OCs
            7 hours ago





            and my scaling driver is intel_pstate

            – Guerlando OCs
            7 hours ago













            the boot parameter didn't work. Something important: the slowness starts after some time after the system intiates, like it was something starting up in the system

            – Guerlando OCs
            7 hours ago





            the boot parameter didn't work. Something important: the slowness starts after some time after the system intiates, like it was something starting up in the system

            – Guerlando OCs
            7 hours ago













            I've found the solution, but thank you!

            – Guerlando OCs
            6 hours ago





            I've found the solution, but thank you!

            – Guerlando OCs
            6 hours ago













            0














            The solution was that I was using a faulty power extender. The ubuntu wouldn't show it was charging but the connection kinda worked and I think the CPU was making up for the slow energy it was receiving. I simply connected the charger directly to the AC and it worked and showed it was charging






            share|improve this answer




























              0














              The solution was that I was using a faulty power extender. The ubuntu wouldn't show it was charging but the connection kinda worked and I think the CPU was making up for the slow energy it was receiving. I simply connected the charger directly to the AC and it worked and showed it was charging






              share|improve this answer


























                0












                0








                0







                The solution was that I was using a faulty power extender. The ubuntu wouldn't show it was charging but the connection kinda worked and I think the CPU was making up for the slow energy it was receiving. I simply connected the charger directly to the AC and it worked and showed it was charging






                share|improve this answer













                The solution was that I was using a faulty power extender. The ubuntu wouldn't show it was charging but the connection kinda worked and I think the CPU was making up for the slow energy it was receiving. I simply connected the charger directly to the AC and it worked and showed it was charging







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 6 hours ago









                Guerlando OCsGuerlando OCs

                2621618




                2621618






























                    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%2f1120472%2fubuntu-slow-when-laptop-connected-to-power%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

                    How did Captain America manage to do this?

                    迪纳利

                    南乌拉尔铁路局