From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id eACKICauumSwoQAASxT56A (envelope-from ) for ; Fri, 21 Jul 2023 18:11:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AM2GHyauumRG4AAAG6o9tA (envelope-from ) for ; Fri, 21 Jul 2023 18:11:18 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 37C983B7A2 for ; Fri, 21 Jul 2023 18:11:18 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=e+IaHCIz; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689955878; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ZR1MyZ12TZs97JqOsYeiYAhp6u7CXdNrOyFq4UTYyzY=; b=qmk1T2cwE9JO/y+zTBS9At8wP8kwTIPjCLn51RRl4qqgZ43+HvKewB0G3EvsLaBpSQoU4g o2l+hanxbatKBd44GxCo1Se63ezlj42ZDq4O3kgKStZFVon8rBB6dNWksBR+2wivzjBvNu Xyp48C2zEvQuiih2ucKMOoXX6mCCaoq4LgxQnXmh0B8wzvKpf+2bcd2/xTdftEqk6bka9Y W4ZfNktAwgQnN0zI62wO6DyixLk3gsksT5OtY/1zA87k9eJnxSe244sNvZArDXPm9/reD2 vqbHIqOKihOOP4iSrKaRetKXkHvRCq7eYGEUxyyyJJmgjDyg6NjM2hMarIpmAQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689955878; a=rsa-sha256; cv=none; b=NDvRdzBMK9ta9Qi8G7Vvv66p0EEyyBBQAoCnzcBJMYUjMvBV8fwSJl1W0QNYyofTSgLslt snJ8MPHMVS3SiFb2s0hfA6u8X9TDzUzKjkHPM2DTN7JFAdqvi0K8aPBV9+WMbm/5+vZofJ bs0zx77uE3y9Tsq7e67bWGELBBjiSo0k37KuezAUOZUCtRO34MxEJHExYuv3CPYKE1Vo9U /XWcRjlP0pZT/542Y5H0GsW11J+pgB1UPSCpblCJ67qmtVyo9trnIIcrrzkkWeafMG53ST g/MvHLYlvcdu2vIYYibNO3qwTnu9fFCe8210DD70Aclyvr9M5KlThy4Kn/05rw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=e+IaHCIz; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMsid-0005xa-IL; Fri, 21 Jul 2023 12:11:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMsid-0005xR-2C for bug-guix@gnu.org; Fri, 21 Jul 2023 12:11:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qMsic-000876-19 for bug-guix@gnu.org; Fri, 21 Jul 2023 12:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMsib-0006Ot-Sp for bug-guix@gnu.org; Fri, 21 Jul 2023 12:11:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64772: TeXlive (specifically LuaLaTeX) has become terribly slow Resent-From: Malte Frank Gerdes Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 21 Jul 2023 16:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64772 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 64772@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168995583424557 (code B ref -1); Fri, 21 Jul 2023 16:11:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Jul 2023 16:10:34 +0000 Received: from localhost ([127.0.0.1]:34660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMsi9-0006O0-UE for submit@debbugs.gnu.org; Fri, 21 Jul 2023 12:10:34 -0400 Received: from lists.gnu.org ([2001:470:142::17]:44970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMsi8-0006Ni-5O for submit@debbugs.gnu.org; Fri, 21 Jul 2023 12:10:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMshv-0005cQ-O1 for bug-guix@gnu.org; Fri, 21 Jul 2023 12:10:20 -0400 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qMsht-0007mt-EU for bug-guix@gnu.org; Fri, 21 Jul 2023 12:10:19 -0400 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-4fa16c6a85cso3388954e87.3 for ; Fri, 21 Jul 2023 09:10:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689955807; x=1690560607; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:user-agent:from:to:cc:subject:date:message-id:reply-to; bh=ZR1MyZ12TZs97JqOsYeiYAhp6u7CXdNrOyFq4UTYyzY=; b=e+IaHCIzGSRlpgicIMEPuXf3dJ6fCwZnng2j4aBFZiXmW3bDgBrokfchcpaI80dBJ7 08FxCYkWB8H0qFt3EqbQ4p6zgpxa0GquWZyjUDkxoxl2xZaiK3z5rj+0pONBx9cBItLk WM6ZKDEkqVO2VGcIH6m8Q7/zvy4TBeuwDqS5wxYlnE3PVCcWgiqTouJvB/HCgyZSvpJr nwCz1kieqFaLgzPIfi+63MO6gf2SgDy0J8MTCQtiff8ycJfPyWnopAVgosuNWvV/M817 umPwStFQMF+RYykyw7INLtq/MkQlUAutrudMklJRLNHNIHD3Ddpiq4hAb8UaBpAigImS u7Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689955807; x=1690560607; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:user-agent:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ZR1MyZ12TZs97JqOsYeiYAhp6u7CXdNrOyFq4UTYyzY=; b=aDLA1Rmj2hs7PtvLwEiP9jMgolcI620Pv3jCW34DfFf3k+nYvsF6VMLP0NuDJ8IUvW hqwd/hb5+e6VVGgAgwg1BcxjP1K0//oN4zl9HLvT4HJ3wPv0m0jpm0rgQ2X49s5gooqp 22hzD+wN24FX9xs2WoEPIyg8MPoFj0USkGuwBI8Pg5R322rDtyWaDaiQh4iUDXVDaSME QiLkJal6TOYGZL5w5xv4GiSoaQ6zUHPIXQzhd9Xl8Tnv22cdj7yOjAq+nCu6DykNi3cp sxVyMTy5O5hSheEeRBiR76VRHFkcF3rOkPZcvIXnRt6PI/ZX/ReF00WfK967rgh5z8W5 RNTw== X-Gm-Message-State: ABy/qLZG0EVdVynoFpOEltVnhqpw/rjzOxo/alEHBIdN1UVxsrWm5c8n Zz7cYnLu+h8mHtfID1qFgwssRHlCG/k= X-Google-Smtp-Source: APBJJlFilaVFTuu0RrnVnAaLbow80gxoiCZKgHATn8Nz5cSCF6F5Bu8zobIc0UEHdPsNjBawBH5Yhw== X-Received: by 2002:a19:770b:0:b0:4fb:5dd5:715c with SMTP id s11-20020a19770b000000b004fb5dd5715cmr1502959lfc.4.1689955806410; Fri, 21 Jul 2023 09:10:06 -0700 (PDT) Received: from Methadon ([2a02:908:d13:e3e0:6a54:5aff:fe66:a805]) by smtp.gmail.com with ESMTPSA id q21-20020a1ce915000000b003fba6709c68sm3618414wmc.47.2023.07.21.09.10.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 09:10:05 -0700 (PDT) User-agent: mu4e 1.10.5; emacs 29.0.92 From: Malte Frank Gerdes Date: Fri, 21 Jul 2023 17:54:05 +0200 Message-ID: <86zg3pkzz6.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::12d; envelope-from=malte.f.gerdes@gmail.com; helo=mail-lf1-x12d.google.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_BTC_ID=0.101, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.56 X-Spam-Score: -3.56 X-Migadu-Queue-Id: 37C983B7A2 X-Migadu-Scanner: mx1.migadu.com X-TUID: fHbmwVcCsivd Hi, i'm building a small document with LuaLaTeX, for that i have use the following manifest --8<---------------cut here---------------start------------->8--- (specifications->manifest (list "texlive-amsmath" "texlive-todonotes" "texlive-xpatch" "texlive-collection-luatex" "texlive-collection-basic" "texlive-latexmk" "texlive-scheme-basic" "texlive-biber" "texlive-booktabs" "texlive-microtype" "texlive-koma-script" "texlive-lipsum" "texlive-pgfplots" "texlive-biblatex")) --8<---------------cut here---------------end--------------->8--- This command takes quite a long time --8<---------------cut here---------------start------------->8--- guix time-machine --commit=3D21b718f4d6c3ded8ef50d12f6e9ae6474f74620f \ shell --manifest=3Dguix.scm -- latexmk -lualatex -auxdir=3D.tex-cach= e main --8<---------------cut here---------------end--------------->8--- To be precise: --8<---------------cut here---------------start------------->8--- Command being timed: "guix shell -m guix.scm -- latexmk -lualatex -= auxdir=3D.tex-cache main" User time (seconds): 14.60 System time (seconds): 87.58 Percent of CPU this job got: 99% Elapsed (wall clock) time (h:mm:ss or m:ss): 1:43.18 Average shared text size (kbytes): 0 Average unshared data size (kbytes): 0 Average stack size (kbytes): 0 Average total size (kbytes): 0 Maximum resident set size (kbytes): 179368 Average resident set size (kbytes): 0 Major (requiring I/O) page faults: 0 Minor (reclaiming a frame) page faults: 118914 Voluntary context switches: 2146 Involuntary context switches: 3693 Swaps: 0 File system inputs: 462280 File system outputs: 6584 Socket messages sent: 0 Socket messages received: 0 Signals delivered: 0 Page size (bytes): 4096 Exit status: 0 --8<---------------cut here---------------end--------------->8--- Running `latexmk -lualatex -auxdir=3D.tex-cache main` takes under 10 seconds. These times are for fresh builds, i.e. the intermediate files have been removed. Still even recompilation is many times slower with guix provided LuaLaTeX than it is on Arch. I should also note, that using the modular TeX packages actually helps here, with the full TeXlive package the compilation time is nearly twice as much. Another thing i noticed is, that a directory with the following structure gets created: --8<---------------cut here---------------start------------->8--- { =E2=94=94=E2=94=80=E2=94=80 gnu =E2=94=94=E2=94=80=E2=94=80 store =E2=94=94=E2=94=80=E2=94=80 3wsicprhgxhcncaf5mv26wwbhhh8p6yj-profile =E2=94=94=E2=94=80=E2=94=80 share =E2=94=94=E2=94=80=E2=94=80 texmf-dist =E2=94=94=E2=94=80=E2=94=80 luatex-cache =E2=94=94=E2=94=80=E2=94=80 generic =E2=94=9C=E2=94=80=E2=94=80 fonts =E2=94=82=C2=A0=C2=A0 =E2=94=94=E2=94=80=E2=94= =80 otl =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2= =94=80 lmroman10-italic.lua =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2= =94=80 lmroman10-italic.luc =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2= =94=80 lmroman10-regular.lua =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2= =94=80 lmroman10-regular.luc =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2= =94=80 lmroman12-regular.lua =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2= =94=80 lmroman12-regular.luc =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2= =94=80 lmroman17-regular.lua =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2= =94=80 lmroman17-regular.luc =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2= =94=80 lmromanslant10-regular.lua =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2= =94=80 lmromanslant10-regular.luc =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2= =94=80 lmsans10-bold.lua =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2= =94=80 lmsans10-bold.luc =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2= =94=80 lmsans10-regular.lua =E2=94=82=C2=A0=C2=A0 =E2=94=94=E2=94=80=E2= =94=80 lmsans10-regular.luc =E2=94=94=E2=94=80=E2=94=80 names =E2=94=9C=E2=94=80=E2=94=80 luaotfload-look= up-cache.lua =E2=94=9C=E2=94=80=E2=94=80 luaotfload-look= up-cache.luc =E2=94=9C=E2=94=80=E2=94=80 luaotfload-name= s.lua.gz =E2=94=94=E2=94=80=E2=94=80 luaotfload-name= s.luc.gz 11 directories, 18 files --8<---------------cut here---------------end--------------->8--- This is obviously for caching purposes, but (seemingly random) having a folder named '{' in your working directory certainly is confusing. mfg