aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ratpoison.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-03-14 15:05:30 +0100
committerLudovic Courtès <ludo@gnu.org>2021-03-21 23:41:01 +0100
commit9da5ec7099b992a8969a17627548cd341c01bd90 (patch)
tree82fa6307254029d42c3af67878c5f89dbdbc7164 /gnu/packages/ratpoison.scm
parent5f9b28b231e17749d14a1b95ae9cad68d7315a1e (diff)
downloadguix-9da5ec7099b992a8969a17627548cd341c01bd90.tar.gz
guix-9da5ec7099b992a8969a17627548cd341c01bd90.zip
substitute: Choose compression method based on past CPU usage.
This stems from the observation that substitute download can be CPU-bound when high-speed networks are in use: https://lists.gnu.org/archive/html/guix-devel/2020-12/msg00177.html * guix/narinfo.scm (decompresses-faster?): New procedure. (narinfo-best-uri): Add #:fast-decompression?. * guix/scripts/substitute.scm (%prefer-fast-decompression?): New variable. (call-with-cpu-usage-monitoring): New procedure. (with-cpu-usage-monitoring): New macro. (display-narinfo-data, process-substitution): Pass #:fast-decompression? to 'narinfo-best-uri'. (process-substitution): Wrap 'restore-file' call in 'with-cpu-usage-monitoring'. Set '%prefer-fast-decompression?'.
Diffstat (limited to 'gnu/packages/ratpoison.scm')
0 files changed, 0 insertions, 0 deletions
Likewise. * gnu/packages/wm.scm: Likewise. * gnu/packages/xdisorg.scm: Likewise. * gnu/packages/xfce.scm: Likewise. * gnu/packages/xiph.scm: Likewise. * gnu/packages/xml.scm: Likewise. * gnu/packages/xorg.scm: Likewise. * gnu/packages/zip.scm: Likewise. Alex Kost 2016-02-19gnu: cpio: Add fix for CVE-2016-2037....* gnu/packages/patches/cpio-CVE-2016-2037.patch: New file. * gnu-system.am (dist_patch_DATA): Add it. * gnu/packages/cpio.scm (cpio)[source]: Add patch. Leo Famulari