"2321" packages to upgrade . . . on reboot another "204" yet to go?? Why???

Alrighty . . . don’t have time to dig into “dup” this morning . . . but, today is Gecko TW MATE day . . . . From two days ago where Gecko Plasma TW showed 1776 packages that took almost two hours to install . . . MATE showed 1715 and ran the install in 46 minutes!!!

Same machine . . . essentially 3 “box stock” installations of the SUSE system . . . wildly variable package upgrades and wildly variable install times . . . using “zypper dup -l” . . . .

And, with today’s upgrade . . . no 5 minutes to “purge old kernels” on the reboot . . . .

Hi
That is a third party product, does it use the default repos as well as theirs? (zypper lr -d).

@malcolmlewis:

Yes, “third” or “second” party . . . it’s like “ubuntu” being a stack on “Debian” I would assume, here stacked on TW:

:~> zypper lr -d
# | Alias                  | Name                   | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                 | Service
--+------------------------+------------------------+---------+-----------+---------+----------+--------+---------------------------------------------------------------------+--------
1 | Google-chrome          | Google-chrome          | Yes     | ( p) Yes  | Yes     |  115     | rpm-md | https://dl.google.com/linux/chrome/rpm/stable/x86_64                | 
2 | Google-talkplugin      | Google-talkplugin      | Yes     | (r ) Yes  | Yes     |  115     | rpm-md | https://dl.google.com/linux/talkplugin/rpm/stable/x86_64            | 
3 | Nvidia                 | Nvidia                 | No      | ----      | ----    |  115     | NONE   | https://download.nvidia.com/opensuse/tumbleweed                     | 
4 | Packman_Tumbleweed     | Packman_Tumbleweed     | Yes     | (r ) Yes  | Yes     |   90     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ | 
5 | Tumbleweed_OSS         | Tumbleweed_OSS         | Yes     | (r ) Yes  | Yes     |   98     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                   | 
6 | Tumbleweed_OSS-updates | Tumbleweed_OSS-updates | Yes     | (r ) Yes  | Yes     |   97     | rpm-md | http://download.opensuse.org/update/tumbleweed/                     | 
7 | Tumbleweed_non-OSS     | Tumbleweed_non-OSS     | Yes     | (r ) Yes  | Yes     |   98     | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/               | 
8 | skype-stable           | Skype                  | Yes     | (r ) Yes  | Yes     |  115     | rpm-md | https://repo.skype.com/rpm/stable/ 

Gecko TW:

:~> ldd --version
ldd (GNU libc) 2.35
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
1:~> gcc --version
bash: gcc: command not found

@karlmistelberger:

I found a better Feynman quote, quoted by Wilczek . . . “The stage is too big for the players.”

Seems appropriate to the philosophical train of the chitchat . . . .

Hi
So it would just be branding/patterns on the new install by the looks… as in no specific gecko repo. Never used/needed to set priorities, vendor sticky-ness is now in play, switch and stay switched.

Have you tried mirrorcache for openSUSE?

Upgrading Tumbleweed from 20220518-0 -> 20220519-0: 149 packages, download size 118,3 MiB
Download only: Consumed 6.592s CPU time. -> 22 packages/second
Install from cache: Consumed 22.628s CPU time. -> 6.6 Packages/second

@karlmistelberger:

Well, those are vastly different numbers from my recent “2525 packages to upgrade” in TW, and the 1700 in Gecko . . . vastly different times to run, etc. Perhaps you are booting TW every day, or it’s running 24/7 so whenever there are packages, your “dup” app is running them through on yr Ryzen cpu? Whereas I’m booting TW essentially one time a week for a couple of hours . . . running my old Quad-core “Ivybridge” i7 from '12???

Today was LM day, had a few packages to upgrade . . . went thru fast, then rebooted to Deb Bookworm . . . apt showed “55 packages” ran thru in a couple of minutes.

g++-11 gcc-11 gcc-11-base gcc-12-base

were included.

~$ ldd --version
ldd (Debian GLIBC 2.33-7) 2.33
Copyright (C) 2021 

1:~$ gcc --version
gcc (Debian 11.3.0-3) 11.3.0
Copyright (C) 2021 



Some data of big updates on Ryzen 5 3400G and i5-8250U: https://forums.opensuse.org/showthread.php/566863-Tumbleweed-20220219-quot-Mega-Update-quot

Ryzen 5 5600U: Tumbleweed 20220519-0 -> 20220520-0, 60 packages, 320,7 MiB download: 4.790s CPU, install 23.072s CPU.

i7-6700K: Tumbleweed 20220519-0 -> 20220520-0, 70 packages, 407,0 MiB, download&install: 1min 42.330s CPU

Today is “Lubuntu Kinetic” day . . . in the first “major” upgrade in the system since moving from previous “jammy” iteration . . . “212 packages” in 291MB of data including “gcc-11” and “gcc-12” . . . 5 minutes to dl and install . . . .

Are the packages recompiled with gcc12 or are they compiled with gcc11 and gcc12 is only as a separate package inside?

That are 2 different things.

You’re wasting your time.

He’s clearly argumentative and does not even understand the basics of what rebuilding the entire system with a new compiler vs simply installing a different compiler version means.

@Sauerland:

As Miuku points out, indeed I would not know the distinction . . . .

@Miuku:

I am indeed trying to “make an argument” . . . and I would offer that argument is “falling on deaf ears” . . . but that doesn’t mean my argument is invalid, just unheard and shuttled off to Chitchat.

As I have posted in the thread a few times, I’m not “new” to SUSE, installing TW in '16 . . . and at that time “rolling” didn’t have these huugggeee package upgrades, but then in the last year plus, suddenly there they were. So, something “changed” and as a generic end user of the product I’m reporting dissatisfaction with that approach.

And, in my own thread as the OP, I’m posting my comparative “evidence” that the other 8 or so systems that I have are comparatively lower maintenance. I’m not a “crank” . . . but the two hour upgrade and machine shutting down in the middle of it . . . made me cranky . . . very cranky.

The great joy of linux is that there are options . . . but as a fairly “long” time user of TW I feel it is important to not just “put a happy face” on everything that is decided in TW. Obviously SUSE also offers many distros that are even named “experimental” . . . TW is offered on the web site right next to Leap . . . indicating it is for “public consumption” . . . . Does TW need a complete system wipe and total package re-install to maintain “freshness”???

As I posted, not even Sid seems to require these huge and time consuming upgrades . . . I would hope the devs could at least “hear” the argument . . . ???

Hi
Many things have changed of the last few years as the likes of gcc has matured that the Tumbleweed maintainers wanted to move to this.

You should look at using either a tty and multi-user target or run screen before these big updates to avoid your issues of the desktop disappearing.

Not sure of your locale, but not seen an issue with big downloads and installs with either download or mirrorcache-us (24 threads help on install…). I have multiple X86_64/aarch64 Leap and SLE systems here and updates are regular and small…

Perhaps ask on the other distribution forums a) when they will move to the later gcc and glibc, b) ask what the update will be size-wise if they did?

It does tend to fall on deaf ears so to speak since this is an User peer-to-peer technical help oriented forum :wink:

Again, see SDB:Download help - openSUSE Wiki Tumbleweed is targeted at ‘Developers’, ‘Contributors’ (thats’ me) and Enthusiasts. Leap is targeted at Sysadmins, Enterprise Developers, and “Regular” Desktop Users.

# inxi -SMCd
System:
  Host: big41 Kernel: 5.16.15-1-default arch: x86_64 bits: 64 Console: tty 3
    Distro: openSUSE Tumbleweed 20220521
Machine:
  Type: Desktop Mobo: BIOSTAR model: T41 HD serial: N/A BIOS: American Megatrends v: 080015
    date: 09/22/2009
CPU:
  Info: dual core model: Intel Core2 Duo E7600 bits: 64 type: MCP cache: L2: 3 MiB
  Speed (MHz): avg: 1603 min/max: 1603/3066 cores: 1: 1603 2: 1603
Drives:
  Local Storage: total: 238.47 GiB used: 40.09 GiB (16.8%)
  ID-1: /dev/sda vendor: Intel model: SSDSC2KW256G8 size: 238.47 GiB

Even though it’s an SSD, it’s limited by the motherboard’s old SATA 3.0 Intel G41 southbridge.

zypper ref
zypper -v dup -d
zypper -v up
zypper -v dup

Zyppers 1 & 2 I didn’t time. Too much depends on internet connection speed.
3rd zypper was 1446 to upgrade, 17 new, which took 6m10s real, 2m33s user, 1m29s sys.
4th zypper was 11 to upgrade, 9 to downgrade, 1 new, 17 to remove, which took 0m19s real, 0m09s user, 0m03s sys.
Separate installation of newer kernel took 0m30s real, 0m25s user, 0m05s sys.

It seems eminently reasonable with an old 2 core CPU to process around 1500 packages in 7-12 minutes, regardless the reasons for the package counts.

CPU time doesn’t depend on connection speed

5600X (2020), download (dup), install (dupa):

**erlangen:~ #** journalctl -u dup -u dupa -g Consumed -q 
May 16 21:16:13 erlangen systemd[1]: dup.service: Consumed 16.334s CPU time. 
May 18 05:48:27 erlangen systemd[1]: dup.service: Consumed 8.204s CPU time. 
May 18 22:58:04 erlangen systemd[1]: dup.service: Consumed 1.719s CPU time. 
May 18 23:02:05 erlangen systemd[1]: dupa.service: Consumed 17.160s CPU time. 
May 19 19:24:24 erlangen systemd[1]: dup.service: Consumed 4.941s CPU time. 
May 19 19:25:25 erlangen systemd[1]: dupa.service: Consumed 29.292s CPU time. 
May 20 17:28:24 erlangen systemd[1]: dupa.service: Consumed 3.279s CPU time. 
May 21 07:15:21 erlangen systemd[1]: dup.service: Consumed 6.592s CPU time. 
May 21 07:56:51 erlangen systemd[1]: dupa.service: Consumed 22.628s CPU time. 
May 22 00:02:17 erlangen systemd[1]: dup.service: Consumed 4.790s CPU time. 
May 22 00:03:55 erlangen systemd[1]: dupa.service: Consumed 23.072s CPU time. 
May 23 03:43:28 erlangen systemd[1]: dup.service: Consumed 7.975s CPU time. 
May 23 05:35:57 erlangen systemd[1]: dupa.service: Consumed 22.442s CPU time. 
**erlangen:~ #**

6700K (2015), download&install:

**6700K:~ #** journalctl -u dup -q -g Consumed 
May 14 08:29:01 6700K systemd[1]: dup.service: Consumed 1.686s CPU time. 
May 15 03:07:34 6700K systemd[1]: dup.service: Consumed 2min 2.284s CPU time. 
May 15 06:40:24 6700K systemd[1]: dup.service: Consumed 40.367s CPU time. 
May 15 07:25:04 6700K systemd[1]: dup.service: Consumed 13.075s CPU time. 
May 16 05:49:57 6700K systemd[1]: dup.service: Consumed 15.634s CPU time. 
May 16 21:40:59 6700K systemd[1]: dup.service: Consumed 4min 39.034s CPU time. 
May 17 03:32:13 6700K systemd[1]: dup.service: Consumed 4.684s CPU time. 
May 18 06:09:39 6700K systemd[1]: dup.service: Consumed 1min 33.073s CPU time. 
May 18 23:07:46 6700K systemd[1]: dup.service: Consumed 1min 999ms CPU time. 
May 19 08:23:18 6700K systemd[1]: dup.service: Consumed 11.644s CPU time. 
May 19 22:21:15 6700K systemd[1]: dup.service: Consumed 1min 48.096s CPU time. 
May 20 04:46:45 6700K systemd[1]: dup.service: Consumed 1.177s CPU time. 
May 21 07:40:21 6700K systemd[1]: dup.service: Consumed 1min 22.143s CPU time. 
May 22 00:20:15 6700K systemd[1]: dup.service: Consumed 1min 42.330s CPU time. 
May 23 05:18:49 6700K systemd[1]: dup.service: Consumed 1min 26.981s CPU time. 
**6700K:~ #**

Your point escapes me.

6700K:~ # journalctl -u dup -q -g Consumed 
# journalctl -u dup -q -g Consumed
# journalctl -b -5 | tail -n1
Feb 23 22:44:29 big41 systemd-journald[2261]: Journal stopped
# journalctl -b -1 | grep pper
May 22 23:28:11 big41 systemd[1]: Listening on Device-mapper event daemon FIFOs.
May 22 23:28:11 big41 systemd[1]: Started Device-mapper event daemon.
May 22 23:28:52 big41 systemd[1]: Reached target RPC Port Mapper.
May 22 23:36:19 big41 systemd[1]: Stopped target RPC Port Mapper.
May 22 23:36:20 big41 systemd[1]: Stopping Device-mapper event daemon...
May 22 23:36:20 big41 systemd[1]: Stopped Device-mapper event daemon.
# inxi -S
System:
  Host: big41 Kernel: 5.16.15-1-default arch: x86_64 bits: 64
    Console: pty pts/0 Distro: openSUSE Tumbleweed 20220521

dup and dupa are local services:

**erlangen:~ #** systemctl cat dup.service dupa.service  
**# /etc/systemd/system/dup.service**
[Unit] 
Description=Dist Upgrade 

[Service] 
ExecStartPre=/usr/bin/sleep 11 
ExecStart=/usr/bin/zypper dist-upgrade --no-confirm --download-only 

**# /etc/systemd/system/dupa.service**
[Unit] 
Description=Dist Upgrade, apply download 

[Service] 
ExecStart=/usr/bin/zypper dist-upgrade --no-confirm 
**erlangen:~ #**

Total CPU time consumed is a reliable metric of resources needed to update Tumbleweed.

Only when comparing comparables. I’ve been caching 64bit TW rpms on LAN server, and binding the cache to /var/cache/zypp/packages/. Thus, few files are being downloaded on each next of my 30 or so 64bit TWs, making time spent downloading lower than typical for TW users.

# inxi -CMSd
System:
  Host: gx151 Kernel: 5.16.15-1-default **arch: i686 bits: 32**
    Console: pty pts/1 Distro: openSUSE Tumbleweed 20220521
Machine:
  Type: Desktop System: Dell product: OptiPlex GX620 v: N/A serial: 67KR891
  Mobo: Dell model: 0F8101 serial: ..CN698615CI0707. BIOS: Dell v: A11
    date: 11/30/2006
CPU:
  Info: single core model: Intel Pentium 4 bits: 32 type: MT cache: L2: 2 MiB
  Speed (MHz): avg: 2993 min/max: N/A cores: 1: 2993 2: 2993
Drives:
  Local Storage: total: 119.24 GiB used: 32.83 GiB (27.5%)
  ID-1: /dev/sda vendor: BIWIN model: SSD size: 119.24 GiB

This too is limited to SATA 3.0, along with single core 32bit HT CPU, yet 1396 zypper up transactions consumed a modest 16m31s real, 5m15s user, 3m32s sys. Following zypper dup did 38 transactions in 2m00s real, 0m20s user, 0m10s sys.