patterns-glibc-hwcaps-x86_64_v3 not installed automatically

The article https://news.opensuse.org/2023/03/02/tw-gains-optional-optimizations/ says patterns-glibc-hwcaps-x86_64_v3 should get automatically installed on supported systems. I have 2 machines running Tumbleweed, with CPUs: - AMD Ryzen 7 3700X - Intel(R) Core(TM) i7-6500U On both I have this: # /usr/lib64/ld-linux-x86-64.so.2 --help | grep x86-64-v3 x86-64-v3 (supported, searched) But patterns-glibc-hwcaps-x86_64_v3 didn't get installed by zypper dup. Is it a bug, or are my CPUs missing some features?

* Adam Mizerski <adam@mizerski.pl> [03-02-23 12:29]:
I have same situation on all my "supported" boxes -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc

On Thu, 2 Mar 2023 16:48:17 -0600, Robert Schwedler <schweds@gmail.com> wrote:
But not on my Tumbleweed system, which could support v3. # /usr/lib64/ld-linux-x86-64.so.2 --help | grep x86-64-v3 x86-64-v3 (supported, searched) I have not ever made any changes to the default zypper and libzypp configurations, so recommended packages should be getting installed. # aaa="$HOME/.zypper.conf /etc/zypp/zypper.conf /etc/zypp/zypp.conf" # grep -i 'onlyRequires' $aaa grep: /home/robert/.zypper.conf: No such file or directory /etc/zypp/zypper.conf:## yast, pk,..) is defined in /etc/zypp/zypp.conf(solver.onlyRequires) and it /etc/zypp/zypper.conf:## Default value: follow zypp.conf(solver.onlyRequires) /etc/zypp/zypp.conf:# solver.onlyRequires = false And the recommendations are recognized somewhere. (I don't understand why the following command should do anything, though.): # zypper install-new-recommends -D --no-recommends Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW package is going to be installed: patterns-glibc-hwcaps-x86_64_v3 The following NEW pattern is going to be installed: x86_64_v3 1 new package to install. Overall download size: 8.5 KiB. Already cached: 0 B. After the operation, additional 55.0 B will be used. Continue? [y/n/v/...? shows all options] (y): n # Okay, how do I do a proper search for "What packages recommend ..." ? # zypper se --recommends x86_64_v3 patterns-glibc-hwcaps-x86_64_v3 Loading repository data... Reading installed packages... No matching items found. -- Robert Webb

On Fri, Mar 3, 2023 at 8:10 AM Robert Webb <webbdg@verizon.net> wrote:
Okay, how do I do a proper search for "What packages recommend ..." ?
# zypper se --recommends x86_64_v3 patterns-glibc-hwcaps-x86_64_v3
That is the wrong query. The proper query is --recommends-pkg and even in this case I am not sure how it works between packages/patterns. You may want to explicitly search for "-t pattern".

On Fri, 3 Mar 2023 09:34:31 +0300, Andrei Borzenkov <arvidjaar@gmail.com> wrote:
I actually did try both of those, with no results, in these combinations: ... --recommends-pkg patterns-glibc-hwcaps-x86_64_v3 --recommends-pkg x86_64_v3 --recommends-pkg -t pattern x86_64_v3 And just now, these (also no results): zypper se -t pattern -t package --recommends-pkg '*_v3*' zypper se -t pattern -t package --recommends '*_v3*' Maybe looking from the other direction at what these package/patterns provide: # zypper if --provides patterns-glibc-hwcaps-x86_64_v3 Loading repository data... Reading installed packages... Information for package patterns-glibc-hwcaps-x86_64_v3: -------------------------------------------------------- Repository : Main Repository (OSS) Name : patterns-glibc-hwcaps-x86_64_v3 Version : 20230201-2.1 Arch : x86_64 Vendor : openSUSE Installed Size : 55 B Installed : No Status : not installed Source package : patterns-glibc-hwcaps-20230201-2.1.src Upstream URL : https://github.com/openSUSE/patterns Summary : Install x86-64-v3 optimized software Description : This package triggers the installation of x86-64-v3 optimized glibc HWCAPS overlay packages. Provides : [6] pattern-icon() = pattern-generic pattern-category() = Desktop%20Functions patterns-glibc-hwcaps-x86_64_v3 = 20230201-2.1 pattern() = x86_64_v3 patterns-glibc-hwcaps-x86_64-v3 = 20230201 patterns-glibc-hwcaps-x86_64_v3(x86-64) = 20230201-2.1 # zypper if --provides -t pattern x86_64_v3 Loading repository data... Reading installed packages... Information for pattern x86_64_v3: ---------------------------------- Repository : Main Repository (OSS) Name : x86_64_v3 Version : 20230201-2.1 Arch : x86_64 Vendor : openSUSE Installed : No Visible to User : No Summary : Install x86-64-v3 optimized software Description : This package triggers the installation of x86-64-v3 optimized glibc HWCAPS overlay packages. Provides : [2] autopattern() = patterns-glibc-hwcaps-x86_64_v3 pattern:x86_64_v3 = 20230201-2.1 Contents : S | Name | Type | Dependency ---+---------------------------------+---------+----------- i+ | glibc | package | Required | patterns-glibc-hwcaps-x86_64_v3 | package | Required What next to find the missing link to automatic installation? -- Robert Webb

fr., mars 3 2023 at kl. 08.16 +0000 +0000 skrev Robert Webb <webbdg@verizon.net> følgende:
$ zypper info --supplements patterns-glibc-hwcaps-x86_64_v3 | grep Supplements Supplements : (glibc and namespace:modalias(cpu:type%3Ax86*%3Afeature%3A*0080*0089*008C*008D*0093*0094*0096*0097*009B*009C*009D*00C0*0123*0125*0128*)) $ /B

On Thu, Mar 2, 2023 at 2:27 PM Adam Mizerski <adam@mizerski.pl> wrote:
Interesting .. but I will not expect much extra performance as glibc picks best implementation for your cpu at load time.. Too bad it does not appear to raise the required kernel version (--enablr-kernel=5.x or whatewver is the max today) at the same time., that would indeed save some further runtime tests/branches. as there is no point on supporting old kernels in !generic.

* Adam Mizerski <adam@mizerski.pl> [03-02-23 12:29]:
I have same situation on all my "supported" boxes -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc

On Thu, 2 Mar 2023 16:48:17 -0600, Robert Schwedler <schweds@gmail.com> wrote:
But not on my Tumbleweed system, which could support v3. # /usr/lib64/ld-linux-x86-64.so.2 --help | grep x86-64-v3 x86-64-v3 (supported, searched) I have not ever made any changes to the default zypper and libzypp configurations, so recommended packages should be getting installed. # aaa="$HOME/.zypper.conf /etc/zypp/zypper.conf /etc/zypp/zypp.conf" # grep -i 'onlyRequires' $aaa grep: /home/robert/.zypper.conf: No such file or directory /etc/zypp/zypper.conf:## yast, pk,..) is defined in /etc/zypp/zypp.conf(solver.onlyRequires) and it /etc/zypp/zypper.conf:## Default value: follow zypp.conf(solver.onlyRequires) /etc/zypp/zypp.conf:# solver.onlyRequires = false And the recommendations are recognized somewhere. (I don't understand why the following command should do anything, though.): # zypper install-new-recommends -D --no-recommends Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW package is going to be installed: patterns-glibc-hwcaps-x86_64_v3 The following NEW pattern is going to be installed: x86_64_v3 1 new package to install. Overall download size: 8.5 KiB. Already cached: 0 B. After the operation, additional 55.0 B will be used. Continue? [y/n/v/...? shows all options] (y): n # Okay, how do I do a proper search for "What packages recommend ..." ? # zypper se --recommends x86_64_v3 patterns-glibc-hwcaps-x86_64_v3 Loading repository data... Reading installed packages... No matching items found. -- Robert Webb

On Fri, Mar 3, 2023 at 8:10 AM Robert Webb <webbdg@verizon.net> wrote:
Okay, how do I do a proper search for "What packages recommend ..." ?
# zypper se --recommends x86_64_v3 patterns-glibc-hwcaps-x86_64_v3
That is the wrong query. The proper query is --recommends-pkg and even in this case I am not sure how it works between packages/patterns. You may want to explicitly search for "-t pattern".

On Fri, 3 Mar 2023 09:34:31 +0300, Andrei Borzenkov <arvidjaar@gmail.com> wrote:
I actually did try both of those, with no results, in these combinations: ... --recommends-pkg patterns-glibc-hwcaps-x86_64_v3 --recommends-pkg x86_64_v3 --recommends-pkg -t pattern x86_64_v3 And just now, these (also no results): zypper se -t pattern -t package --recommends-pkg '*_v3*' zypper se -t pattern -t package --recommends '*_v3*' Maybe looking from the other direction at what these package/patterns provide: # zypper if --provides patterns-glibc-hwcaps-x86_64_v3 Loading repository data... Reading installed packages... Information for package patterns-glibc-hwcaps-x86_64_v3: -------------------------------------------------------- Repository : Main Repository (OSS) Name : patterns-glibc-hwcaps-x86_64_v3 Version : 20230201-2.1 Arch : x86_64 Vendor : openSUSE Installed Size : 55 B Installed : No Status : not installed Source package : patterns-glibc-hwcaps-20230201-2.1.src Upstream URL : https://github.com/openSUSE/patterns Summary : Install x86-64-v3 optimized software Description : This package triggers the installation of x86-64-v3 optimized glibc HWCAPS overlay packages. Provides : [6] pattern-icon() = pattern-generic pattern-category() = Desktop%20Functions patterns-glibc-hwcaps-x86_64_v3 = 20230201-2.1 pattern() = x86_64_v3 patterns-glibc-hwcaps-x86_64-v3 = 20230201 patterns-glibc-hwcaps-x86_64_v3(x86-64) = 20230201-2.1 # zypper if --provides -t pattern x86_64_v3 Loading repository data... Reading installed packages... Information for pattern x86_64_v3: ---------------------------------- Repository : Main Repository (OSS) Name : x86_64_v3 Version : 20230201-2.1 Arch : x86_64 Vendor : openSUSE Installed : No Visible to User : No Summary : Install x86-64-v3 optimized software Description : This package triggers the installation of x86-64-v3 optimized glibc HWCAPS overlay packages. Provides : [2] autopattern() = patterns-glibc-hwcaps-x86_64_v3 pattern:x86_64_v3 = 20230201-2.1 Contents : S | Name | Type | Dependency ---+---------------------------------+---------+----------- i+ | glibc | package | Required | patterns-glibc-hwcaps-x86_64_v3 | package | Required What next to find the missing link to automatic installation? -- Robert Webb

fr., mars 3 2023 at kl. 08.16 +0000 +0000 skrev Robert Webb <webbdg@verizon.net> følgende:
$ zypper info --supplements patterns-glibc-hwcaps-x86_64_v3 | grep Supplements Supplements : (glibc and namespace:modalias(cpu:type%3Ax86*%3Afeature%3A*0080*0089*008C*008D*0093*0094*0096*0097*009B*009C*009D*00C0*0123*0125*0128*)) $ /B
participants (7)
-
Adam Mizerski
-
Andrei Borzenkov
-
Bjørn Lie
-
Cristian Rodríguez
-
Patrick Shanahan
-
Robert Schwedler
-
Robert Webb