Jump to content











Photo
* * * * * 1 votes

from the value of saving


  • Please log in to reply
11 replies to this topic

#1 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 13 January 2007 - 07:57 PM

I ran into a few problems with my builds, that boiled down to the fact that upx is a resource hog! :P

My Standard project with all the bells and whistles is 100MB big, when upx-ed, and 135MB, when not. Nice. but not that much of a difference, if you ask me, unless you wanna put your build on a 128MB USB-Stick. :P

How do we pay for those 35 saved MB?
With lots of RAM! :P

The upx-ed version uses 192MB for pagefile, while the non upx-ed version needs only 57MB for pagefile.
That's a huge difference!
In fact with 256MB of RAM i could only ever start 1 application.
With device manager open, i couldn't even start the taskmanager anymore! :P

#2 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 13 January 2007 - 08:12 PM

I ran into a few problems with my builds, that boiled down to the fact that upx is a resource hog! :P

My Standard project with all the bells and whistles is 100MB big, when upx-ed, and 135MB, when not. Nice. but not that much of a difference, if you ask me, unless you wanna put your build on a 128MB USB-Stick. :P

How do we pay for those 35 saved MB?
With lots of RAM! :P

The upx-ed version uses 192MB for pagefile, while the non upx-ed version needs only 57MB for pagefile.
That's a huge difference!
In fact with 256MB of RAM i could only ever start 1 application.
With device manager open, i couldn't even start the taskmanager anymore! :P


Youn are right.
In the ISO when starting UPX eats a lot of memory.
There are several articles about it. Maybe Jaclaz postes his list here.

I'm personally not a friend of 'compress to about zero': I'm more a fan of Phox's 'small'.

And there is really a difference!

We have t concider that a CD has about 650 MB free space.
And: An UPXed file in PE's memory has its original size, not the UPXed!

Peter

#3 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10545 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 13 January 2007 - 08:13 PM

Thanks for mentioning - I'm a huge UPX fan as you probably know, it's good to be aware of these resource limitations.. :P

#4 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 13 January 2007 - 08:25 PM

Thanks for mentioning - I'm a huge UPX fan as you probably know, it's good to be aware of these resource limitations.. :P

As you can see in my previous post, I do not like UPX at all.
It should not be used for system files, only for external programs which are loaded by user choice.
(BTW I created autoUPX not as a result of may development opinions, but because 'everybody' demanded. See my opinion about 'agressive UPX' inside the nativeEX subforum)

Just in the case the CD becomes greater than 650 MB UPX should be used to decrease some -not all- system files until the CD's size is below 650.
That is the last tuning of the user before burning the ISO.

Peter

#5 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 13 January 2007 - 11:17 PM

Just in the case the CD becomes greater than 650 MB UPX should be used to decrease some -not all- system files until the CD's size is below 650.

And i would just, not limit the CD and use the whole 703MB! :P

PS: It's nice, without upx i can run PE on 128MB and have plenty of headroom.

#6 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10545 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 16 January 2007 - 10:58 AM

I personally use my oldish usb pendisk sized in 64Mb - and smallish builds don't eat so much resources on 256Mb RAM machines. I think it's based on what people will use it for, right? :P

#7 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 20 January 2007 - 12:19 PM

Sure!
No need to follow me, when you want into a different direction! :P

#8 sanbarrow

sanbarrow

    Silver Member

  • Developer
  • 788 posts
  • Location:Germany - Sauerland

Posted 12 May 2007 - 05:08 PM

We no longer use upx with the moa-project - based on 2k3.
We just had too many nasty problems compared with the advantages.

#9 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 12 May 2007 - 05:12 PM

We no longer use upx with the moa-project - based on 2k3.
We just had too many nasty problems compared with the advantages.


Hallo sanbarrow! Wie wär's, wenn Du uns auch 'Flagge zeigst'?

Peter :confused1:

#10 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10545 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 12 May 2007 - 05:22 PM

I'm also not using upx as default on liveXP too, but it's always a good tool whenever looking for a slimmer project.. :confused1:

#11 MichaelZ

MichaelZ

    Frequent Member

  • Team Reboot
  • 333 posts
  • Location:Braunschweig, Germany
  •  
    Germany

Posted 19 May 2007 - 06:15 AM

Hallo sanbarrow! Wie wär's, wenn Du uns auch 'Flagge zeigst'?

Zum 'Flagge zeigen' muß man leider sein Geburtsdatum preisgeben :confused1:

P.S. For non-german people, this discussion is about 'showing the flag'

#12 Alexei

Alexei

    Silver Member

  • .script developer
  • 664 posts

Posted 20 May 2007 - 12:56 PM

Compression not only saves space on the drive, but makes file transfer faster (if your CPU is fast enough).
I use NTFS USB drive with many folders set to "compressed" (it will not boot if you compress the drive).
Unfortunately, CDFS does not support compression.
BTW, can SDI be compressed? What about IMDISK?
:confused1:
Alexei
PS
Small RW DVDs (used in DVD camcorders) easy fit into your pocket and they should boot much faster (haven't tried them yet).




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users