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


Groups > linux.debian.kernel > #68561

Re: Bad desktop performance with Linux 5.8

Path csiph.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!news.dns-netz.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod
From Georgi Naplatanov <gosho@oles.biz>
Newsgroups linux.debian.kernel
Subject Re: Bad desktop performance with Linux 5.8
Date Sun, 15 Nov 2020 00:50:02 +0100
Message-ID <BbdsS-7LB-1@gated-at.bofh.it> (permalink)
References <Bbcdr-76a-1@gated-at.bofh.it>
X-Mailbox-Line From debian-kernel-request@lists.debian.org Sat Nov 14 23:40:50 2020
Old-Return-Path <gosho@oles.biz>
X-Amavis-Spam-Status No, score=-6.682 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FOURLA=0.1, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -3.5
X-Sender-ID techassets|x-authuser|gosho@oles.biz
X-Sender-ID techassets|x-authuser|gosho@oles.biz
X-Mc-Relay Neutral
X-Mailchannels-Senderid techassets|x-authuser|gosho@oles.biz
X-Mailchannels-Auth-ID techassets
X-Invention-Rock 5f0a18b12b3e3e5d_1605396656337_2610349374
X-Mc-Loop-Signature 1605396656337:3351860011
X-Mc-Ingress-Time 1605396656337
Dkim-Signature v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=oles.biz; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version :Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=PTJs8tHsmoDQWvPFH9+okoOK6LPQdmsoTMydLlKTQS0=; b=UkPcIgYttogWu0qgFj462z1P9m HC0/jyHrNTD81+2/YodiG5vGfRWyK17Ah6YoEV9hKV18AHmC5KzIEZDiFc8pPtPPRcN27j957Z0hm LPtKA+4Ihp/U9mINjWe6S1lVhpmvZlUs04nuyreAtDDzlRgFlWGBBb2iHdl3q2jBtbkqHRg4/ovgC zddOFt+BHPC7NvpsxgI8wMkBTYsNV8+Lez0j/FEIuKXBRz3PWC7CfjJnY34TmXaSUb44T9MxgIxf8 IxeQIocrlBsiXctpQZ+FWqP70jViGfnOBU2YHCYB7xYWgcJPW77gKqWOYbzC9dtmZ1S8LAGJA7TKe KXDz0jvg==;
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.3
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Language en-US
Content-Transfer-Encoding 8bit
X-Authuser gosho@oles.biz
X-Originating-IP 85.91.154.56
X-Mailing-List <debian-kernel@lists.debian.org> archive/latest/125823
List-ID <debian-kernel.lists.debian.org>
List-URL <https://lists.debian.org/debian-kernel/>
List-Archive https://lists.debian.org/msgid-search/7fc7f51f-f4ce-d65e-8af5-3ef2c1b93376@oles.biz
Approved robomod@news.nic.it
Lines 101
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 15 Nov 2020 01:30:52 +0200
X-Original-Message-ID <7fc7f51f-f4ce-d65e-8af5-3ef2c1b93376@oles.biz>
X-Original-References <87tutrlhle.fsf@gmail.com>
Xref csiph.com linux.debian.kernel:68561

Show key headers only | View raw


On 11/15/20 12:05 AM, Kévin Le Gouguec wrote:
> 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:
> 
> 
> 
> [2] Potentially relevant backport packages:
> 
>         $ aptitude search '?narrow(?installed, ?archive(buster-backports)) ?name(firmware~|linux~|wireless)' -F '%p'
>         firmware-amd-graphics
>         firmware-iwlwifi
>         firmware-linux
>         firmware-linux-nonfree
>         firmware-misc-nonfree
>         linux-image-5.8.0-0.bpo.2-amd64
>         linux-image-amd64
>         wireless-regdb
> 
>     Potentially relevant non-free packages:
> 
>         $ aptitude search '?installed ?section(non-free/) !?name(-doc$~|^manpages-)' -F '%p'
>         amd64-microcode
>         firmware-amd-graphics
>         firmware-iwlwifi
>         firmware-linux
>         firmware-linux-nonfree
>         firmware-misc-nonfree
>         intel-microcode
> 


Hi Kévin,

Linux kernel version (5.8) is old and unsupported (EOL) branch. Maybe
you should wait for 5.9 to be available from backports or even 5.10 -
this version will be LTS and next Debian stable version will probably
use it. While waiting you can try to use 5.7 if possible.

Kind regards
Georgi

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next 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