From: Ivan Baldo <ibaldo@adinet.com.uy>
To: Frantisek Hanzlik <franta@hanzlici.cz>,
Freedos user list <freedos-user@lists.sourceforge.net>,
DOSEMU/FreeDOS <linux-msdos@vger.kernel.org>
Subject: Re: UPX or not UPX FreeDOS programs/TSRs?
Date: Sun, 04 May 2014 12:23:38 -0300 [thread overview]
Message-ID: <53665B7A.8070901@adinet.com.uy> (raw)
In-Reply-To: <536605A6.4050909@hanzlici.cz>
I don't know how it works in DOS, but if it creates a temporary
file to decompress and then executes that temporary file, then you have
an additional disk write per program executed and also some more cache
misses, so, in that case I think is preferable to not use that
compression since it will be slower and as you say, the space reductions
aren't needed today.
But if it decompresses in RAM and executes directly the
decompressed executable in RAM without touching the disk, then why not?
Thank you!!! Have a nice day.
El 04/05/14 06:17, Frantisek Hanzlik escribió:
> Hi all more experienced,
>
> I'm trying to revise and update dosemu-freedos package (subset of
> FreeDOS stuff used in DOSEMU usual installation) and I'm not sure,
> what is better - whether packaged programs by UPX or not. Actual
> dosemu-freedos-1.0-bin.tgz contains 40+ binaries, roughly half of
> them is packed with UPX - generally as FreeDOS program maintainers
> did.
>
> And I'm not sure, what is optimal, use UPX or not. On some binaries
> it cause significant space reduction - e.g. 'display.exe' 0.13b has
> 62535 Byte, and UPXed has only 3651 Byte.
> On other hand - at current disks sizes few (dozen or hundred) kB is
> nothing, and UPX packaging has perhaps its own disadvantages - and
> maybe especially with TSRs (as 'display.exe' is) this may lead to
> memory fragmentation(?).
> Thus, what is Your opinion on the use of UPX?
>
> Thanks, Franta Hanzlik
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Ivan Baldo - ibaldo@adinet.com.uy - http://ibaldo.codigolibre.net/
From Montevideo, Uruguay, at the south of South America.
Freelance programmer and GNU/Linux system administrator, hire me!
Alternatives: ibaldo@codigolibre.net - http://go.to/ibaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2014-05-04 15:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-04 9:17 UPX or not UPX FreeDOS programs/TSRs? Frantisek Hanzlik
2014-05-04 15:23 ` Ivan Baldo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53665B7A.8070901@adinet.com.uy \
--to=ibaldo@adinet.com.uy \
--cc=franta@hanzlici.cz \
--cc=freedos-user@lists.sourceforge.net \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox