www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2007/11/01/21:00:43

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
NNTP-Posting-Date: Thu, 01 Nov 2007 20:59:40 -0500
Message-ID: <472A847C.8030008@zytor.com>
Date: Thu, 01 Nov 2007 18:59:24 -0700
From: "H. Peter Anvin" <hpa AT zytor DOT com>
User-Agent: Thunderbird 2.0.0.5 (X11/20070727)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Why "upx --brute" might be a bad idea...
References: <4728e78c$0$16659$9b4e6d93 AT newsspool3 DOT arcor-online DOT net>
In-Reply-To: <4728e78c$0$16659$9b4e6d93@newsspool3.arcor-online.net>
Lines: 21
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 67.169.144.158
X-Trace: sv3-vsezS8zwuQevJjax3TF6NaV3BY+4trNniZw0Uls1qlBal5mJy6H5jnz5l+CHIuHRpCi4Ih/ws5c7NEd!aD9Dc026vsqXqSPbM0iZHnidJhzNUxpBqCdb8Eoq4pfzFlBQ//4L5DbrVNkZNV9LYt9ZwQTfBrFv!SxjMDUI=
X-Complaints-To: abuse AT comcast DOT net
X-DMCA-Complaints-To: dmca AT comcast DOT net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.36
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Robert Riebisch wrote:
> Hi!
> 
> Please read this thread at
> <http://www.bttr-software.de/forum/forum_entry.php?id=1220>, how UPXed
> binaries cause compile slowdowns.
> 

"upx --brute" and "upx --ultra-brute" runs a bunch of algorithms, and 
picks the smallest one, which may or may not be LZMA.  I don't know how 
they affect decompression speed, and it would be interesting to find out.

In particular, the NASM build robot 
(ftp://ftp.zytor.com/pub/nasm/snapshots/) appear to generate marginally 
smaller binaries with --[ultra-]brute than with --lzma --best, and I'm 
wondering where the difference comes from.  It would also be nice to 
know what algorithm it ends up using so I can tell it to use the same 
one every time, instead of trying them all every time taking time (a 
whopping minute every night ;)

	-hpa

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019