Hello, I tryed to use upx with assembly procs but when I want to start the prceeded file my sys crashed sometimtes.
Not in every caes, but much compressed files, let my mighti :grin: XP crashing.

O looked for some specify options, but I havnt found something interisting. How about you ? I'm very sad, because I cant make my ASM-procs as powerful.

Utra-greets you dear Forginiforcer ! :cool: :stupid:
Posted on 2003-04-15 16:29:05 by Forginforcer
That didn't make much sense.

UPX... hrm, you shouldn't be compressing executables.
Posted on 2003-04-15 16:44:05 by f0dder
Oh, I thought, that were UPX's job ? :confused:
Posted on 2003-04-15 16:54:55 by Forginforcer
Moved to Heap as it has nothing to do with assembly programming or MASM32.
Posted on 2003-04-15 17:30:19 by bazik
on f0dder's website you'll find an essay that explains you why you would not want to do that .
Posted on 2003-04-15 17:34:13 by Hiroshimator
Yes, it's the job of UPX to compress executables, and yes there are some times when it can be advantegous - but it's a folly to think "oh, it makes my executables smaller, I'll use it all the time".

A few hints are Copy On Write, Dirty pages, and paging/swapping. And as hiro said, I have a little text on why it's bad.
Posted on 2003-04-16 01:36:17 by f0dder
Forginforcer,

Maybe,you can use the data compression library (JCalg1) coded by Jeremy Collake.

http://www.collakesoftware.com/CSdownloads.htm

Regards,

Vortex
Posted on 2003-04-16 02:31:04 by Vortex
Thanks, donkey. I try :)
Posted on 2003-04-16 02:42:25 by f0dder
Yeah ! Please more ! :alright:
Posted on 2003-04-16 03:57:31 by JCP

Yeah ! Please more ! :alright:
LZO:     [url]http://www.oberhumer.com/opensource/lzo/[/url]

UCL: [url]http://www.oberhumer.com/opensource/ucl/[/url]
APLIB: [url]http://www.ibsensoftware.com/products_aPLib.html[/url]
JCALG1: [url]http://www.collakesoftware.com/CSdownloads.htm[/url]
BZIP2: [url]http://sources.redhat.com/bzip2/[/url]
ZZIP: [url]http://debin.org/zzip/download.php[/url]
:)
Posted on 2003-04-16 04:35:13 by Maverick
Err... I meant articles by f0dder... :)

But thanks anyway : there is some links I didn't knew there (the last two ones).
Posted on 2003-04-16 04:38:02 by JCP

:grin:
Posted on 2003-04-16 04:48:41 by Maverick
Maverick,

Which compression library are you using?

Regards,

Vortex
Posted on 2003-04-16 05:08:49 by Vortex

Hi Vortex :)
I have a sympathy for LZO when I need speed; and BZIP2 when I need compression ratio (ZZIP comprimes more, but is slooow).

Here is a INFO file I created with my impressions, and that I already posted on the board, somewhere, last year IIRC:



------------------------------------------------------------------------------------------------------------

LZO-1 (EXCELLENT compression speed, MEDIUM compression ratio, EXCELLENT decompression speed)
LZO-999 (FAST compression speed, GOOD compression ratio, EXCELLENT+ decompression speed)
UCL (MEDIUM compression speed, GOOD compression ratio, MEDIUM decompression speed)
APLIB (SLOW compression speed, GOOD compression ratio, VERY GOOD decompression speed)
JCALG1 (ULTRA SLOW compression speed, VERY GOOD compression ratio, GOOD decompression speed)
BZIP2 (VERY SLOW compression speed, EXCELLENT compression ratio, SLOW decompression speed)
ZZIP (VERY+ SLOW compression speed, EXCELLENT+ compression ratio, VERY SLOW decompression speed)

------------------------------------------------------------------------------------------------------------

LZO-1 (no optimize):
Compressor speed = 229486855 cycles
Decompressor speed = 92902787 cycles
Crunched size = 4979573 bytes
Original size = 17796756 bytes

---------------------------------------

LZO-999 (optimize):
Compressor speed = 18257060649 cycles
Decompressor speed = 82665151 cycles
Crunched size = 2890931 bytes
Original size = 17796756 bytes

--------------------------------------------------------------------------------

UCL (2b):
Compressor speed = 73902837373 cycles
Decompressor speed = 354994091 cycles
Crunched size = 2658067 bytes
Original size = 17796756 bytes

UCL (2d):
Compressor speed = 74075813693 cycles
Decompressor speed = 352182754 cycles
Crunched size = 2632939 bytes
Original size = 17796756 bytes

UCL (2e):
Compressor speed = 72363792253 cycles
Decompressor speed = 353852688 cycles
Crunched size = 2617444 bytes
Original size = 17796756 bytes

UCL (2e - 10):
Compressor speed = 223149533549 cycles
Decompressor speed = 351814112 cycles
Crunched size = 2224189 bytes
Original size = 17796756 bytes

--------------------------------------------------------------------------------

APLIB:

Compressor speed = 98608074623 cycles
Decompressor speed = 151145650 cycles
Crunched size = 2603303 bytes
Original size = 17796756 bytes

--------------------------------------------------------------------------------

JCALG1 (max settings):

Compressor speed = HOURS!
Decompressor speed = 270832759 cycles
Crunched size = 2094698 bytes
Original size = 17796756 bytes

------------------------------------------------------------------------------------------------------------

BZIP2 (max settings):
Compressor speed = ~21 seconds
Decompressor speed = ~3 seconds
Crunched size = 1735168 bytes
Original size = 17796756 bytes

------------------------------------------------------------------------------------------------------------

ZZIP (max settings):
Compressor speed = ~31 seconds
Decompressor speed = ~7 seconds
Crunched size = 1485811 bytes
Original size = 17796756 bytes

------------------------------------------------------------------------------------------------------------
Posted on 2003-04-16 06:18:56 by Maverick
ZZIP seems very interesting : it compresses very well and is well written... and... <patriotism>its author is french :grin: </patriotism>
Posted on 2003-04-16 06:48:51 by JCP