Hello dear guest!

Boot Land is a community driven pc software site established since 2006 and focused on recovery/backup boot disks, research of Microsoft Windows 2000/XP/2003/Vista/7 install/deployment/lease/antivirus/antispam tools, customizing Microsoft Windows PE administration systems and even learning how to recover computer data from disaster situations!

How about joining our boot disk community? So do it. Life's short!

  - You get free access to our newsletter with all the interesting buzz about boot disks
  - We share publicity revenue with everyone who wishes to participate at the forums
  - Publicity is never, never, never displayed to members (along with many other cool things)
http://boot-land.net/register


2 Pages V   1 2 >  
Reply to this topic
 turbocharging .wims, Just an idea not a tutorial or script
post May 19 2010, 10:25 PM
Post #1
MedEvil
Platinum Member   ******
Group: .script developer

  Joined: 29-December 06
Posts: 5,146
Thank(s): 145


After running some tests with compressed ntfs images, wim images and simply compressed NaughtyPE with zip, rar and 7zip.

I noticed how poor the compression of wim images is compared to other archives.

original NaughtyPE folder - 100%
wim - 54%
zip - 51%
rar- 46%
7zip - 39%

From what i've read, wim uses the LZX compression algorithm. Would it be possible to switch it out for something, which delivers more bang for the buck? Like the algorithm used in 7zip?


cheers.gif


--------------------
NaughtyPE - The Multimedia PE!
Requirements: WinBuilder080, XPSP2/W2k3SP1 source, Pentium CPU, 128MB RAM (256MB to use video players)


+Quote Post
post May 19 2010, 11:10 PM
Post #2
paraglider
Gold Member   *****
Group: .script developer

  Joined: 12-August 06 From: NC,USA

Posts: 1,066
Thank(s): 151


United States


Only if you rewrite the OS boot loader and parts of the OS that understand the format of the wim file.
+Quote Post
post May 19 2010, 11:26 PM
Post #3
MedEvil
Platinum Member   ******
Group: .script developer

  Joined: 29-December 06
Posts: 5,146
Thank(s): 145


Actually i thought, only the wim driver would need to get 'fixed' and missed the bootloader.
But since we have now a Win2k3 Bootloader, which supports wim booting unlike the original, i don't think the patching is the problem.

The question is, is it even possible to use such a high compressing algorythm in a wim or is there a reason wim do not perform better?

cheers.gif


--------------------
NaughtyPE - The Multimedia PE!
Requirements: WinBuilder080, XPSP2/W2k3SP1 source, Pentium CPU, 128MB RAM (256MB to use video players)
+Quote Post
post May 19 2010, 11:41 PM
Post #4
Galapo
Platinum Member   ******
Group: .script developer

  Joined: 16-July 06
Posts: 3,673
Thank(s): 363


Australia


Did you use heavy compression or fast compression? WIM format for me compresses better than ZIP, more comparable with RAR.

Regards,
Galapo.


--------------------
galapo.boot-land.net
------
Archive of LiveXP recommended project may be found here.
------
Recommended steps to build LiveXP:
1) Download suitable WinBuilder.exe from here and run it;
2) Update through the Download Center by clicking the 'Download' button; and
3) Then build LiveXP by pressing the 'Play' button.
+Quote Post
post May 20 2010, 10:18 AM
Post #5
MedEvil
Platinum Member   ******
Group: .script developer

  Joined: 29-December 06
Posts: 5,146
Thank(s): 145


Didn't knew i could change the compression for wim. Where do i do that in the script?

cheers.gif


--------------------
NaughtyPE - The Multimedia PE!
Requirements: WinBuilder080, XPSP2/W2k3SP1 source, Pentium CPU, 128MB RAM (256MB to use video players)
+Quote Post
post May 20 2010, 10:39 AM
Post #6
Galapo
Platinum Member   ******
Group: .script developer

  Joined: 16-July 06
Posts: 3,673
Thank(s): 363


Australia


You haven't mentioned anything about a script, so I don't know what you're meaning. But details on WIM here: http://msdn.microsoft.com/en-us/library/dd851934.aspx. There's either 'NONE', 'XPRESS', or 'LZX'.

Regards,
Galapo.


--------------------
galapo.boot-land.net
------
Archive of LiveXP recommended project may be found here.
------
Recommended steps to build LiveXP:
1) Download suitable WinBuilder.exe from here and run it;
2) Update through the Download Center by clicking the 'Download' button; and
3) Then build LiveXP by pressing the 'Play' button.
+Quote Post
post May 20 2010, 10:48 AM
Post #7
MedEvil
Platinum Member   ******
Group: .script developer

  Joined: 29-December 06
Posts: 5,146
Thank(s): 145


QUOTE (Galapo @ May 20 2010, 12:39 PM) *
You haven't mentioned anything about a script, so I don't know what you're meaning.

I used the wimboot script from LiveXP to create the wim, the setting was maximum.
The setting for all Archivers was Best, but not solid.

cheers.gif


--------------------
NaughtyPE - The Multimedia PE!
Requirements: WinBuilder080, XPSP2/W2k3SP1 source, Pentium CPU, 128MB RAM (256MB to use video players)
+Quote Post
post May 20 2010, 09:54 PM
Post #8
Galapo
Platinum Member   ******
Group: .script developer

  Joined: 16-July 06
Posts: 3,673
Thank(s): 363


Australia


I just did a test on the outputted target folder of a LiveXP build. Folder was 168MB and compressed as the following:

ZIP: 87MB
WIM: 84MB
RAR: 77MB
7z: 65MB

That's about what I would have expected. WIM compresses better than ZIP. WIM will come down considerably if there's duplicate files.

Regards,
Galapo.


--------------------
galapo.boot-land.net
------
Archive of LiveXP recommended project may be found here.
------
Recommended steps to build LiveXP:
1) Download suitable WinBuilder.exe from here and run it;
2) Update through the Download Center by clicking the 'Download' button; and
3) Then build LiveXP by pressing the 'Play' button.
+Quote Post
post May 20 2010, 11:00 PM
Post #9
MedEvil
Platinum Member   ******
Group: .script developer

  Joined: 29-December 06
Posts: 5,146
Thank(s): 145


Did a quick check and the values for zip, rar and 7zip match with mine, though wim worked for some reason 4% better for you.
Still a 7zip compression would get it down an additional 10%. Giving it a compression ratio of 2,5.

That wim save a lot of space, when files exist more than once, does unfortunately not help with bootable wim like in our case, there are no duplicate files.


cheers.gif


--------------------
NaughtyPE - The Multimedia PE!
Requirements: WinBuilder080, XPSP2/W2k3SP1 source, Pentium CPU, 128MB RAM (256MB to use video players)
+Quote Post
post May 20 2010, 11:17 PM
Post #10
Galapo
Platinum Member   ******
Group: .script developer

  Joined: 16-July 06
Posts: 3,673
Thank(s): 363


Australia


Under a PE there can indeed be duplicate files depending upon apps etc. I'll let you discover this for yourself.

Regarding using a new compression algorithm in WIM images, one important issue you'll need to confront is getting such an image mounted to the file system as current WIM images do. Sure, compression with 7z will be smaller, but will there be a performance hit with read-write access vis-a-vis the current algorithm? With 7z I strongly suspect there would be as its designed for compression, not as a potential container for a booting PE.

Regards,
Galapo.


--------------------
galapo.boot-land.net
------
Archive of LiveXP recommended project may be found here.
------
Recommended steps to build LiveXP:
1) Download suitable WinBuilder.exe from here and run it;
2) Update through the Download Center by clicking the 'Download' button; and
3) Then build LiveXP by pressing the 'Play' button.
+Quote Post

2 Pages V   1 2 >
Reply to this topic
1 User(s) are reading this topic ()



Collapse

  Topic Replies Topic Starter Views Last Action
No New Posts Topic has attachmentsWimSupport
Support wim image
0 nikzzzz 733 16th December 2009 - 09:18 AM
Last post by: nikzzzz







  
Display Mode: Standard · Switch to: Linear+ · Switch to: Outline

Track this topic · Email this topic · Print this topic · Subscribe to this forum