convert tgz txz to xzm: problem with bigger files

Non release banter
User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

convert tgz txz to xzm: problem with bigger files

Post#1 by francois » 21 Aug 2012, 01:33

I often have problem to convert bigger files with the contextual right click to convert tgz txz to xzm.

As an example, my system will never make it up with a file like:
qt-4.7.0_7abde40-i486-3.txz (53.9 MB)

Do you have any advice to deal with the compression of bigger files?
Prendre son temps, profiter de celui qui passe.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: convert tgz txz to xzm: problem with bigger files

Post#2 by brokenman » 21 Aug 2012, 02:48

Please move manually through the process to isolate where the bottleneck is.

Code: Select all

mkdir /tmp/unpack
installpkg -root qt-4.7.0_7abde40-i486-3.txz /tmp/unpack
time mksquashfs -noappend -comp gzip /tmp/unpack /tmp/module.gz
time mksquashfs -noappend /tmp/unpack /tmp/module.xzm
Probably obvious for you Francois but ... make sure you are not creating the resulting module in the same place that you are making the module from. E.g dir2xzm /tmp/unpack /tmp/unpack/module.xzm
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: convert tgz txz to xzm: problem with bigger files

Post#3 by francois » 23 Aug 2012, 12:02

Thanks brokenman.

This was not obvious for me. I imagine that smaller files are less affected by the process. Is this the case?
Prendre son temps, profiter de celui qui passe.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: convert tgz txz to xzm: problem with bigger files

Post#4 by brokenman » 24 Aug 2012, 13:09

Yes smaller files will process faster. In the above example however (module in same place as target) a module is being created that continually needs to be updated with it's own info. This sets up a loop that can take forever to finish.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
wread
Module Guard
Module Guard
Posts: 1255
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v5.0-kde-64 bits
Location: Santo Domingo
Contact:

Re: convert tgz txz to xzm: problem with bigger files

Post#5 by wread » 26 Aug 2012, 22:03

Make sure you have enough ram in case of big files!

Cheers :)
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

Post Reply