Why my ubuntu 16.04 LTS suddenly become very slow?Ubuntu 16.04 Fresh Install Very Slowgnome-software on Ubuntu 16.04 doesn't workKilled compiz task with top, then system explodedUbuntu is very slowUbuntu 16.04 Very slow bootUbuntu 16.04 being very slowWhy Ubuntu LTS 16.04 suddenly shutdown?Boot very slow . Ubuntu 16.04Wifi very slow on 16.04Very slow wifi ubuntu 16.04Ubuntu 16.04 booting very slowUbuntu 16.04: suddenly very slow opening folders and filesDiscord suddenly very slow

How much character growth crosses the line into breaking the character

What is the evidence for the "tyranny of the majority problem" in a direct democracy context?

Mixing PEX brands

Why is short-wave infrared portion of electromagnetic spectrum so sensitive to fire?

Angel of Condemnation - Exile creature with second ability

Quasinilpotent , non-compact operators

Limits and Infinite Integration by Parts

User Story breakdown - Technical Task + User Feature

It grows, but water kills it

How to cover method return statement in Apex Class?

Recommended PCB layout understanding - ADM2572 datasheet

Creepy dinosaur pc game identification

Biological Blimps: Propulsion

On a tidally locked planet, would time be quantized?

Does Doodling or Improvising on the Piano Have Any Benefits?

What is Cash Advance APR?

What does "Scientists rise up against statistical significance" mean? (Comment in Nature)

Why did the EU agree to delay the Brexit deadline?

How could a planet have erratic days?

Hero deduces identity of a killer

Do the primes contain an infinite almost arithmetic progression?

Lowest total scrabble score

Why is it that I can sometimes guess the next note?

Can I say "fingers" when referring to toes?



Why my ubuntu 16.04 LTS suddenly become very slow?


Ubuntu 16.04 Fresh Install Very Slowgnome-software on Ubuntu 16.04 doesn't workKilled compiz task with top, then system explodedUbuntu is very slowUbuntu 16.04 Very slow bootUbuntu 16.04 being very slowWhy Ubuntu LTS 16.04 suddenly shutdown?Boot very slow . Ubuntu 16.04Wifi very slow on 16.04Very slow wifi ubuntu 16.04Ubuntu 16.04 booting very slowUbuntu 16.04: suddenly very slow opening folders and filesDiscord suddenly very slow













11















I installed ubuntu 16.04 LTS in Oct. last year on my newly bought HP Envy i7-6700 CPU (x64-based 3.4GHz 4-core 8 -processors, 16 GB ram, 2TB hard drive), it was running OK until just before the X-mas holidays when it became very slow, some times grey window frame. It seems stuck somewhere.










share|improve this question






















  • It seems related to Internet browser, or, LibreOffice, Java

    – Jinstone
    Jan 8 '17 at 16:31












  • Check into the log files specifically the update logs and check what was updated around the time things started to slow then update your question with the relevant information, might help narrow things down. you can navigate into /var/log check the files inside any directory that relates to upgrades. you can open the files in gedit or another document reader with right click. You may also need to look into the archived files .gz

    – Chris
    Jan 8 '17 at 16:41











  • It just showed an error message when I rebooted it: "Sorry Ubuntu 16.04 experienced an internal error" I chose to send the error report to help identify the issue. I have looked at the syslog, it gives tons of GBus error on org.freesktop.PolicyKit1.Error.Failed, permission denied on .cache/dconf/user, gnome-software 1739...

    – Jinstone
    Jan 8 '17 at 16:56












  • See this thread on same issue. askubuntu.com/questions/761745/…

    – oldfred
    Jan 8 '17 at 18:50











  • It may not be your case, but it was mine. I also use linux, tried all these tips, but the real cause was overheating in the processor. I disassemble the entire notebook, unclogged the air ducts, and became fast as when I bought it. Obviously the problem is not about with the operating system.

    – dellasavia
    Jul 19 '18 at 21:20
















11















I installed ubuntu 16.04 LTS in Oct. last year on my newly bought HP Envy i7-6700 CPU (x64-based 3.4GHz 4-core 8 -processors, 16 GB ram, 2TB hard drive), it was running OK until just before the X-mas holidays when it became very slow, some times grey window frame. It seems stuck somewhere.










share|improve this question






















  • It seems related to Internet browser, or, LibreOffice, Java

    – Jinstone
    Jan 8 '17 at 16:31












  • Check into the log files specifically the update logs and check what was updated around the time things started to slow then update your question with the relevant information, might help narrow things down. you can navigate into /var/log check the files inside any directory that relates to upgrades. you can open the files in gedit or another document reader with right click. You may also need to look into the archived files .gz

    – Chris
    Jan 8 '17 at 16:41











  • It just showed an error message when I rebooted it: "Sorry Ubuntu 16.04 experienced an internal error" I chose to send the error report to help identify the issue. I have looked at the syslog, it gives tons of GBus error on org.freesktop.PolicyKit1.Error.Failed, permission denied on .cache/dconf/user, gnome-software 1739...

    – Jinstone
    Jan 8 '17 at 16:56












  • See this thread on same issue. askubuntu.com/questions/761745/…

    – oldfred
    Jan 8 '17 at 18:50











  • It may not be your case, but it was mine. I also use linux, tried all these tips, but the real cause was overheating in the processor. I disassemble the entire notebook, unclogged the air ducts, and became fast as when I bought it. Obviously the problem is not about with the operating system.

    – dellasavia
    Jul 19 '18 at 21:20














11












11








11


4






I installed ubuntu 16.04 LTS in Oct. last year on my newly bought HP Envy i7-6700 CPU (x64-based 3.4GHz 4-core 8 -processors, 16 GB ram, 2TB hard drive), it was running OK until just before the X-mas holidays when it became very slow, some times grey window frame. It seems stuck somewhere.










share|improve this question














I installed ubuntu 16.04 LTS in Oct. last year on my newly bought HP Envy i7-6700 CPU (x64-based 3.4GHz 4-core 8 -processors, 16 GB ram, 2TB hard drive), it was running OK until just before the X-mas holidays when it became very slow, some times grey window frame. It seems stuck somewhere.







16.04 lts






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 8 '17 at 16:22









JinstoneJinstone

56114




56114












  • It seems related to Internet browser, or, LibreOffice, Java

    – Jinstone
    Jan 8 '17 at 16:31












  • Check into the log files specifically the update logs and check what was updated around the time things started to slow then update your question with the relevant information, might help narrow things down. you can navigate into /var/log check the files inside any directory that relates to upgrades. you can open the files in gedit or another document reader with right click. You may also need to look into the archived files .gz

    – Chris
    Jan 8 '17 at 16:41











  • It just showed an error message when I rebooted it: "Sorry Ubuntu 16.04 experienced an internal error" I chose to send the error report to help identify the issue. I have looked at the syslog, it gives tons of GBus error on org.freesktop.PolicyKit1.Error.Failed, permission denied on .cache/dconf/user, gnome-software 1739...

    – Jinstone
    Jan 8 '17 at 16:56












  • See this thread on same issue. askubuntu.com/questions/761745/…

    – oldfred
    Jan 8 '17 at 18:50











  • It may not be your case, but it was mine. I also use linux, tried all these tips, but the real cause was overheating in the processor. I disassemble the entire notebook, unclogged the air ducts, and became fast as when I bought it. Obviously the problem is not about with the operating system.

    – dellasavia
    Jul 19 '18 at 21:20


















  • It seems related to Internet browser, or, LibreOffice, Java

    – Jinstone
    Jan 8 '17 at 16:31












  • Check into the log files specifically the update logs and check what was updated around the time things started to slow then update your question with the relevant information, might help narrow things down. you can navigate into /var/log check the files inside any directory that relates to upgrades. you can open the files in gedit or another document reader with right click. You may also need to look into the archived files .gz

    – Chris
    Jan 8 '17 at 16:41











  • It just showed an error message when I rebooted it: "Sorry Ubuntu 16.04 experienced an internal error" I chose to send the error report to help identify the issue. I have looked at the syslog, it gives tons of GBus error on org.freesktop.PolicyKit1.Error.Failed, permission denied on .cache/dconf/user, gnome-software 1739...

    – Jinstone
    Jan 8 '17 at 16:56












  • See this thread on same issue. askubuntu.com/questions/761745/…

    – oldfred
    Jan 8 '17 at 18:50











  • It may not be your case, but it was mine. I also use linux, tried all these tips, but the real cause was overheating in the processor. I disassemble the entire notebook, unclogged the air ducts, and became fast as when I bought it. Obviously the problem is not about with the operating system.

    – dellasavia
    Jul 19 '18 at 21:20

















It seems related to Internet browser, or, LibreOffice, Java

– Jinstone
Jan 8 '17 at 16:31






It seems related to Internet browser, or, LibreOffice, Java

– Jinstone
Jan 8 '17 at 16:31














Check into the log files specifically the update logs and check what was updated around the time things started to slow then update your question with the relevant information, might help narrow things down. you can navigate into /var/log check the files inside any directory that relates to upgrades. you can open the files in gedit or another document reader with right click. You may also need to look into the archived files .gz

– Chris
Jan 8 '17 at 16:41





Check into the log files specifically the update logs and check what was updated around the time things started to slow then update your question with the relevant information, might help narrow things down. you can navigate into /var/log check the files inside any directory that relates to upgrades. you can open the files in gedit or another document reader with right click. You may also need to look into the archived files .gz

– Chris
Jan 8 '17 at 16:41













It just showed an error message when I rebooted it: "Sorry Ubuntu 16.04 experienced an internal error" I chose to send the error report to help identify the issue. I have looked at the syslog, it gives tons of GBus error on org.freesktop.PolicyKit1.Error.Failed, permission denied on .cache/dconf/user, gnome-software 1739...

– Jinstone
Jan 8 '17 at 16:56






It just showed an error message when I rebooted it: "Sorry Ubuntu 16.04 experienced an internal error" I chose to send the error report to help identify the issue. I have looked at the syslog, it gives tons of GBus error on org.freesktop.PolicyKit1.Error.Failed, permission denied on .cache/dconf/user, gnome-software 1739...

– Jinstone
Jan 8 '17 at 16:56














See this thread on same issue. askubuntu.com/questions/761745/…

– oldfred
Jan 8 '17 at 18:50





See this thread on same issue. askubuntu.com/questions/761745/…

– oldfred
Jan 8 '17 at 18:50













It may not be your case, but it was mine. I also use linux, tried all these tips, but the real cause was overheating in the processor. I disassemble the entire notebook, unclogged the air ducts, and became fast as when I bought it. Obviously the problem is not about with the operating system.

– dellasavia
Jul 19 '18 at 21:20






It may not be your case, but it was mine. I also use linux, tried all these tips, but the real cause was overheating in the processor. I disassemble the entire notebook, unclogged the air ducts, and became fast as when I bought it. Obviously the problem is not about with the operating system.

– dellasavia
Jul 19 '18 at 21:20











4 Answers
4






active

oldest

votes


















5














I have Ubuntu 16.04 running on a Dell Precision M4800. Today, my system suddenly became extremely slow. Googling the issue brought me here.



I fixed the issue by booting into the BIOS and disabling some of the power management features designed to reduce CPU power consumption when there is little work to do. After rebooting into Ubuntu, my system is running as fast as normal again.



I had this issue with a previous laptop as well-- somehow, it seems like it's possible for Ubuntu to get the Intel CPU "stuck" in a low-power, low-performance configuration permanently.






share|improve this answer


















  • 2





    It'd be great if you tell us which settings.

    – Kazim Zaidi
    Mar 1 '18 at 9:28











  • @KazimZaidi Sorry, I don't remember which settings they were. There were at least two, and I didn't test to see if all of them were necessary. I don't have any special knowledge here so it would be difficult for me to diagnose the problem in detail.

    – Max Wallace
    Mar 5 '18 at 5:46


















5














As the other answer, my solution was to disable SpeedStep on the BIOS. I found out that the my cpu was running slower. My CPU should run at 1800MHz, but is was running at 1000MHz. You can see the current CPU speed using several shell commands, e.g:



lscpu


or



cat /proc/cpu


It seems there was a problem with my charger and that made Ubuntu put the CPU into low consumption mode.






share|improve this answer




















  • 1





    Awesome, just unplugged my charger and it started working like before. I'll try to disable SpeedStep, but would be nice to know how to fix it in Ubuntu (Razer Blade Stealth here(

    – Guerlando OCs
    Dec 14 '17 at 1:04











  • I have a Thinkpad13 and charging via USB-C make Ubuntu slow down to a crawl.

    – Konstantin Schubert
    May 11 '18 at 17:45











  • I disabled SpeedStep in my machine and it got extremely slow.

    – Jaumzera
    Aug 14 '18 at 21:35


















2














when its slow issue this in a terminal window ( ctrl-alt-t ) to display top resource using processes



top


here is the output ... notice load average at right of first row



top - 11:48:11 up 3 days, 8 min, 1 user, load average: 0.23, 0.39, 0.54
Tasks: 276 total, 1 running, 272 sleeping, 0 stopped, 3 zombie
%Cpu(s): 1.8 us, 0.7 sy, 0.0 ni, 95.2 id, 2.3 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 16326792 total, 6946732 free, 1726764 used, 7653296 buff/cache
KiB Swap: 16669692 total, 16669692 free, 0 used. 13860968 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
17093 stens 20 0 1629772 446180 121904 S 5.6 2.7 137:51.51 firefox
14358 stens 20 0 1390800 420448 113728 S 4.2 2.6 0:35.42 Web Content
1219 etcd 20 0 639392 28764 12468 S 2.8 0.2 9:24.84 etcd
1531 root 20 0 470212 72960 56564 S 1.4 0.4 25:49.02 Xorg
2718 stens 20 0 1266236 112712 61796 S 1.4 0.7 52:15.46 compiz
2757 stens 20 0 506036 25220 19440 S 1.4 0.2 32:02.48 indicator-multi
3228 stens 20 0 712920 69960 35624 S 1.4 0.4 2:51.65 gnome-terminal-
3488 root 20 0 251432 53740 24132 S 1.4 0.3 5:33.92 mongod
13335 root 20 0 0 0 0 S 1.4 0.0 0:01.17 kworker/u16:3


typically it will appear slow once load average gets over 5 or so YMMV ... listed under COMMAND is the ordered column of top resource consumers ... when its slow kill off whichever process is slowing it down to confirm you found the bad behaving process ... while running top it will autorefresh every few seconds yet if in a hurry hit the spacebar to force a refresh ... hitting key m will focus attention on showing Memory hungry processes ... to kill off the top most resource consuming process just hit key k from which you can enter options or just hit enter



Above has nothing to do with being slow due to insufficient internet bandwidth. If by slow you mean the browser is slow then a simple check is http://beta.speedtest.net/



Alternatives to top are



htop
atop
iotop


Another route to investigate slowness is see if system errors are getting kicked down into system log ... issue



dmesg


look for entries (to scroll up in terminal hold down shift then hit key page up ... or roll mouse middle roller button ) important entries are shown in red or appear error related then research on them ... if you are running some rogue driver not tuned to your hardware or fails to play well with others then its conflicting behaviour can manifest in slowness ... to empty out prior entries issue



sudo dmesg -c


to setup a real time monitor of dmesg issue



watch "dmesg | tail -20"


Here are more logs to examine



cat /var/log/syslog

cat /var/log/kern.log


Let us know how you get on - this is certainly solvable ... a major advantage of linux is its efficient use of hardware as well as its ability to give at hand controls to adjust everything






share|improve this answer

























  • htop auto refreshes, if not installed just install it sudo apt install htop has the same information, load averages at the tip etc.

    – Chris
    Jan 8 '17 at 17:01











  • Added advantage i forgot to mention, you can kill a process from within htop by highlighting and pressing the appropriate F key

    – Chris
    Jan 8 '17 at 17:03











  • @Scott Stensland load average is related to the number of cores I believe. If his processor has 4 cores, then load average shouldn't pass over 4.

    – fugitive
    Jan 8 '17 at 17:05











  • @MilosM yes its related to cores yet I mentioned it as a starting point ... if its slow and load average is low ( less than say 5) then slowness is not related to running out of CPU/RAM ...

    – Scott Stensland
    Jan 8 '17 at 17:07












  • @Jinstone I suggest one that I use often on my work. atop. It can perform various checks. Not sure is it installed in Ubuntu, if not apt-get install atop , and run it to check every sec like: atop -n 1. You can filter various stuff from there.

    – fugitive
    Jan 8 '17 at 17:11


















0














Install package called i7z and run it. It will show you whether your cpu is running at full speed and cpu throttling (=lower speed) is not active.






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%2f869500%2fwhy-my-ubuntu-16-04-lts-suddenly-become-very-slow%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    4 Answers
    4






    active

    oldest

    votes








    4 Answers
    4






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    5














    I have Ubuntu 16.04 running on a Dell Precision M4800. Today, my system suddenly became extremely slow. Googling the issue brought me here.



    I fixed the issue by booting into the BIOS and disabling some of the power management features designed to reduce CPU power consumption when there is little work to do. After rebooting into Ubuntu, my system is running as fast as normal again.



    I had this issue with a previous laptop as well-- somehow, it seems like it's possible for Ubuntu to get the Intel CPU "stuck" in a low-power, low-performance configuration permanently.






    share|improve this answer


















    • 2





      It'd be great if you tell us which settings.

      – Kazim Zaidi
      Mar 1 '18 at 9:28











    • @KazimZaidi Sorry, I don't remember which settings they were. There were at least two, and I didn't test to see if all of them were necessary. I don't have any special knowledge here so it would be difficult for me to diagnose the problem in detail.

      – Max Wallace
      Mar 5 '18 at 5:46















    5














    I have Ubuntu 16.04 running on a Dell Precision M4800. Today, my system suddenly became extremely slow. Googling the issue brought me here.



    I fixed the issue by booting into the BIOS and disabling some of the power management features designed to reduce CPU power consumption when there is little work to do. After rebooting into Ubuntu, my system is running as fast as normal again.



    I had this issue with a previous laptop as well-- somehow, it seems like it's possible for Ubuntu to get the Intel CPU "stuck" in a low-power, low-performance configuration permanently.






    share|improve this answer


















    • 2





      It'd be great if you tell us which settings.

      – Kazim Zaidi
      Mar 1 '18 at 9:28











    • @KazimZaidi Sorry, I don't remember which settings they were. There were at least two, and I didn't test to see if all of them were necessary. I don't have any special knowledge here so it would be difficult for me to diagnose the problem in detail.

      – Max Wallace
      Mar 5 '18 at 5:46













    5












    5








    5







    I have Ubuntu 16.04 running on a Dell Precision M4800. Today, my system suddenly became extremely slow. Googling the issue brought me here.



    I fixed the issue by booting into the BIOS and disabling some of the power management features designed to reduce CPU power consumption when there is little work to do. After rebooting into Ubuntu, my system is running as fast as normal again.



    I had this issue with a previous laptop as well-- somehow, it seems like it's possible for Ubuntu to get the Intel CPU "stuck" in a low-power, low-performance configuration permanently.






    share|improve this answer













    I have Ubuntu 16.04 running on a Dell Precision M4800. Today, my system suddenly became extremely slow. Googling the issue brought me here.



    I fixed the issue by booting into the BIOS and disabling some of the power management features designed to reduce CPU power consumption when there is little work to do. After rebooting into Ubuntu, my system is running as fast as normal again.



    I had this issue with a previous laptop as well-- somehow, it seems like it's possible for Ubuntu to get the Intel CPU "stuck" in a low-power, low-performance configuration permanently.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Nov 4 '17 at 7:38









    Max WallaceMax Wallace

    15115




    15115







    • 2





      It'd be great if you tell us which settings.

      – Kazim Zaidi
      Mar 1 '18 at 9:28











    • @KazimZaidi Sorry, I don't remember which settings they were. There were at least two, and I didn't test to see if all of them were necessary. I don't have any special knowledge here so it would be difficult for me to diagnose the problem in detail.

      – Max Wallace
      Mar 5 '18 at 5:46












    • 2





      It'd be great if you tell us which settings.

      – Kazim Zaidi
      Mar 1 '18 at 9:28











    • @KazimZaidi Sorry, I don't remember which settings they were. There were at least two, and I didn't test to see if all of them were necessary. I don't have any special knowledge here so it would be difficult for me to diagnose the problem in detail.

      – Max Wallace
      Mar 5 '18 at 5:46







    2




    2





    It'd be great if you tell us which settings.

    – Kazim Zaidi
    Mar 1 '18 at 9:28





    It'd be great if you tell us which settings.

    – Kazim Zaidi
    Mar 1 '18 at 9:28













    @KazimZaidi Sorry, I don't remember which settings they were. There were at least two, and I didn't test to see if all of them were necessary. I don't have any special knowledge here so it would be difficult for me to diagnose the problem in detail.

    – Max Wallace
    Mar 5 '18 at 5:46





    @KazimZaidi Sorry, I don't remember which settings they were. There were at least two, and I didn't test to see if all of them were necessary. I don't have any special knowledge here so it would be difficult for me to diagnose the problem in detail.

    – Max Wallace
    Mar 5 '18 at 5:46













    5














    As the other answer, my solution was to disable SpeedStep on the BIOS. I found out that the my cpu was running slower. My CPU should run at 1800MHz, but is was running at 1000MHz. You can see the current CPU speed using several shell commands, e.g:



    lscpu


    or



    cat /proc/cpu


    It seems there was a problem with my charger and that made Ubuntu put the CPU into low consumption mode.






    share|improve this answer




















    • 1





      Awesome, just unplugged my charger and it started working like before. I'll try to disable SpeedStep, but would be nice to know how to fix it in Ubuntu (Razer Blade Stealth here(

      – Guerlando OCs
      Dec 14 '17 at 1:04











    • I have a Thinkpad13 and charging via USB-C make Ubuntu slow down to a crawl.

      – Konstantin Schubert
      May 11 '18 at 17:45











    • I disabled SpeedStep in my machine and it got extremely slow.

      – Jaumzera
      Aug 14 '18 at 21:35















    5














    As the other answer, my solution was to disable SpeedStep on the BIOS. I found out that the my cpu was running slower. My CPU should run at 1800MHz, but is was running at 1000MHz. You can see the current CPU speed using several shell commands, e.g:



    lscpu


    or



    cat /proc/cpu


    It seems there was a problem with my charger and that made Ubuntu put the CPU into low consumption mode.






    share|improve this answer




















    • 1





      Awesome, just unplugged my charger and it started working like before. I'll try to disable SpeedStep, but would be nice to know how to fix it in Ubuntu (Razer Blade Stealth here(

      – Guerlando OCs
      Dec 14 '17 at 1:04











    • I have a Thinkpad13 and charging via USB-C make Ubuntu slow down to a crawl.

      – Konstantin Schubert
      May 11 '18 at 17:45











    • I disabled SpeedStep in my machine and it got extremely slow.

      – Jaumzera
      Aug 14 '18 at 21:35













    5












    5








    5







    As the other answer, my solution was to disable SpeedStep on the BIOS. I found out that the my cpu was running slower. My CPU should run at 1800MHz, but is was running at 1000MHz. You can see the current CPU speed using several shell commands, e.g:



    lscpu


    or



    cat /proc/cpu


    It seems there was a problem with my charger and that made Ubuntu put the CPU into low consumption mode.






    share|improve this answer















    As the other answer, my solution was to disable SpeedStep on the BIOS. I found out that the my cpu was running slower. My CPU should run at 1800MHz, but is was running at 1000MHz. You can see the current CPU speed using several shell commands, e.g:



    lscpu


    or



    cat /proc/cpu


    It seems there was a problem with my charger and that made Ubuntu put the CPU into low consumption mode.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Nov 24 '17 at 11:40









    dessert

    24.8k672105




    24.8k672105










    answered Nov 24 '17 at 11:09









    Alberto AlvarezAlberto Alvarez

    5111




    5111







    • 1





      Awesome, just unplugged my charger and it started working like before. I'll try to disable SpeedStep, but would be nice to know how to fix it in Ubuntu (Razer Blade Stealth here(

      – Guerlando OCs
      Dec 14 '17 at 1:04











    • I have a Thinkpad13 and charging via USB-C make Ubuntu slow down to a crawl.

      – Konstantin Schubert
      May 11 '18 at 17:45











    • I disabled SpeedStep in my machine and it got extremely slow.

      – Jaumzera
      Aug 14 '18 at 21:35












    • 1





      Awesome, just unplugged my charger and it started working like before. I'll try to disable SpeedStep, but would be nice to know how to fix it in Ubuntu (Razer Blade Stealth here(

      – Guerlando OCs
      Dec 14 '17 at 1:04











    • I have a Thinkpad13 and charging via USB-C make Ubuntu slow down to a crawl.

      – Konstantin Schubert
      May 11 '18 at 17:45











    • I disabled SpeedStep in my machine and it got extremely slow.

      – Jaumzera
      Aug 14 '18 at 21:35







    1




    1





    Awesome, just unplugged my charger and it started working like before. I'll try to disable SpeedStep, but would be nice to know how to fix it in Ubuntu (Razer Blade Stealth here(

    – Guerlando OCs
    Dec 14 '17 at 1:04





    Awesome, just unplugged my charger and it started working like before. I'll try to disable SpeedStep, but would be nice to know how to fix it in Ubuntu (Razer Blade Stealth here(

    – Guerlando OCs
    Dec 14 '17 at 1:04













    I have a Thinkpad13 and charging via USB-C make Ubuntu slow down to a crawl.

    – Konstantin Schubert
    May 11 '18 at 17:45





    I have a Thinkpad13 and charging via USB-C make Ubuntu slow down to a crawl.

    – Konstantin Schubert
    May 11 '18 at 17:45













    I disabled SpeedStep in my machine and it got extremely slow.

    – Jaumzera
    Aug 14 '18 at 21:35





    I disabled SpeedStep in my machine and it got extremely slow.

    – Jaumzera
    Aug 14 '18 at 21:35











    2














    when its slow issue this in a terminal window ( ctrl-alt-t ) to display top resource using processes



    top


    here is the output ... notice load average at right of first row



    top - 11:48:11 up 3 days, 8 min, 1 user, load average: 0.23, 0.39, 0.54
    Tasks: 276 total, 1 running, 272 sleeping, 0 stopped, 3 zombie
    %Cpu(s): 1.8 us, 0.7 sy, 0.0 ni, 95.2 id, 2.3 wa, 0.0 hi, 0.0 si, 0.0 st
    KiB Mem : 16326792 total, 6946732 free, 1726764 used, 7653296 buff/cache
    KiB Swap: 16669692 total, 16669692 free, 0 used. 13860968 avail Mem

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    17093 stens 20 0 1629772 446180 121904 S 5.6 2.7 137:51.51 firefox
    14358 stens 20 0 1390800 420448 113728 S 4.2 2.6 0:35.42 Web Content
    1219 etcd 20 0 639392 28764 12468 S 2.8 0.2 9:24.84 etcd
    1531 root 20 0 470212 72960 56564 S 1.4 0.4 25:49.02 Xorg
    2718 stens 20 0 1266236 112712 61796 S 1.4 0.7 52:15.46 compiz
    2757 stens 20 0 506036 25220 19440 S 1.4 0.2 32:02.48 indicator-multi
    3228 stens 20 0 712920 69960 35624 S 1.4 0.4 2:51.65 gnome-terminal-
    3488 root 20 0 251432 53740 24132 S 1.4 0.3 5:33.92 mongod
    13335 root 20 0 0 0 0 S 1.4 0.0 0:01.17 kworker/u16:3


    typically it will appear slow once load average gets over 5 or so YMMV ... listed under COMMAND is the ordered column of top resource consumers ... when its slow kill off whichever process is slowing it down to confirm you found the bad behaving process ... while running top it will autorefresh every few seconds yet if in a hurry hit the spacebar to force a refresh ... hitting key m will focus attention on showing Memory hungry processes ... to kill off the top most resource consuming process just hit key k from which you can enter options or just hit enter



    Above has nothing to do with being slow due to insufficient internet bandwidth. If by slow you mean the browser is slow then a simple check is http://beta.speedtest.net/



    Alternatives to top are



    htop
    atop
    iotop


    Another route to investigate slowness is see if system errors are getting kicked down into system log ... issue



    dmesg


    look for entries (to scroll up in terminal hold down shift then hit key page up ... or roll mouse middle roller button ) important entries are shown in red or appear error related then research on them ... if you are running some rogue driver not tuned to your hardware or fails to play well with others then its conflicting behaviour can manifest in slowness ... to empty out prior entries issue



    sudo dmesg -c


    to setup a real time monitor of dmesg issue



    watch "dmesg | tail -20"


    Here are more logs to examine



    cat /var/log/syslog

    cat /var/log/kern.log


    Let us know how you get on - this is certainly solvable ... a major advantage of linux is its efficient use of hardware as well as its ability to give at hand controls to adjust everything






    share|improve this answer

























    • htop auto refreshes, if not installed just install it sudo apt install htop has the same information, load averages at the tip etc.

      – Chris
      Jan 8 '17 at 17:01











    • Added advantage i forgot to mention, you can kill a process from within htop by highlighting and pressing the appropriate F key

      – Chris
      Jan 8 '17 at 17:03











    • @Scott Stensland load average is related to the number of cores I believe. If his processor has 4 cores, then load average shouldn't pass over 4.

      – fugitive
      Jan 8 '17 at 17:05











    • @MilosM yes its related to cores yet I mentioned it as a starting point ... if its slow and load average is low ( less than say 5) then slowness is not related to running out of CPU/RAM ...

      – Scott Stensland
      Jan 8 '17 at 17:07












    • @Jinstone I suggest one that I use often on my work. atop. It can perform various checks. Not sure is it installed in Ubuntu, if not apt-get install atop , and run it to check every sec like: atop -n 1. You can filter various stuff from there.

      – fugitive
      Jan 8 '17 at 17:11















    2














    when its slow issue this in a terminal window ( ctrl-alt-t ) to display top resource using processes



    top


    here is the output ... notice load average at right of first row



    top - 11:48:11 up 3 days, 8 min, 1 user, load average: 0.23, 0.39, 0.54
    Tasks: 276 total, 1 running, 272 sleeping, 0 stopped, 3 zombie
    %Cpu(s): 1.8 us, 0.7 sy, 0.0 ni, 95.2 id, 2.3 wa, 0.0 hi, 0.0 si, 0.0 st
    KiB Mem : 16326792 total, 6946732 free, 1726764 used, 7653296 buff/cache
    KiB Swap: 16669692 total, 16669692 free, 0 used. 13860968 avail Mem

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    17093 stens 20 0 1629772 446180 121904 S 5.6 2.7 137:51.51 firefox
    14358 stens 20 0 1390800 420448 113728 S 4.2 2.6 0:35.42 Web Content
    1219 etcd 20 0 639392 28764 12468 S 2.8 0.2 9:24.84 etcd
    1531 root 20 0 470212 72960 56564 S 1.4 0.4 25:49.02 Xorg
    2718 stens 20 0 1266236 112712 61796 S 1.4 0.7 52:15.46 compiz
    2757 stens 20 0 506036 25220 19440 S 1.4 0.2 32:02.48 indicator-multi
    3228 stens 20 0 712920 69960 35624 S 1.4 0.4 2:51.65 gnome-terminal-
    3488 root 20 0 251432 53740 24132 S 1.4 0.3 5:33.92 mongod
    13335 root 20 0 0 0 0 S 1.4 0.0 0:01.17 kworker/u16:3


    typically it will appear slow once load average gets over 5 or so YMMV ... listed under COMMAND is the ordered column of top resource consumers ... when its slow kill off whichever process is slowing it down to confirm you found the bad behaving process ... while running top it will autorefresh every few seconds yet if in a hurry hit the spacebar to force a refresh ... hitting key m will focus attention on showing Memory hungry processes ... to kill off the top most resource consuming process just hit key k from which you can enter options or just hit enter



    Above has nothing to do with being slow due to insufficient internet bandwidth. If by slow you mean the browser is slow then a simple check is http://beta.speedtest.net/



    Alternatives to top are



    htop
    atop
    iotop


    Another route to investigate slowness is see if system errors are getting kicked down into system log ... issue



    dmesg


    look for entries (to scroll up in terminal hold down shift then hit key page up ... or roll mouse middle roller button ) important entries are shown in red or appear error related then research on them ... if you are running some rogue driver not tuned to your hardware or fails to play well with others then its conflicting behaviour can manifest in slowness ... to empty out prior entries issue



    sudo dmesg -c


    to setup a real time monitor of dmesg issue



    watch "dmesg | tail -20"


    Here are more logs to examine



    cat /var/log/syslog

    cat /var/log/kern.log


    Let us know how you get on - this is certainly solvable ... a major advantage of linux is its efficient use of hardware as well as its ability to give at hand controls to adjust everything






    share|improve this answer

























    • htop auto refreshes, if not installed just install it sudo apt install htop has the same information, load averages at the tip etc.

      – Chris
      Jan 8 '17 at 17:01











    • Added advantage i forgot to mention, you can kill a process from within htop by highlighting and pressing the appropriate F key

      – Chris
      Jan 8 '17 at 17:03











    • @Scott Stensland load average is related to the number of cores I believe. If his processor has 4 cores, then load average shouldn't pass over 4.

      – fugitive
      Jan 8 '17 at 17:05











    • @MilosM yes its related to cores yet I mentioned it as a starting point ... if its slow and load average is low ( less than say 5) then slowness is not related to running out of CPU/RAM ...

      – Scott Stensland
      Jan 8 '17 at 17:07












    • @Jinstone I suggest one that I use often on my work. atop. It can perform various checks. Not sure is it installed in Ubuntu, if not apt-get install atop , and run it to check every sec like: atop -n 1. You can filter various stuff from there.

      – fugitive
      Jan 8 '17 at 17:11













    2












    2








    2







    when its slow issue this in a terminal window ( ctrl-alt-t ) to display top resource using processes



    top


    here is the output ... notice load average at right of first row



    top - 11:48:11 up 3 days, 8 min, 1 user, load average: 0.23, 0.39, 0.54
    Tasks: 276 total, 1 running, 272 sleeping, 0 stopped, 3 zombie
    %Cpu(s): 1.8 us, 0.7 sy, 0.0 ni, 95.2 id, 2.3 wa, 0.0 hi, 0.0 si, 0.0 st
    KiB Mem : 16326792 total, 6946732 free, 1726764 used, 7653296 buff/cache
    KiB Swap: 16669692 total, 16669692 free, 0 used. 13860968 avail Mem

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    17093 stens 20 0 1629772 446180 121904 S 5.6 2.7 137:51.51 firefox
    14358 stens 20 0 1390800 420448 113728 S 4.2 2.6 0:35.42 Web Content
    1219 etcd 20 0 639392 28764 12468 S 2.8 0.2 9:24.84 etcd
    1531 root 20 0 470212 72960 56564 S 1.4 0.4 25:49.02 Xorg
    2718 stens 20 0 1266236 112712 61796 S 1.4 0.7 52:15.46 compiz
    2757 stens 20 0 506036 25220 19440 S 1.4 0.2 32:02.48 indicator-multi
    3228 stens 20 0 712920 69960 35624 S 1.4 0.4 2:51.65 gnome-terminal-
    3488 root 20 0 251432 53740 24132 S 1.4 0.3 5:33.92 mongod
    13335 root 20 0 0 0 0 S 1.4 0.0 0:01.17 kworker/u16:3


    typically it will appear slow once load average gets over 5 or so YMMV ... listed under COMMAND is the ordered column of top resource consumers ... when its slow kill off whichever process is slowing it down to confirm you found the bad behaving process ... while running top it will autorefresh every few seconds yet if in a hurry hit the spacebar to force a refresh ... hitting key m will focus attention on showing Memory hungry processes ... to kill off the top most resource consuming process just hit key k from which you can enter options or just hit enter



    Above has nothing to do with being slow due to insufficient internet bandwidth. If by slow you mean the browser is slow then a simple check is http://beta.speedtest.net/



    Alternatives to top are



    htop
    atop
    iotop


    Another route to investigate slowness is see if system errors are getting kicked down into system log ... issue



    dmesg


    look for entries (to scroll up in terminal hold down shift then hit key page up ... or roll mouse middle roller button ) important entries are shown in red or appear error related then research on them ... if you are running some rogue driver not tuned to your hardware or fails to play well with others then its conflicting behaviour can manifest in slowness ... to empty out prior entries issue



    sudo dmesg -c


    to setup a real time monitor of dmesg issue



    watch "dmesg | tail -20"


    Here are more logs to examine



    cat /var/log/syslog

    cat /var/log/kern.log


    Let us know how you get on - this is certainly solvable ... a major advantage of linux is its efficient use of hardware as well as its ability to give at hand controls to adjust everything






    share|improve this answer















    when its slow issue this in a terminal window ( ctrl-alt-t ) to display top resource using processes



    top


    here is the output ... notice load average at right of first row



    top - 11:48:11 up 3 days, 8 min, 1 user, load average: 0.23, 0.39, 0.54
    Tasks: 276 total, 1 running, 272 sleeping, 0 stopped, 3 zombie
    %Cpu(s): 1.8 us, 0.7 sy, 0.0 ni, 95.2 id, 2.3 wa, 0.0 hi, 0.0 si, 0.0 st
    KiB Mem : 16326792 total, 6946732 free, 1726764 used, 7653296 buff/cache
    KiB Swap: 16669692 total, 16669692 free, 0 used. 13860968 avail Mem

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    17093 stens 20 0 1629772 446180 121904 S 5.6 2.7 137:51.51 firefox
    14358 stens 20 0 1390800 420448 113728 S 4.2 2.6 0:35.42 Web Content
    1219 etcd 20 0 639392 28764 12468 S 2.8 0.2 9:24.84 etcd
    1531 root 20 0 470212 72960 56564 S 1.4 0.4 25:49.02 Xorg
    2718 stens 20 0 1266236 112712 61796 S 1.4 0.7 52:15.46 compiz
    2757 stens 20 0 506036 25220 19440 S 1.4 0.2 32:02.48 indicator-multi
    3228 stens 20 0 712920 69960 35624 S 1.4 0.4 2:51.65 gnome-terminal-
    3488 root 20 0 251432 53740 24132 S 1.4 0.3 5:33.92 mongod
    13335 root 20 0 0 0 0 S 1.4 0.0 0:01.17 kworker/u16:3


    typically it will appear slow once load average gets over 5 or so YMMV ... listed under COMMAND is the ordered column of top resource consumers ... when its slow kill off whichever process is slowing it down to confirm you found the bad behaving process ... while running top it will autorefresh every few seconds yet if in a hurry hit the spacebar to force a refresh ... hitting key m will focus attention on showing Memory hungry processes ... to kill off the top most resource consuming process just hit key k from which you can enter options or just hit enter



    Above has nothing to do with being slow due to insufficient internet bandwidth. If by slow you mean the browser is slow then a simple check is http://beta.speedtest.net/



    Alternatives to top are



    htop
    atop
    iotop


    Another route to investigate slowness is see if system errors are getting kicked down into system log ... issue



    dmesg


    look for entries (to scroll up in terminal hold down shift then hit key page up ... or roll mouse middle roller button ) important entries are shown in red or appear error related then research on them ... if you are running some rogue driver not tuned to your hardware or fails to play well with others then its conflicting behaviour can manifest in slowness ... to empty out prior entries issue



    sudo dmesg -c


    to setup a real time monitor of dmesg issue



    watch "dmesg | tail -20"


    Here are more logs to examine



    cat /var/log/syslog

    cat /var/log/kern.log


    Let us know how you get on - this is certainly solvable ... a major advantage of linux is its efficient use of hardware as well as its ability to give at hand controls to adjust everything







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Jun 18 '18 at 20:33

























    answered Jan 8 '17 at 16:57









    Scott StenslandScott Stensland

    5,04242342




    5,04242342












    • htop auto refreshes, if not installed just install it sudo apt install htop has the same information, load averages at the tip etc.

      – Chris
      Jan 8 '17 at 17:01











    • Added advantage i forgot to mention, you can kill a process from within htop by highlighting and pressing the appropriate F key

      – Chris
      Jan 8 '17 at 17:03











    • @Scott Stensland load average is related to the number of cores I believe. If his processor has 4 cores, then load average shouldn't pass over 4.

      – fugitive
      Jan 8 '17 at 17:05











    • @MilosM yes its related to cores yet I mentioned it as a starting point ... if its slow and load average is low ( less than say 5) then slowness is not related to running out of CPU/RAM ...

      – Scott Stensland
      Jan 8 '17 at 17:07












    • @Jinstone I suggest one that I use often on my work. atop. It can perform various checks. Not sure is it installed in Ubuntu, if not apt-get install atop , and run it to check every sec like: atop -n 1. You can filter various stuff from there.

      – fugitive
      Jan 8 '17 at 17:11

















    • htop auto refreshes, if not installed just install it sudo apt install htop has the same information, load averages at the tip etc.

      – Chris
      Jan 8 '17 at 17:01











    • Added advantage i forgot to mention, you can kill a process from within htop by highlighting and pressing the appropriate F key

      – Chris
      Jan 8 '17 at 17:03











    • @Scott Stensland load average is related to the number of cores I believe. If his processor has 4 cores, then load average shouldn't pass over 4.

      – fugitive
      Jan 8 '17 at 17:05











    • @MilosM yes its related to cores yet I mentioned it as a starting point ... if its slow and load average is low ( less than say 5) then slowness is not related to running out of CPU/RAM ...

      – Scott Stensland
      Jan 8 '17 at 17:07












    • @Jinstone I suggest one that I use often on my work. atop. It can perform various checks. Not sure is it installed in Ubuntu, if not apt-get install atop , and run it to check every sec like: atop -n 1. You can filter various stuff from there.

      – fugitive
      Jan 8 '17 at 17:11
















    htop auto refreshes, if not installed just install it sudo apt install htop has the same information, load averages at the tip etc.

    – Chris
    Jan 8 '17 at 17:01





    htop auto refreshes, if not installed just install it sudo apt install htop has the same information, load averages at the tip etc.

    – Chris
    Jan 8 '17 at 17:01













    Added advantage i forgot to mention, you can kill a process from within htop by highlighting and pressing the appropriate F key

    – Chris
    Jan 8 '17 at 17:03





    Added advantage i forgot to mention, you can kill a process from within htop by highlighting and pressing the appropriate F key

    – Chris
    Jan 8 '17 at 17:03













    @Scott Stensland load average is related to the number of cores I believe. If his processor has 4 cores, then load average shouldn't pass over 4.

    – fugitive
    Jan 8 '17 at 17:05





    @Scott Stensland load average is related to the number of cores I believe. If his processor has 4 cores, then load average shouldn't pass over 4.

    – fugitive
    Jan 8 '17 at 17:05













    @MilosM yes its related to cores yet I mentioned it as a starting point ... if its slow and load average is low ( less than say 5) then slowness is not related to running out of CPU/RAM ...

    – Scott Stensland
    Jan 8 '17 at 17:07






    @MilosM yes its related to cores yet I mentioned it as a starting point ... if its slow and load average is low ( less than say 5) then slowness is not related to running out of CPU/RAM ...

    – Scott Stensland
    Jan 8 '17 at 17:07














    @Jinstone I suggest one that I use often on my work. atop. It can perform various checks. Not sure is it installed in Ubuntu, if not apt-get install atop , and run it to check every sec like: atop -n 1. You can filter various stuff from there.

    – fugitive
    Jan 8 '17 at 17:11





    @Jinstone I suggest one that I use often on my work. atop. It can perform various checks. Not sure is it installed in Ubuntu, if not apt-get install atop , and run it to check every sec like: atop -n 1. You can filter various stuff from there.

    – fugitive
    Jan 8 '17 at 17:11











    0














    Install package called i7z and run it. It will show you whether your cpu is running at full speed and cpu throttling (=lower speed) is not active.






    share|improve this answer



























      0














      Install package called i7z and run it. It will show you whether your cpu is running at full speed and cpu throttling (=lower speed) is not active.






      share|improve this answer

























        0












        0








        0







        Install package called i7z and run it. It will show you whether your cpu is running at full speed and cpu throttling (=lower speed) is not active.






        share|improve this answer













        Install package called i7z and run it. It will show you whether your cpu is running at full speed and cpu throttling (=lower speed) is not active.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 1 hour ago









        Alan StaneyAlan Staney

        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%2f869500%2fwhy-my-ubuntu-16-04-lts-suddenly-become-very-slow%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

            Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

            Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

            Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»