You are not logged in.
Pages: 1
Topic closed
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.
Last edited by baronmax (2013-07-26 13:57:04)
Intel 980x| 24GB RAM| Arch + Cinnamon/i3
Intel 2600K| 8GB RAM| Arch + Awesome/XFCE
Intel Q740| 6GB RAM| Arch + XFCE/Cinnamon
AMD Phenom x6 1090T| Ubuntu/Winblowz (gaming)
Offline
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
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!
Intel 980x| 24GB RAM| Arch + Cinnamon/i3
Intel 2600K| 8GB RAM| Arch + Awesome/XFCE
Intel Q740| 6GB RAM| Arch + XFCE/Cinnamon
AMD Phenom x6 1090T| Ubuntu/Winblowz (gaming)
Offline
Just stumbled over this little genious energy and time saver...
i guess it would be good to add an option to makepkg to skip compression on a commandline option that way tools like yaourt could invoke it when installing packets locally and would not need to run the full release style compression...
EDIT:
or the other way around make not compression default and add an option to invoke compression for releases ... anyway most devs read the wiki anyway but on the other hand non dev will probably just use defaults and waste cpu by not finding this...
Last edited by boscowitch (2016-11-30 23:35:28)
Offline
Taking this opportunity to close this old thread.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed