3

I've recently upgraded to Ubuntu 22.04 LTS desktop version. Now, I feel everything runs slowly on my machine. For example, Firefox take 10 to 20 seconds to start up which used to take only 2 to 3 seconds in my previous Ubuntu (v. 20.04 LTS).

So, I decided to reinstall Ubuntu 22.04 by downloading the ISO from ubuntu.com; although everything is still the same. Firefox, terminal and most of the app run slowly. Doesn't matter which application I'm going to run as it's going to take 10 to 30 seconds. It's annoying actually. I don't know whether there is a problem with my machine or Ubuntu's new release. Some other apps that do not run with the same performance level and take too long to start (compared to Ubuntu 20.04 LTS desktop):

  • Telegram
  • Windscribe
  • VS Code

I have a core i3 CPU (3.8ghz 2 or 4 cores) + 8 gigabytes of ram (DDR4). I use no GPU and am fine with onboard GPU provided by CPU itself. I've got a solid state drive and an Asus h110 motherboard if that is related.

5
  • The initial load of firefox (now that's it's a snap package) will be slower (first run in a session; as it needs to be decompressed from its squashfs that first time), but once started it should be identical (in speed). Please be specific as to any other apps, but other apps should be the ~same as prior release(s) but specific apps may vary but you've provided no specific apps.
    – guiverc
    May 3 at 6:43
  • Thank you for your help. I added some apps that run slowly. May 3 at 7:34
  • 1
    I've the same performance issue. Not only with the snaps(almost all native apps like files and terminal). 22.04 also boots too much slower than 20.04!
    – mohammads
    May 6 at 14:33
  • I can confirm that! found your question because I was lookin for solutions... also with chromium and chrome, web browsing is very slow, playing just a youtube video makes the browser and everything lag, thunderbird keeps boasting to 100% cpu and more here, running virtualbox and a simple ubuntu inside it makes doing everything else nearly impossible.
    – Henning
    May 13 at 19:27
  • I will downgrade from 22.04 to 20.04 since the latest release is so slow when using firefox for normal web browsing. Takes up to 10 seconds before a typed network address is responded. No, this is not my network as this works perfectly well using 20.04 May 19 at 7:56

1 Answer 1

0

I trial and errored a while and somehow got the idea it is a kernel thing, as it all somehow feels like wrong scheduling or something like that.

So I ended building myself a current mainline kernel 5.17.7 from https://www.kernel.org/ by taking the config file from my last 21.10 ubuntu standard kernel, running oldconfig, confirming all defaults. Oh and removing the ubuntu keys part manually...

And so that seems to work, I can play as many youtube videos as i wish, have a virtualbox vm running, look at my mails in thunderbird, browse the web with firefox (videos where in chrome) and nothing hangs as before.

Filed a bug and there is another proposed solution, along with the outlook this will be fixed in a later release, but can take a while: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1973434

Additional hint:

For those who didnt build a kernel on their own so far, that task will require quite some learning and time, so the preferred thing to try is the workaround described on launchpad. The adventurous might check the Kernel documentation https://docs.kernel.org/, the UBuntu Wiki on Kernel building https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel and this necessary fix on the mainline Kernel in Ubuntu when using "oldconfig": Compiling the kernel 5.11.11

3
  • Could you add a bit more detail? I don't think your answer as it stands will help people much.
    – Will
    May 16 at 21:03
  • for the information contained therein would have saved two days of experimentation. I understand this will not help people with any experience level, but only those slightly experiuemced with building a kernel, but I cannot give a ful kernel comile tutorial here. I tried to add some hints on where to learn more about that.
    – Henning
    May 20 at 15:38
  • 1
    thanks for adding that!
    – Will
    May 22 at 12:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.