Re: TW slow to process zypper dup?? (Pablo Sanchez)
---------- Forwarded message ----------
From: Pablo Sanchez <pablo@blueoakdb.com> To: factory@lists.opensuse.org Cc: Bcc: Date: Tue, 7 Mar 2023 17:27:57 -0500 Subject: Re: TW slow to process zypper dup?? (Pablo Sanchez) On 2023-03-07 17:21, Fritz Hudnut wrote:
[ trimmed ] But, I boot a different system every day and it's about busy-ness, so I don't want to cut some script process off while it's running . . . so I just manually run the zypper . . . as root, in screen -L . . . .
I essentially do the same thing with each of my other systems "update/upgrade" often using sudo . . . . I'm not digging down into the process and messing around with it. It is essentially box stock, run by zypper . . . .
Hey Fritz,
Assuming a Bourne compatible shell, you could do the following:
--8-<---8-<---8-<---8-<---8-<---8-<---8-<---8-<--
export ZYPP_MEDIANETWORK=1
export ZYPP_SINGLE_RPMTRANS=1
zypper dup -l
--8-<---8-<---8-<---8-<---8-<---8-<---8-<---8-<--
Cheers!
--- Pablo Sanchez - Blueoak Database Engineering
@Pablo: OK, thanks for the continuing hints . . . problem is that those commands or scripts add to the list of tasks needed to execute to run a basic ref/dup procedure . . . . Today happens to be Leap 15.5 day . . . in #screen -L #zypper ref && zypper dup -l showed 289 packages to upgrade or process, including a kernel upgrade to 5.14 . . . ten minutes later the cursor was back. Same machine, possibly same drive or even an HDD compared to the SSD that TW is in . . . . TW took 1.5 hours to process less packages???? F
On 2023-03-08 10:57, Fritz Hudnut wrote:
Today happens to be Leap 15.5 day . . . in #screen -L #zypper ref && zypper dup -l showed 289 packages to upgrade or process, including a kernel upgrade to 5.14 . . . ten minutes later the cursor was back. Same machine, possibly same drive or even an HDD compared to the SSD that TW is in . . . . TW took 1.5 hours to process less packages????
Hi Fritz, Where was most of the time spent for the TW dup? 1. Repository refresh 2. RPM downloads 3. Running the updates If you didn't capture times, please do so next time. Given the duration, it does not have to be precise. Thx! --- Pablo Sanchez - Blueoak Database Engineering
Fritz Hudnut composed on 2023-03-08 07:57 (UTC-0800):
TW took 1.5 hours to process less packages????
Leap and TW have different mirror sets. Most contain the "LTS" Leap, with ostensibly slow churn (though not so much for the alphas & betas). A subset contains the rolling release TW, with near daily churn. In US that subset is small, so reliably decent average speed is a mere wish. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
On 9/3/23 03:47, Felix Miata wrote:
CAUTION: This email originated from outside of Interactive. Do not click links or open attachments unless you recognise the sender and know the content is safe.
Fritz Hudnut composed on 2023-03-08 07:57 (UTC-0800):
TW took 1.5 hours to process less packages???? Leap and TW have different mirror sets. Most contain the "LTS" Leap, with ostensibly slow churn (though not so much for the alphas & betas). A subset contains the rolling release TW, with near daily churn. In US that subset is small, so reliably decent average speed is a mere wish.
Try it in Australia, especially if you have a bunch of OBS repos enabled. I was getting under 40KiB/s for the actual package downloads a few nights ago. The refresh takes ages, and it does this sequentially. I find that it is usually due to a single mirror that Mirrorbrain selects, but does not really work. It is usually temporary, but 'temporary' can be days. The issue may not even be the mirror itself, it could be something like an ISP peering. In these cases, I just find the best mirror manually and hard-code the repo in the repo file and refresh. Finding the nest mirror is more of an art than a science though. Still.. with the size of OBS and everything, for a free service, I am still VERY impressed. Even though it is a little slow sometimes, it is still an awesome community service and the entire world is better off for it. I doubt my wife would be happy moving to Germany for faster Tumbleweed updates. -- Ben
participants (4)
-
Ben Holmes
-
Felix Miata
-
Fritz Hudnut
-
Pablo Sanchez