Painfully Slow Bootup and Firefox Launch

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
arimakidd
Level 2
Level 2
Posts: 98
Joined: Thu Nov 02, 2017 11:37 pm

Painfully Slow Bootup and Firefox Launch

Post by arimakidd »

I'm using X-Cinnamon Desktop, 12 GB RAM and i5 processor and OS is Linux Mint 20 Ulyana. I am running a dual boot and Mint is on 0.5TB. Now for the painful stats.
To get to the login screen: 2 mins
To login : 54 seconds
For Firefox to open: 4 mins

Are these reasonable times? Here is the report I am supposed to post:

Code: Select all

System:
  Kernel: 5.4.0-72-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 4.6.7 wm: muffin 4.6.3 dm: LightDM 1.30.0 
  Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: LENOVO product: 81F5 v: Lenovo ideapad 330S-15IKB 
  serial: <filter> Chassis: type: 10 v: Lenovo ideapad 330S-15IKB 
  serial: <filter> 
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40700 WIN serial: <filter> 
  UEFI: LENOVO v: 7SCN20WW date: 07/14/2018 
Battery:
  ID-1: BAT0 charge: 17.4 Wh condition: 22.2/30.0 Wh (74%) volts: 8.0/7.4 
  model: LENOVO BASE-BAT type: Li-poly serial: <filter> status: Charging 
CPU:
  Topology: Quad Core model: Intel Core i5-8250U bits: 64 type: MT MCP 
  arch: Kaby Lake rev: A L2 cache: 6144 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 28800 
  Speed: 3035 MHz min/max: 400/3400 MHz Core speeds (MHz): 1: 3100 2: 3100 
  3: 3064 4: 3099 5: 3064 6: 3081 7: 3095 8: 3083 
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Lenovo driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:5917 
  Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.2.6 
  direct render: Yes 
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:9d71 
  Sound Server: ALSA v: k5.4.0-72-generic 
Network:
  Device-1: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter 
  vendor: Lenovo driver: ath10k_pci v: kernel port: 3040 bus ID: 01:00.0 
  chip ID: 168c:0042 
  IF: wlp1s0 state: up mac: <filter> 
  Device-2: Qualcomm Atheros type: USB driver: btusb bus ID: 1-4:3 
  chip ID: 0cf3:e500 
Drives:
  Local Storage: total: 944.93 GiB used: 759.59 GiB (80.4%) 
  ID-1: /dev/nvme0n1 vendor: Intel model: MEMPEK1J016GAL size: 13.41 GiB 
  speed: 15.8 Gb/s lanes: 2 serial: <filter> rev: K4110400 
  ID-2: /dev/sda vendor: Western Digital model: WD10SPZX-24Z10 
  size: 931.51 GiB speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> 
  rev: 1A04 scheme: GPT 
Partition:
  ID-1: / size: 468.73 GiB used: 379.78 GiB (81.0%) fs: ext4 dev: /dev/sda1 
Sensors:
  System Temperatures: cpu: 37.5 C mobo: 0.0 C 
  Fan Speeds (RPM): N/A 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list 
  1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/linuxuprising-shutter-focal.list 
  1: deb http://ppa.launchpad.net/linuxuprising/shutter/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/maarten-baert-simplescreenrecorder-focal.list 
  1: deb http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com ulyana main upstream import backport #id:linuxmint_main
  2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
  Active apt repos in: /etc/apt/sources.list.d/skype-stable.list 
  1: deb [arch=amd64] https://repo.skype.com/deb stable main
  Active apt repos in: /etc/apt/sources.list.d/stebbins-handbrake-releases-focal.list 
  1: deb http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/teamviewer.list 
  1: deb https://linux.teamviewer.com/deb stable main
  Active apt repos in: /etc/apt/sources.list.d/yandex-disk.list 
  1: deb http://repo.yandex.ru/yandex-disk/deb/ stable main
Info:
  Processes: 296 Uptime: 14m Memory: 11.61 GiB used: 2.81 GiB (24.2%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash 
  v: 5.0.17 running in: gnome-terminal inxi: 3.0.38
I also ran : lscpu | grep -E '^Thread|^Core|^Socket|^CPU\('
Here is the output:

Code: Select all

CPU(s):                          8
Thread(s) per core:         2
Core(s) per socket:         4
Socket(s):                       1
What can I do to increase boot time and Firefox launch time?
arimakidd
Level 2
Level 2
Posts: 98
Joined: Thu Nov 02, 2017 11:37 pm

Re: Painfully Slow Bootup and Firefox Launch

Post by arimakidd »

Does anyone know what the ~/.Private folder is for? It's taking up a large chunk of my drive? A listing looks like this:

drwxrwxr-x 2 arimakidd arimakidd 4096 Oct 17 2020 ECRYPTFS_FNEK_ENCRYPTED.FWajpVntIXukQ-TNAnE..AhsC87kvKN4SODR0Ku3DBywdCeINU-Qsd1Pk---

What is this stuff?
privateFolder.png
User avatar
spamegg
Level 6
Level 6
Posts: 1290
Joined: Mon Oct 28, 2019 2:34 am

Re: Painfully Slow Bootup and Firefox Launch

Post by spamegg »

Looks like you might have encrypted your system. Show us the output of

Code: Select all

systemd-analyze
systemd-analyze blame
systemd-analyze critical-chain
cat /var/log/boot.log
cat /var/log/kern.log
User avatar
karlchen
Level 21
Level 21
Posts: 14624
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Painfully Slow Bootup and Firefox Launch

Post by karlchen »

arimakidd wrote:
Tue May 11, 2021 11:17 pm
Does anyone know what the ~/.Private folder is for? It's taking up a large chunk of my drive? A listing looks like this:
drwxrwxr-x 2 arimakidd arimakidd 4096 Oct 17 2020 ECRYPTFS_FNEK_ENCRYPTED.FWajpVntIXukQ-TNAnE..AhsC87kvKN4SODR0Ku3DBywdCeINU-Qsd1Pk---
What is this stuff?
Try looking up the term "ECRYPTFS_FNEK_ENCRYPTED" using e.g. Google or your favourite web search engine.
You will find out the answer easily.
E.g. using Google this way: ECRYPTFS_FNEK_ENCRYPTED
Image
Linux Mint 19.3 64-bit Cinnamon, Total Commander 10.00 64-bit
The Prophet's Song
arimakidd
Level 2
Level 2
Posts: 98
Joined: Thu Nov 02, 2017 11:37 pm

Re: Painfully Slow Bootup and Firefox Launch

Post by arimakidd »

This then is from a previous install. I removed everything. Hopefully this will make things run faster.
Post Reply