Bug 19910 - gzip runs faster without assembly
Summary: gzip runs faster without assembly
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gzip
Version: 6.2
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-10-27 13:56 UTC by Oren Tirosh
Modified: 2007-03-27 03:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-10-30 16:01:07 UTC
Embargoed:


Attachments (Terms of Use)

Description Oren Tirosh 2000-10-27 13:56:30 UTC
Compression speed can be improved up to 27% by disabling the assembly
version of the match_longest function.  It appears that gcc does a better
job in optimizing the C version of that function.  Just disable the ASMV
define.  Decompression speed is not affected. Maintainers of the gzip
package have been notified.

Comment 1 Trond Eivind Glomsrxd 2000-10-30 03:44:51 UTC
Weird - will investigate.

Comment 2 Trond Eivind Glomsrxd 2000-10-30 16:01:04 UTC
Verified and turned off (with DEFS=-DNO_ASM).

Comment 3 Trond Eivind Glomsrxd 2000-10-30 16:09:44 UTC
1.3-7 will eventually show up in Rawhide.

Comment 4 Daniel Roesen 2000-10-30 17:51:49 UTC
so no "massive performance enhancement" official update in sight? :->

Comment 5 Trond Eivind Glomsrxd 2000-10-30 18:48:33 UTC
Nah, it works correctly as shipped. Besides, most systems don't spend that much
time doing it. Now, if it was glibc....


Note You need to log in before you can comment on or make changes to this bug.