I have an update on this and quite a bit of more information, even
though not very clear what it means and how to further go on fully
fixing it:

After some more usage i realized that the performance is still pretty
weak when using my desktop system for slightly more "real" work.

I kept getting stutter in Video playback and Web browsers when using web
applications with the slightest bit of JavaScript functionality, and a
Virtualbox virtual machine.

I first suspected gnome-shell to be a culprit and had the impressions
things where sligthly better when using LXDE as a desktop environment,
but still I never got real good performance.

it's a real hard to get a grip on problem, as I dont know how to
instantly produce the problem and measure it as with normal bugs.

The easiest thing I can do is open a web browser, got to youtube, and open a 
few videos in new tabs and try to play them, and skip back and forth to 
different points,  and "pretty soon" I get a stuttering in the video, a mouse 
pointer not moving fluently, switching tabs taking multiple seconds that 
usually works in an instant, a browser process with multiple 100s of % of CPU 
and a RRD* process. 
 
these are things that work without a problem on a very old Lenovo x1 tablet 
with a mobile processor, and that i would expect to work equally easy on a 
pretty new X1 extreme with i9 processor and 32G Ram...

I did some more testing ( I cannot call it real debugging as I dont know
how to use proper tooling and stuff for these kind of analysis) and
checked how other Distributions and other Ubuntu versions perform from
USB Live systems and found that not only PopOS, but also Ubuntu 21.10,
BUT to my surprise also 22.04 from USB Live system behave much better.

So I thought i must have some setting wrong, but I didn't know which,
until i tried to turn off Intel Boost because I remembered in Ubuntu
Studio it is recommended to be turned off for good audio performance.
This helps a lot!

But, this is not what is different between 22.04 live - because there,
Intel boost is ON and it still behaves good.

I tried this with several browsers with always the same result, so it seems to 
be a generic graphics system/library, or kernel problem. It actually "feels" 
like some scheduling issue - which was the reason I tried the boost setting.
I also tried with a new test user, to make sure it's not a userspace local 
setting, or any browser plugin. But the same problems with a new, "clean" user.

The system I experience all this with has been installed first with
20.10, so it has multiple upgrades - it *could* be there is some other
setting from previous software versions thats broken - but I have no
idea what setting this could be and how I can search for it.

It could also be some old version of some gnome, X11 ( I also tried Xorg
as well as wayland, no noticeable difference) or graphics library, and
the kernel package is the wrong place for this bug, but I dont know
where to start with that then...

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1973434

Title:
  massive performance issues since 22.04 upgrade

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hi,
  After upgrading to 22.04 i had to fight with massive performance issues.

  Browsers appeared to hang every other minute, youtube videos being
  laggy and hang in between, applications in a virtualbox VM where slow
  and also hanging every other minute to a level of not being useable.
  On a pretty recent and powerful system just 2 years old.

  I noticed CPU jumps in top, but also somehow thought it could be a graphics 
issue so invested some time installing nvidia drivers properly.
  Also I wondered if it might be the lowlatency kernel I normally use because I 
do audio stuff, and switched to generic. But nothing helped.

  ThenI had the idea it could be a kernel/scheduler issue because the
  system wasn't always slow, but it appeared certain things kept hanging
  when other processed had a lot of cpu for a few seconds.

  So I got a recent mainline kernel, configured it with my last running
  config from 21.10 before the update, made the debs and installed them,
  and now can tell that a mainline kernel 5.17.7 with all the dkms
  modules that i had before which got compiled automatically at
  installation brings back a "normal" performance.

  I can browse the web, run multiple youtube vids at once, even in
  another browser, have thunderbird running, and a virtualbox machine
  open with another browser for some web app testing and everything runs
  fine and smooth, no lagging.

  Not sure yet what the real reason is - either the kernel version, or a
  patch in the ubuntu version, or the 22.04 kernel config so far, or
  some configuration made in 21.10 that isn't good with 22.04 and it's
  kernel anymore.

  I will go ahead tomorrow and see if I can build a vanilla kernel with
  the config from the ubuntu 22.04 kernel and "make oldconfig", then I
  will be able to tell if only the config is making the difference.

  Please let me know of there is anything I should test to further
  analyze this issue, or any ideas I can try to solve it without having
  to run a mainline manually installed kernel.

  Thanks.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-image-generic 5.15.0.30.33
  ProcVersionSignature: Ubuntu 5.15.0-30.31-generic 5.15.30
  Uname: Linux 5.15.0-30-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu82
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  henning    6198 F.... pulseaudio
   /dev/snd/controlC1:  henning    6198 F.... pulseaudio
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sat May 14 23:02:38 2022
  InstallationDate: Installed on 2020-04-12 (761 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 20QV00CEGE
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-30-generic 
root=/dev/mapper/vgubuntu-root ro
  RelatedPackageVersions:
   linux-restricted-modules-5.15.0-30-generic N/A
   linux-backports-modules-5.15.0-30-generic  N/A
   linux-firmware                             20220329.git681281e4-0ubuntu3
  SourcePackage: linux
  UpgradeStatus: Upgraded to jammy on 2022-04-28 (15 days ago)
  dmi.bios.date: 12/06/2021
  dmi.bios.release: 1.42
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N2OET55W (1.42 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20QV00CEGE
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0T08861 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.23
  dmi.modalias: 
dmi:bvnLENOVO:bvrN2OET55W(1.42):bd12/06/2021:br1.42:efr1.23:svnLENOVO:pn20QV00CEGE:pvrThinkPadX1Extreme2nd:rvnLENOVO:rn20QV00CEGE:rvrSDK0T08861WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20QV_BU_Think_FM_ThinkPadX1Extreme2nd:
  dmi.product.family: ThinkPad X1 Extreme 2nd
  dmi.product.name: 20QV00CEGE
  dmi.product.sku: LENOVO_MT_20QV_BU_Think_FM_ThinkPad X1 Extreme 2nd
  dmi.product.version: ThinkPad X1 Extreme 2nd
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1973434/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to