1st Nov, 2014, 03:34 AM
Hi,
I recently stumble upon on this obscure gem called upx an executable compress/decompress packer and I've try to use it on xbian for xbmc. I know very little about it and I not so expert to make detailed benchmarks; at the moment I've seen a couple of things: the xbmc.bin compressed became half size compared to the original one and xbmc ui experience seems little bit better. Perhaps some folks here can make more specific tests.
To use upx is pretty simple, here the steps via ssh:
Stop xbmc
Install upx
Copy original xbmc.bin
UPX the xbmc (it takes a while)
Start xbmc
Here the compressed file:
It would be interesting if someone here can try it with more of my expertise
D
I recently stumble upon on this obscure gem called upx an executable compress/decompress packer and I've try to use it on xbian for xbmc. I know very little about it and I not so expert to make detailed benchmarks; at the moment I've seen a couple of things: the xbmc.bin compressed became half size compared to the original one and xbmc ui experience seems little bit better. Perhaps some folks here can make more specific tests.
To use upx is pretty simple, here the steps via ssh:
Stop xbmc
Code:
sudo service xbmc stop
Install upx
Code:
sudo apt-get install upx
Copy original xbmc.bin
Code:
sudo cp /usr/local/lib/xbmc/xbmc.bin /usr/local/lib/xbmc/xbmc.bin.noupx
UPX the xbmc (it takes a while)
Code:
sudo upx --best /usr/local/lib/xbmc/xbmc.bin
Start xbmc
Code:
sudo service xbmc start
Here the compressed file:
Quote:10352012 Oct 31 08:01 xbmc.bin
24984684 Oct 30 20:57 xbmc.bin.noupx
It would be interesting if someone here can try it with more of my expertise
D