Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #68560

Bad desktop performance with Linux 5.8

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Kévin Le Gouguec <kevin.legouguec@gmail.com>
Newsgroups linux.debian.kernel
Subject Bad desktop performance with Linux 5.8
Date Sat, 14 Nov 2020 23:30:01 +0100
Message-ID <Bbcdr-76a-1@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-kernel-request@lists.debian.org Sat Nov 14 22:21:09 2020
Old-Return-Path <kevin.legouguec@gmail.com>
X-Amavis-Spam-Status No, score=-2.079 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, FREEMAIL_FROM=0.001, MURPHY_DRUGS_REL8=0.02, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=gaJoMHq8hDJW3JT805cCBzu38haVm8BKGgYBQwR2yRo=; b=sojpvOba10AvJwkxNhTZ6s/Iu76KQfKlZQzVsl2T4jg7QfyU7dF8KWiSccpd5yjIt9 o1oEXpz4EqUjvSfhJ5vV3qG1WoeOllyiEahYiAFTyI76U1eSmXegAW5q+NF5smMEV17L o15RaeE7vYv2zsA3fUJwu21Eh8OTte0nQqzwOJVhCCZWzb1uabc085cH8md4+gEEFuxX 5oRrxNKOU0j4RQbeUBcNRUxdirJ9BfqPQwSSIIi+00ak/TI+pqdN542T72GqOpwMZdUe JemrHgROcF0PUpD+6LpwSAHPQ4iKsAZRJ0gubnj4nhgoWSYN7U5YSFn+R3RTU6K/EVz8 dojw==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=gaJoMHq8hDJW3JT805cCBzu38haVm8BKGgYBQwR2yRo=; b=sLz6AVbve2CSoUc8QkRmHyhTXkBoTfSb4nPJ1xW2p1kBbZ6EIyrj3Ajbjh1SHHv9Ax RlG6t8Voa3J0xr9hiuw4PXHtuKaZ6HYYq+xM/7FbG+NrSo+cqfSh7duaulfVp8vM2eEl bkaOnHdz+VI0JQOo0FyeMPhw55z/TrokmRmoPC8Sy0thKMAwWMuIx/Y1syt8IbYV1rQs FjkxDaIRGtGrkQIFBOahiJtGXE31eP3Ln1spccaO/hjxX/sk3HHGKiKWd5QfPqihLZ+E 3+UIbpDVFrQlailjM+P6iFw71hMrvXkH39qAQxq5gFCPMiJgURO74Gg/iZ7UX7w7OWCT a+CA==
X-Gm-Message-State AOAM5328ibbS6xZ0UiKMKxqu0Z3VppDARwMKrpqd7L7DigkGpRAv7uj3 3j8bGESVeO/kWHrz5cmb9UJ7lCBgaYLbEw==
X-Google-SMTP-Source ABdhPJwHoEPm/qb9qtJO5A19rk324O2UwqBqDVGj7ThU0kXh+yOJl1VI4B1CQ0+F83qNud/oxEdUCw==
X-Received by 2002:a7b:c385:: with SMTP id s5mr8510282wmj.155.1605391534856; Sat, 14 Nov 2020 14:05:34 -0800 (PST)
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version 1.0
Content-Type multipart/mixed; boundary="=-=-="
X-Mailing-List <debian-kernel@lists.debian.org> archive/latest/125822
List-ID <debian-kernel.lists.debian.org>
List-URL <https://lists.debian.org/debian-kernel/>
List-Archive https://lists.debian.org/msgid-search/87tutrlhle.fsf@gmail.com
Approved robomod@news.nic.it
Lines 183
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sat, 14 Nov 2020 23:05:33 +0100
X-Original-Message-ID <87tutrlhle.fsf@gmail.com>
Xref csiph.com linux.debian.kernel:68560

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello,

I am running Debian Buster (XFCE) on a Dell Laptop[1] with some packages
upgraded from backports[2], notably linux-image-amd64.  After upgrading
to version 5.8, I started noticing some UI "choppiness".  To give a few
examples:

- when typing (in any application, e.g. Emacs, Terminator, Firefox): at
  its worst, I can type a bunch of words, sit back, wait a few seconds,
  then watch the words appear letter by letter.

- when launching programs: startup times are very inconsistent; e.g. if
  I loop on
    while time emacs -Q --eval '(kill-emacs)' ; do continue ; done
  or
    while time terminator -x "bash -c exit" ; do continue ; done
  times vary between 1× and 3× what I observe on kernel 5.7 (where times
  barely vary at all, ±5% at most).

- when scrolling a PDF with Evince with the touchpad: the display
  "freezes" (the pages do not seem to be scrolling) and jumps to the new
  position after a few seconds; nonetheless, the pages *do* scroll
  continuously, as the mouse pointer changes from an arrow to an I-beam,
  presumably as text and whitespace move past it.

Neither htop, journalctl nor dmesg report anything suspicious to my
untrained eye; the only difference I spotted was the CPU governor: on
5.7 it is "powersave"; on 5.8 it is "ondemand".  Naively cpufreq-setting
all cores to powersave on 5.8 does not make the problem go away, though.

One curious thing is that looking at
    watch -n0.5 grep MHz /proc/cpuinfo

- on 5.7, the system is very responsive, and the idle frequency is
  around 800 MHz;
- on 5.8, the system lags despite the idle frequency never going below
  1700 MHz.

This might all be a red herring though, for all I know.  I did not
immediately realize that the performance drops came from 5.8; I only
understood that after studying a bunch of other hypotheses (uninstalling
xserver-xorg-video-intel, disabling services such as speech-dispatcher
and tor), coming up short, rebooting, opening Grub's "advanced options"
and realizing that 5.7 was still on my system.

I've since rebooted multiple times on 5.7 and 5.8, and I'm positive that
the problem only occurs with 5.8.


I'm not sure what to look at next.  I've searched the Web for people
having performance issues with 5.8, but nothing caught my eye.

I realize that "performance bad ☹" testimonies like this are probably
not very actionable; let me know if there's anything I can do to make
this "diagnosis" more precise.  Also, I hope this is the right place for
this kind of support request; I assume it is too vague as-is for a
proper bug report…  Let me know if I should post this elsewhere.


Thank you for your time, and sorry for the poor report.


[1] Dell Latitude 3190.  Attached outputs from lscpu and lspci:

Back to linux.debian.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bad desktop performance with Linux 5.8 Kévin Le Gouguec <kevin.legouguec@gmail.com> - 2020-11-14 23:30 +0100
  Re: Bad desktop performance with Linux 5.8 Georgi Naplatanov <gosho@oles.biz> - 2020-11-15 00:50 +0100
    Re: Bad desktop performance with Linux 5.8 Kévin Le Gouguec <kevin.legouguec@gmail.com> - 2020-11-15 15:30 +0100
    Re: Bad desktop performance with Linux 5.8 Kévin Le Gouguec <kevin.legouguec@gmail.com> - 2020-12-06 16:10 +0100

csiph-web