Ubuntu 20.04.3 LTS Suddenly working really slow, apps opening up slowly, delay in typing

neutrino

New Member
Joined
Jan 26, 2022
Messages
15
Reaction score
0
Credits
165
My laptop running ubuntu 20.04.3 started working really slowly suddenly, I didn't download any new softwares before this happened. It was a new installation, and I ran sudo apt upgrade && update && apt remove. The softwares it has are Microsoft Teams, VLC media player, and the Joplin Notetaking app.

I also did a battery update sudo install auto cpu-freq.

I think it started getting slower after I installed Joplin and did this update, not sure.

The specifications of the laptop are 8 GB RAM and i5 8th gen intel processor and 2gb Nvidia graphics card.

I think the RAM usage is being limited by default like Ubuntu can only use 4 GB out of 8 GB available? I had dual booted windows before this, but windows got corrupted since then. (I didn't make any settings to partition the disk or limit ram or anything).

I would appreciate any help, thanks!

Now Ubuntu isn't rebooting: the error it's showing is /dev/nume0n1p5: clean, 293770/1638400 files, 6438394/... blocks

I went to safe mode and then typed sudo ubuntu drivers reinstall but it gave the error that there wasn't enough space in the cache.
 
Last edited:


can you run in a terminal, inxi -m and paste the results back
if inxi is not installed run in terminal sudo apt install inxi
 
Did you run any updates after the fresh install, which included a kernel update ?
 
can you run in a terminal, inxi -m and paste the results back
if inxi is not installed run in terminal sudo apt install inxi
Thanks for your response

1643456000021.png
 
what does gnome-system-monitor say anything running that is sucking up cpu % or ram?
 
your using 50% of your ram, looks like you may have a ram hungry program running in the background
 
your using 50% of your ram, looks like you may have a ram hungry program running in the background
Not sure if Teams is using most of it? since even before I downloaded Teams, it was running slow

[didn't add picture]

1643457241698.png
 
Last edited:
Teams is not drawing much on the ram, but it is sure hitting your CPU, try disabling teams and see what happens
 
Also what type of HDD do you use? You may want to check it's health.
 
Also what type of HDD do you use? You may want to check it's health.
Recently, my laptop shut down and wasn't booting back up (in windows and someone said it might be a hard drive issue - I wonder if its that).
I'm using 512 GB SSD (not sure if which kind I'll check).
 
usually SSD drives don't give a lot of problems
What does the command
Code:
 inxi -s
show?
 
neutrino wrote:
I also did a battery update sudo install auto cpu-freq.
Presumably "cpu-freq" refers to the cpufrequtils package. Is a battery "update" a replacement?
Was there any change made to to cpu frequency after installation of cpufrequtils? A change there can made a difference to responsiveness of the computer.
Useful to check the ssd with smartctl from smartmontools package.
 
neutrino wrote:

Presumably "cpu-freq" refers to the cpufrequtils package. Is a battery "update" a replacement?
Was there any change made to to cpu frequency after installation of cpufrequtils? A change there can made a difference to responsiveness of the computer.
Useful to check the ssd with smartctl from smartmontools package.
Sorry for the late reply. Battery update as in just a code to make battery life better: sudo install auto cpu-freq. I did that but not sure how to read the result.


smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.13.0-27-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

Usage: smartctl [options] device

============================================ SHOW INFORMATION OPTIONS =====

-h, --help, --usage
Display this help and exit

-V, --version, --copyright, --license
Print license, copyright, and version information and exit

-i, --info
Show identity information for device

--identify[=[w][nvb]]
Show words and bits from IDENTIFY DEVICE data (ATA)

-g NAME, --get=NAME
Get device setting: all, aam, apm, dsn, lookahead, security,
wcache, rcache, wcreorder, wcache-sct

-a, --all
Show all SMART information for device

-x, --xall
Show all information for device

--scan
Scan for devices

--scan-open
Scan for devices and try to open each device

================================== SMARTCTL RUN-TIME BEHAVIOR OPTIONS =====

-j, --json[=[cgiosuv]]
Print output in JSON format

-q TYPE, --quietmode=TYPE (ATA)
Set smartctl quiet mode to one of: errorsonly, silent, noserial

-d TYPE, --device=TYPE
Specify device type to one of:
ata, scsi[+TYPE], nvme[,NSID], sat[,auto][,N][+TYPE], usbcypress[,X], usbjmicron[,p][,x][,N], usbprolific, usbsunplus, sntjmicron[,NSID], intelliprop,N[+TYPE], jmb39x,N[,sLBA][,force][+TYPE], marvell, areca,N/E, 3ware,N, hpt,L/M/N, megaraid,N, aacraid,H,L,ID, cciss,N, auto, test

-T TYPE, --tolerance=TYPE (ATA)
Tolerance: normal, conservative, permissive, verypermissive

-b TYPE, --badsum=TYPE (ATA)
Set action on bad checksum to one of: warn, exit, ignore

-r TYPE, --report=TYPE
Report transactions (see man page)

-n MODE[,STATUS], --nocheck=MODE[,STATUS] (ATA)
No check if: never, sleep, standby, idle (see man page)

============================== DEVICE FEATURE ENABLE/DISABLE COMMANDS =====

-s VALUE, --smart=VALUE
Enable/disable SMART on device (on/off)

-o VALUE, --offlineauto=VALUE (ATA)
Enable/disable automatic offline testing on device (on/off)

-S VALUE, --saveauto=VALUE (ATA)
Enable/disable Attribute autosave on device (on/off)

-s NAME[,VALUE], --set=NAME[,VALUE]
Enable/disable/change device setting: aam,[N|off], apm,[N|off],
dsn,[on|off], lookahead,[on|off], security-freeze,
standby,[N|off|now], wcache,[on|off], rcache,[on|off],
wcreorder,[on|off[,p]], wcache-sct,[ata|on|off[,p]]

======================================= READ AND DISPLAY DATA OPTIONS =====

-H, --health
Show device SMART health status

-c, --capabilities (ATA, NVMe)
Show device SMART capabilities

-A, --attributes
Show device SMART vendor-specific Attributes and values

-f FORMAT, --format=FORMAT (ATA)
Set output format for attributes: old, brief, hex[,id|val]

-l TYPE, --log=TYPE
Show device log. TYPE: error, selftest, selective, directory[,g|s],
xerror[,N][,error], xselftest[,N][,selftest], background,
sasphy[,reset], sataphy[,reset], scttemp[sts,hist],
scttempint,N[,p], scterc[,N,M], devstat[,N], defects[,N], ssd,
gplog,N[,RANGE], smartlog,N[,RANGE], nvmelog,N,SIZE

-v N,OPTION , --vendorattribute=N,OPTION (ATA)
Set display OPTION for vendor Attribute N (see man page)

-F TYPE, --firmwarebug=TYPE (ATA)
Use firmware bug workaround:
none, nologdir, samsung, samsung2, samsung3, xerrorlba, swapid

-P TYPE, --presets=TYPE (ATA)
Drive-specific presets: use, ignore, show, showall

-B [+]FILE, --drivedb=[+]FILE (ATA)
Read and replace [add] drive database from FILE
[default is +/etc/smart_drivedb.h
and then /var/lib/smartmontools/drivedb/drivedb.h]

============================================ DEVICE SELF-TEST OPTIONS =====

-t TEST, --test=TEST
Run test. TEST: offline, short, long, conveyance, force, vendor,N,
select,M-N, pending,N, afterselect,[on|off]

-C, --captive
Do test in captive mode (along with -t)

-X, --abort
Abort any non-captive test on device

=================================================== SMARTCTL EXAMPLES =====

smartctl --all /dev/sda (Prints all SMART information)

smartctl --smart=on --offlineauto=on --saveauto=on /dev/sda
(Enables SMART on first disk)

smartctl --test=long /dev/sda (Executes extended disk self-test)

smartctl --attributes --log=selftest --quietmode=errorsonly /dev/sda
(Prints Self-Test & Attribute errors)
smartctl --all --device=3ware,2 /dev/sda
smartctl --all --device=3ware,2 /dev/twe0
smartctl --all --device=3ware,2 /dev/twa0
smartctl --all --device=3ware,2 /dev/twl0
(Prints all SMART info for 3rd ATA disk on 3ware RAID controller)
smartctl --all --device=hpt,1/1/3 /dev/sda
(Prints all SMART info for the SATA disk attached to the 3rd PMPort
of the 1st channel on the 1st HighPoint RAID controller)
smartctl --all --device=areca,3/1 /dev/sg2
(Prints all SMART info for 3rd ATA disk of the 1st enclosure
on Areca RAID controller)
 
I think the RAM usage is being limited by default like Ubuntu can only use 4 GB out of 8 GB available? I had dual booted windows before this, but windows got corrupted since then.
 
I think @kc1di should have asked for inxi -D
 

Staff online


Top