Re: Why "upx --brute" might be a bad idea...
- From: rugxulo@xxxxxxxxx
- Date: Thu, 01 Nov 2007 03:13:40 -0000
On Oct 31, 8:32 pm, RayeR <gl...@xxxxxxxxxx> wrote:
Yes as we discused it there it have quite important effect on compiler
speed.
Here's my benchmark. I used latest libjpeg 0.6 sources for testing.
And I'm very surprised how does it so different even on such fast CPU
as C2D is! Numbers says it clear (make all):
LZMA: 41s
NRV (--best): 21s
uncompressed: 19s
I'm the one who started all this discussion on another forum. :-)
Anyways, UPXing DJGPP compiler .EXEs is good for lowering bandwidth
(e.g. DJ's slow P2 server). Of course, nobody ever did listen to me
about using AdvanceComp (advzip) for the .ZIPs. :-P
http://advancemame.sourceforge.net/comp-readme.html
Anyways, in pure DOS, UPXing speeds everything up x 2 (at least on my
old P166 w/ FAT16), but on XP or Vista the result seems to be worse
(NTVDM's fault?). Honestly, we need more people to test this and
report back. So far, all I can say for sure is that your mileage may
vary: LZMA is slower than NRV at unpacking but much better
compression. 32-bit COFF .EXEs from DJGPP are usually compressed with
LZMA even without --lzma (e.g. --brute or --ultra-brute but not --
best). Andris says he's been using --brute on his compiles.
If anyone wants to test the compilation time, they can use REDIR or
FreeDOS' Runtime. Actually, I tested with Jack Ellis' UIDE cache and
his CC (clear cache) util. And if you want to test real DOS, try my
FreeDOS image(s). But I don't expect most here worry about this kinda
stuff too much. :-/
http://www.coli.uni-saarland.de/~eric/stuff/soft/specials/runtime.zip
http://johnson.tmfc.net/dos/drivers.html
http://rugxulo.googlepages.com
.
- Follow-Ups:
- Re: Why "upx --brute" might be a bad idea...
- From: DJ Delorie
- Re: Why "upx --brute" might be a bad idea...
- References:
- Re: Why "upx --brute" might be a bad idea...
- From: RayeR
- Re: Why "upx --brute" might be a bad idea...
- Prev by Date: Re: Running the djgpp compiler under vista.
- Next by Date: Re: Why "upx --brute" might be a bad idea...
- Previous by thread: Re: Why "upx --brute" might be a bad idea...
- Next by thread: Re: Why "upx --brute" might be a bad idea...
- Index(es):
Relevant Pages
|