You are not logged in.

#1 2013-07-26 13:47:40

baronmax
Member
From: Missouri, USA
Registered: 2012-04-22
Posts: 35

[SOLVED] "compressing package" - Any way to make multithreaded?

Hello everyone.  I was wondering if there was any way to make yaourt/pacaur use multiple threads while doing the final compression of the packages toward the end of installation?  On larger packages like the ATI driver, for example, it can take quite a bit of time to do that final compression before pacman takes over and installs the application. 

I noticed that Graysky did a comparison last year between xz and lrz, showing a pretty dramatic speedup when using lrz, and of course lrz has a multi-threaded option built in, whereas xz does not (or at least not that I can find, anyway).  So is this an issue with pacman, ultimately, or with AUR helpers?  And is there any way to speed-up the process of compression?

Thanks in advance and have a great weekend.  smile

Last edited by baronmax (2013-07-26 13:57:04)


Intel 980x| 6GB RAM| Arch + XFCE
Intel 2600K| 8GB RAM| Arch + Awesome/XFCE
Intel Q740| 6GB RAM| Arch + XFCE/Cinnamon
AMD Phenom x6 1090T| Ubuntu/Winblowz (gaming)

Offline

#2 2013-07-26 13:54:52

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,329
Website

Re: [SOLVED] "compressing package" - Any way to make multithreaded?

Not what you are asking for, but even better...   If the package is just going to be installed on your system, there is no need to compress it.  It will just be decompressed again anyway.

Edit makepkg.conf and change  PKGEXT='.pkg.tar.xz'  to PKGEXT='.pkg.tar'

Offline

#3 2013-07-26 13:56:34

baronmax
Member
From: Missouri, USA
Registered: 2012-04-22
Posts: 35

Re: [SOLVED] "compressing package" - Any way to make multithreaded?

Allan wrote:

Not what you are asking for, but even better...   If the package is just going to be installed on your system, there is no need to compress it.  It will just be decompressed again anyway.

Edit makepkg.conf and change  PKGEXT='.pkg.tar.xz'  to PKGEXT='.pkg.tar'

Awesome!  That will work wonderfully.  Thank you!  smile


Intel 980x| 6GB RAM| Arch + XFCE
Intel 2600K| 8GB RAM| Arch + Awesome/XFCE
Intel Q740| 6GB RAM| Arch + XFCE/Cinnamon
AMD Phenom x6 1090T| Ubuntu/Winblowz (gaming)

Offline

Board footer

Powered by FluxBB