1

I have a laptop using Intel Core i3-7130U CPU and Intel UHD Graphics 620 GPU. Also using an SSD.

On Windows 10, it flies. Animations are smooth, and programs launch instantly.

On Ubuntu 20.04 and 20.10, it’s sluggish. Everything takes a couple more seconds to launch. Kdenlive is super slow when previewing.

I tried Xanmod, Liquorix, the latest oibaf drivers. Nothing really worked.

My question is: with the same specs, why is Ubuntu slower? And is there a good fix to this problem? Thank you!

1 Answers1

4

Let's see if we increase your /swapfile from 2G to 4G if that helps...

Note: Incorrect use of the dd command can cause data loss. Suggest copy/paste.

In the terminal...

sudo swapoff -a           # turn off swap
sudo rm -i /swapfile      # remove old /swapfile

sudo dd if=/dev/zero of=/swapfile bs=1M count=4096

sudo chmod 600 /swapfile # set proper file protections sudo mkswap /swapfile # init /swapfile sudo swapon /swapfile # turn on swap free -h # confirm 8G RAM and 4G swap

Edit /etc/fstab, using sudo -H gedit /etc/fstab or sudo pico /etc/fstab.

Confirm this /swapfile line in /etc/fstab... and confirm no other “swap” lines... use SPACES in this line... confirm NO TABS...

/swapfile  none  swap  sw  0  0

reboot                    # reboot and verify operation
heynnema
  • 73,649