dCore Import Debian Packages to Mountable SCE extensions > dCore X86
Why does sce-update take so much time (even more than sce-import)?
sm8ps:
That sounds promissing! I am looking forward to testing any new versions.
Cheers!
Jason W:
It seems it is not so much the checking of all packages in an SCE that was causing the performance difference between sce-import and sce-update, but the sce-update routines needed to be adjusted with the changes made recently to sce-import. Below is a comparison of the performance of sce-update before and after the changes made now. All seems well, so sce-update has been updated, please test.
--- Code: ---Size of 200-bionic.sce:
$ ls -lh 200-bionic.sce ... 1.3G
Number of packages in 200-bionic.sce (lines in below file):
$ wc -l /usr/local/sce/200-bionic/200-bionic.md5sum
1498 /usr/local/sce/200-bionic/200-bionic.md5sum
--------
New sce-update, simple mode:
$ time sce-update -c 200-bionic.sce
....
real 1m 30.34s
user 1m 7.85s
sys 0m 25.47s
$ cat /tmp/updateavailable
==== 200-bionic updates ====
chromium-browser ubuntu bionic security-updates
--------
New sce-update, full check mode:
$ time sce-update -cf 200-bionic.sce
....
real 2m 1.88s
user 1m 27.87s
sys 0m 36.10s
$ cat /tmp/updateavailable
==== 200-bionic updates ====
chromium-browser ubuntu bionic security-updates
chromium-codecs-ffmpeg ubuntu bionic security-updates
chromium-codecs-ffmpeg-extra ubuntu bionic security-updates
dirmngr ubuntu bionic security-updates
gnupg ubuntu bionic security-updates
gnupg-l10n ubuntu bionic security-updates
gnupg-utils ubuntu bionic security-updates
gpg ubuntu bionic security-updates
gpg-agent ubuntu bionic security-updates
gpgconf ubuntu bionic security-updates
gpgsm ubuntu bionic security-updates
gpgv ubuntu bionic security-updates
gpg-wks-client ubuntu bionic security-updates
gpg-wks-server ubuntu bionic security-updates
libarchive13 ubuntu bionic security-updates
libcaca0 ubuntu bionic security-updates
libexiv2-14 ubuntu bionic security-updates
libgssapi-krb5-2 ubuntu bionic security-updates
libjavascriptcoregtk-4.0-18 ubuntu bionic security-updates
libk5crypto3 ubuntu bionic security-updates
libkrb5-3 ubuntu bionic security-updates
libkrb5support0 ubuntu bionic security-updates
libnss3 ubuntu bionic security-updates
libpam-systemd ubuntu bionic security-updates
libpolkit-agent-1-0 ubuntu bionic security-updates
libpolkit-backend-1-0 ubuntu bionic security-updates
libpolkit-gobject-1-0 ubuntu bionic security-updates
libsystemd0 ubuntu bionic security-updates
libudev1 ubuntu bionic security-updates
libwebkit2gtk-4.0-37 ubuntu bionic security-updates
libzmq5 ubuntu bionic security-updates
policykit-1 ubuntu bionic security-updates
systemd-sysv ubuntu bionic security-updates
--------
Old sce-update:
$ time sce-update -c 200-bionic.sce
....
real 7m 27.23s
user 1m 56.17s
sys 0m 44.86s
$ cat /tmp/updateavailable
==== 200-bionic updates ====
chromium-browser ubuntu bionic security-updates
chromium-codecs-ffmpeg ubuntu bionic security-updates
chromium-codecs-ffmpeg-extra ubuntu bionic security-updates
dirmngr ubuntu bionic security-updates
gnupg ubuntu bionic security-updates
gnupg-l10n ubuntu bionic security-updates
gnupg-utils ubuntu bionic security-updates
gpg ubuntu bionic security-updates
gpg-agent ubuntu bionic security-updates
gpgconf ubuntu bionic security-updates
gpgsm ubuntu bionic security-updates
gpgv ubuntu bionic security-updates
gpg-wks-client ubuntu bionic security-updates
gpg-wks-server ubuntu bionic security-updates
libarchive13 ubuntu bionic security-updates
libcaca0 ubuntu bionic security-updates
libexiv2-14 ubuntu bionic security-updates
libgssapi-krb5-2 ubuntu bionic security-updates
libjavascriptcoregtk-4.0-18 ubuntu bionic security-updates
libk5crypto3 ubuntu bionic security-updates
libkrb5-3 ubuntu bionic security-updates
libkrb5support0 ubuntu bionic security-updates
libnss3 ubuntu bionic security-updates
libpam-systemd ubuntu bionic security-updates
libpolkit-agent-1-0 ubuntu bionic security-updates
libpolkit-backend-1-0 ubuntu bionic security-updates
libpolkit-gobject-1-0 ubuntu bionic security-updates
libsystemd0 ubuntu bionic security-updates
libudev1 ubuntu bionic security-updates
libwebkit2gtk-4.0-37 ubuntu bionic security-updates
libzmq5 ubuntu bionic security-updates
policykit-1 ubuntu bionic security-updates
systemd-sysv ubuntu bionic security-updates
--- End code ---
sm8ps:
Now that does sound exciting! The time savings really do look spectacular.
jls:
Hi
Thanks Jason for the update and sm8ps for pushing Jason
-f needs to be adjusted in sce-update -h
Jason W:
Thanks jls, -f option has been corrected in the -h help menu.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version