Bug 1779057

Summary: gmp is compiled without CPU optimizations enabled
Product: Red Hat Enterprise Linux 8 Reporter: Nikos Mavrogiannopoulos <nmavrogi>
Component: gmpAssignee: Jakub Martisko <jamartis>
Status: CLOSED WONTFIX QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.1CC: fedora, mlichvar
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-03 07:30:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1779060    
Bug Blocks:    

Description Nikos Mavrogiannopoulos 2019-12-03 07:49:24 UTC
Description of problem:
In an unrelated fedora commit 2b62e65299c881127f59855ac54eb999b55afc34 the --enable-fat flag which was enabling CPU optimized code was dropped, probably accidentally. That's has a significant impact on the performance of nettle and in turn gnutls.

In particular the RSA implementation of nettle as compared to openssl drops to (hogweed-benchmark tool):
            name size   sign/ms verify/ms
            rsa 2048    0.8881   27.1422
  rsa (openssl) 2048    1.4249   45.2295


While on a non-RHEL system where gmp is compiled with --enable-fat:
             rsa 2048    0.2106    7.2703
   rsa (openssl) 2048    0.2024    6.4992

Please compile gmp with --enable-fat

Comment 2 RevRagnarok 2020-11-03 21:27:14 UTC
This dupes #1493218 which was a crash not just an optimization issue.

Comment 4 RHEL Program Management 2021-06-03 07:30:33 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.