From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id eIE8H7u8KmXrZQEAauVa8A:P1 (envelope-from ) for ; Sat, 14 Oct 2023 18:07:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eIE8H7u8KmXrZQEAauVa8A (envelope-from ) for ; Sat, 14 Oct 2023 18:07:23 +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 C0C5D51F7F for ; Sat, 14 Oct 2023 18:07:05 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=X3QUc+jI; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697299626; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=hk47xffTwhRg1gyjd8IQ4RroSi/vtYySJxaXnEUuHFk=; b=UqS29WhI0C7vnYfkK/hTovWSVDHlDq8IBatvKIccq9fpAevYT+odw0FhuYmQ4v6oNf8kVS nRGDqE4Cs15N8dmwP9dzINwCpeVN1448pyjaYXHwooEEl467bAoKm9DeSTiTLfGAuKkkg9 KibtPpRUaEtggG933WY2p1qbbI9sA+NTP6qH9Lgl0iIrx9MI+Z72hh/it+E8pjUOVW/z3o WYzJ+zjMbXvnSAsmeA06iGIg6+NGtqnFe3ZBzxRN0Toq+EhS0EKK7RYvd2AnoTJZ5CAK/V H3EkAE/9xQgK+7F196S7GODL4ZUUdLOoEjge6WALubpjRaUWvRqFQqIrLAA1kw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697299626; a=rsa-sha256; cv=none; b=jo15yZBrID+48YVqfUvN1/JdipUtppkdHgffCi8PH6155Eg0VcN34urhQDyDlioO7Gf2WX DP1gEiA37G2eVM5st4fMQlTxbqqz7HO/tPBmrtQyTbIOR7qJk63BvKZIu4TnnvEbK/2LA4 7u/vnx6LT9nVLFnzESkXF0unM7NDQ6ER1jrA+gHCBQ3z7YviEj57XTO3eakKv69OsI9iSA KAYu04y0WUaVrx3O610ebYmA1iiBh4kDRik2sgeMeeungA24VrWFfbumfodYce8T7SypgD LPMlfERvGiNxyu7wCr/OvSOAuMxXZlN+YOShfi0qqyriVeCASvLvW8RrvYA++Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=X3QUc+jI; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qrhA0-0006dh-SE; Sat, 14 Oct 2023 12:06:40 -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 1qrh9z-0006dC-75 for guix-devel@gnu.org; Sat, 14 Oct 2023 12:06:39 -0400 Received: from mail-qk1-x72b.google.com ([2607:f8b0:4864:20::72b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qrh9x-0002Bl-S5 for guix-devel@gnu.org; Sat, 14 Oct 2023 12:06:38 -0400 Received: by mail-qk1-x72b.google.com with SMTP id af79cd13be357-7741c2e76a3so197887785a.1 for ; Sat, 14 Oct 2023 09:06:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697299596; x=1697904396; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hk47xffTwhRg1gyjd8IQ4RroSi/vtYySJxaXnEUuHFk=; b=X3QUc+jIlC6p50wUlB1dKGXV2P3bDwoL0kGG8d7mUDmJarXNLqoeyYoecQ2hNt1l3n N785CYu50icz/6Gtjyka7GurZkrvNUL8ianQXkX4FvOITZczKYJApSaPhIbxq4Tlt059 qdWtbOf7ZxRj4gEOmus3G0O0T6z+DBc7H30gdELbUAWMHNZ9hhBCb37CwiMUMIKlBDFF JAT4Ur+I4R7tqOmessEeiF5p2bj8ZRlVvOcY8VHp/rbUVngvtKziT/0LUZp5IC0LbCgB 5V4Y/7bQyKGQtQc38Dv2bCEJmR00qaJW3qZtFrxVj7/OdSGtOpd62LWv3t3ATYcVZKqn 5XmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697299596; x=1697904396; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=hk47xffTwhRg1gyjd8IQ4RroSi/vtYySJxaXnEUuHFk=; b=mmDi5Er+S/U0GUUaYkkb6XhlRRuLoyxMbD+zgpNorcPztNneTnvMgneD/zwwi4+XJ1 GJbkXE/MpA5TJXU0Pf7ND4CWg4KxIeQj1Pb2KBo+3IF92gy7FRjpXfj6zLvPRFLEAnp8 YBy+zo/eEN3wGBUy2Inq15r0k4hkSFhssda2DUXzv4G9YS2YNZ9B2WqYKlQGBHiRVzN8 1U5adPb+bV7aXECowAMRyTU/XUHxj6nK1Fhqq+yp2xethg7UKhtxxfmwZ4E/oYIpyS0m XgxQW8jgjxg4YtCsrxso2ALihr1b/9lLxDRYUaXjbB6dVXBe0SX5X07P9LkWPFGWIQ5j aJCw== X-Gm-Message-State: AOJu0YzPVIP1u5kFl5tZZAYP+cWsrENCvqQJ9UzR6VVGjjLm1CpG+mmF tVnjw3zMaFc65CM3vXY3iUqTUlgLvWlV1A== X-Google-Smtp-Source: AGHT+IGjt9qymcanfvJOH1ibrUyFX7BsAu2ajCfzEJ4zmPSmR49KweH+kiND5luvCRa2YeLV+tV4xw== X-Received: by 2002:a0c:f851:0:b0:656:3b4c:b98b with SMTP id g17-20020a0cf851000000b006563b4cb98bmr31687199qvo.11.1697299596206; Sat, 14 Oct 2023 09:06:36 -0700 (PDT) Received: from hurd (dsl-156-181.b2b2c.ca. [66.158.156.181]) by smtp.gmail.com with ESMTPSA id s7-20020ad44387000000b006516780a0a5sm1761641qvr.117.2023.10.14.09.06.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Oct 2023 09:06:35 -0700 (PDT) From: Maxim Cournoyer To: Emmanuel Beffara Cc: Nicolas Goaziou , guix-devel Subject: Re: performance issue with TeX Live In-Reply-To: <20231009111109.GH1344@beffara.org> (Emmanuel Beffara's message of "Mon, 9 Oct 2023 11:11:09 +0200") References: <20230912175410.GC1121@beffara.org> <87v8cetfgd.fsf@nicolasgoaziou.fr> <20231009111109.GH1344@beffara.org> Date: Sat, 14 Oct 2023 12:06:34 -0400 Message-ID: <878r852np1.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::72b; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x72b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -9.48 X-Migadu-Queue-Id: C0C5D51F7F X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -9.48 X-TUID: QJwAtLTxXxII Hi, Emmanuel Beffara writes: > Hello, > > De Nicolas Goaziou le 13/09/2023 =C3=A0 14:39: >> Emmanuel Beffara writes: >>=20 >> > I am facing a severe performance issue with TeX Live: compilation of a= ny >> > document is an order of magnitude slower with a Guix installed system = as >> > compared to a manual installation. Is anyone confronted to this phenom= enon, or >> > is there a way to fix this ? >>=20 >> I also experienced a noticeable slowdown; I don't know how to fix it yet. > [...] >> A ls-R file is generated during profile creation (see >> `texlive-font-maps' function in "guix/profiles.scm") but it seems it is >> not read. >>=20 >> It may be interesting to compare location and contents of the ls-R files >> in both installations. > > I tried to explore this but I see no reason why the ls-R files would be > ignored and I don't know how to explore this further. I do want to contri= bute > to a solution, because right now texlive is practically unusable in Guix. Have you tried tracing execution with strace? Maybe try 'strace -e file -f -s800 $texlive-cmd' and confirm whether the ls-R file gets used; if it does, you could then introspect said file to see if it provides what is being looked up or not. --=20 Thanks, Maxim