When to compress with upx?
Posted: Wed 29 Jun 2005, 22:51
upx does a great job at compressing executables but I'm not 100% sure in what situations it is appropriate to use it.
If everything in /usr is part of a cram_fs filesystem then it's probably not worth compressing any executable in /usr right?
Is everything else not compressed? so should everything in /bin, /sbin be compressed?
If something is on a compressed filesystem (in the cram_fs), using upx will only slow the program down right? (since it needs uncompressed before running, no matter how fast that is).
Are there other instances when using upx is not appropriate, like maybe something that needs to be ran often so it would get loaded and decompressed a lot? (would a upx'ed application that is called 4 times in a row be decompressed 4 times or would it somehow be cached?)
what about stuff in /root? (like my-applications)
I want to make the most of my available space (disk and RAM)
If everything in /usr is part of a cram_fs filesystem then it's probably not worth compressing any executable in /usr right?
Is everything else not compressed? so should everything in /bin, /sbin be compressed?
If something is on a compressed filesystem (in the cram_fs), using upx will only slow the program down right? (since it needs uncompressed before running, no matter how fast that is).
Are there other instances when using upx is not appropriate, like maybe something that needs to be ran often so it would get loaded and decompressed a lot? (would a upx'ed application that is called 4 times in a row be decompressed 4 times or would it somehow be cached?)
what about stuff in /root? (like my-applications)
I want to make the most of my available space (disk and RAM)