[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: console-log (was: 14-Zoll-Thinkpad neu oder gebraucht?)



Marc Haber:
> On Thu, 14 Dec 2023 08:10:24 +0100, Jochen Spieker
> <ml@well-adjusted.de> wrote:
>> Wenn das für Dich interessant ist, kann ich gern versuchen, es zu
>> reproduzieren und einen Bug Report aufmachen.
> 
> Freilich. Am besten schau mal als erstes (bei gestopptem console-log),
> ob ein manuell gestartetes less mit denselben Parametern auch so viel
> CPU zieht (und mach dann einen bug gegen less *grins*).

Hmpf. Den großen Unterschied sehe ich jetzt auch nicht mehr. Merkwürdig.
Ein einzelnes less +F nimmt sich laut powertop schon gern mal
400-700mW, das finde ich recht erstaunlich. Relevante Unterschiede
zwische einem selbstgestarteten less, console-log und keinem laufenden
less sehe ich aber jetzt auch nicht mehr. Hm. Ich hatte von einem Tag
auf den anderen wirklich signifikante Unterschiede in der tatsächlichen
Laufzeit.


Ein less +F manuell:

The battery reports a discharge rate of 9.19 W
The energy consumed was 177 J
The estimated remaining time is 4 hours, 18 minutes

Summary: 1538,4 wakeups/second,  0,0 GPU ops/seconds, 0,0 VFS ops/sec and 66,5% CPU use

Power est.              Usage       Events/s    Category       Description
  2.17 W      6,7%                      Device         Display backlight
  1.71 W     14,1 ms/s     416,9        Timer          tick_sched_timer
  745 mW      5,5 ms/s     182,4        Process        [PID 193710] less +F /var/log/syslog 7000000




console-log mit zwei less +F:

The battery reports a discharge rate of 9.30 W
The energy consumed was 177 J
The estimated remaining time is 4 hours, 7 minutes

Summary: 1552,0 wakeups/second,  0,0 GPU ops/seconds, 0,0 VFS ops/sec and 64,1% CPU use

Power est.              Usage       Events/s    Category       Description
  2.22 W     19,5 pkts/s                Device         Network interface: wlp1s0 (iwlwifi)
  1.63 W      6,7%                      Device         Display backlight
  1.02 W     14,8 ms/s     415,1        Timer          tick_sched_timer
  684 mW      0,0 pkts/s                Device         Network interface: enp3s0f0 (r8169)
  458 mW     13,0 ms/s     179,6        Timer          hrtimer_wakeup
  422 mW      4,8 ms/s     173,7        Process        [PID 195460] less -Pwless /var/log/mail.log +F /var/log/mail.log
  421 mW      4,8 ms/s     173,0        Process        [PID 195440] less -Pwless /var/log/syslog +F /var/log/syslog
  170 mW     13,3 ms/s      57,2        Interrupt      [7] sched(softirq)
  157 mW     22,1 ms/s      41,4        Process        [PID 130683] /usr/lib/firefox/firefox



Ganz ohne, da waren Firefox und git-annex aber offenbar auch gerade
aktiver:

The battery reports a discharge rate of 8.59 W
The energy consumed was 175 J
The estimated remaining time is 4 hours, 23 minutes

Summary: 1350,1 wakeups/second,  0,0 GPU ops/seconds, 0,0 VFS ops/sec and 105,2% CPU use

Power est.              Usage       Events/s    Category       Description
  2.36 W      9,7 pkts/s                Device         Network interface: wlp1s0 (iwlwifi)
  1.69 W      6,7%                      Device         Display backlight
  684 mW      9,1 ms/s     318,1        Timer          tick_sched_timer
  683 mW      0,0 pkts/s                Device         Network interface: enp3s0f0 (r8169)
  300 mW     33,1 ms/s     102,5        Process        [PID 130683] /usr/lib/firefox/firefox
  189 mW     26,6 ms/s      57,6        Process        [PID 131263] /usr/lib/firefox/firefox -contentproc …
  172 mW      4,3 ms/s      77,2        Process        [PID 131790] /usr/lib/firefox/firefox -contentproc …
  147 mW      8,3 ms/s      60,2        Interrupt      [7] sched(softirq)
  143 mW      6,5 ms/s      60,7        Process        [PID 130702] /usr/lib/firefox/firefox
  142 mW     53,8 ms/s       0,4        Process        [PID 200667] git-annex

J.
-- 
Scientists know what they are talking about.
[Agree]   [Disagree]
                 <http://archive.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: PGP signature


Reply to: