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 ms8.migadu.com with LMTPS id cDrlBiMrLWXP7AAAG6o9tA:P1 (envelope-from ) for ; Mon, 16 Oct 2023 14:22:59 +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 cDrlBiMrLWXP7AAAG6o9tA (envelope-from ) for ; Mon, 16 Oct 2023 14:22:59 +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 545523DC7B for ; Mon, 16 Oct 2023 14:22:58 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=beffara.org header.s=gm1 header.b=JbC6MEdi; dmarc=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697458979; a=rsa-sha256; cv=none; b=QyIHprOsZ2lSAoRJ5CKNlUkgnrbnENhdedrVaIFImjMLKaMC2hHuWR7C6l3JDeg9wxgaQq G0/WaIcLFbWuySWsK19pwgGkgiXgwtx37WwFe6hSIWmZZXwYWuvxyE9xjpdWsDVH+jq7y/ 6tv5q7CmBQmsZoiyDic8CsosimXC0B4TnUX1kgql7xlh0C2JVfvjDffjfu63KaqfI5m1CU 3N3PGsPR+v3LwOY4nrlqFSeN13QYzEkUoWlWlxTOidWJs8hJlTGmIHqvfqrjl1r7nPtY45 YkB31vzj4XCVr2Rl0hDEEaUUkj+tbBphHcBqh68WX3pdzr1Eowcp+H/oKFZnRQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=beffara.org header.s=gm1 header.b=JbC6MEdi; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697458979; 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=Yahx4RlyiBoWoNnAaWrtuV+fOWpw4wdnPdhTwDyZIR8=; b=LiNjrEOdAvjX2Xa1agw3h0EA76dwd6L/ncz1O6376EA97raxYr3ykulKmWBnkXyK/EmrH0 zanD2Wj3F81fJCeFQXVbSC0isg8IsiGzXD38Uf7Mi79HvBt1KKHN6iysOKcINzTB8QUMMd ftBv9jyE23hLUhHfFYdCavnbryX21YwsSOyjTMFBFBKGV8yETZ2sy5hcXKd1+OUrptPRcZ nFnS1xmDMCZSnAyUYc6qo2j6LxOzsy7LnMQb5zxNpkXAiJ1ReoiMQWyz2FBgUqMK+lLs3n MA91kFm6xa5GXweoZX1hKRH88xf+uGP5dXq6rUGROxVpxFLHz0xHzQsLSmdPyA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qsMbv-0006LX-7Q; Mon, 16 Oct 2023 08:22:15 -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 1qsMbt-0006KQ-PJ for guix-devel@gnu.org; Mon, 16 Oct 2023 08:22:13 -0400 Received: from relay7-d.mail.gandi.net ([2001:4b98:dc4:8::227]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qsMbr-0002wc-CA for guix-devel@gnu.org; Mon, 16 Oct 2023 08:22:13 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 2295920011; Mon, 16 Oct 2023 12:22:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beffara.org; s=gm1; t=1697458924; h=from:from: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; bh=Yahx4RlyiBoWoNnAaWrtuV+fOWpw4wdnPdhTwDyZIR8=; b=JbC6MEdiQIRV1MQ/10zTIvHVyj707dW3qZmZlSzp5WfGXOff2OMLyJhgXVawwGl3Tn7CAo FMxIkgo6y7W4sNqfXnHbewWrwXH4pjXFL/DhBJIz700+goQzNt3PmHKdFInK/yYr9E+gKG BrQstzbzdnVcK+IoODPOANqahMhBj1NSTFgiJ85lUn5mKElDHg83H7PcNcjQZ0A9uGDlme 4JLMhRfu9iEle+Nv0J4DsBB1oy9HPSsSBa3+4PeUyOlGjNudB0s4AHxNaNJwtjcJwJANWj tEO2+GqwtMlzsnGXP9X871ZdZfNrtpro5Ikb7nZm/xzktKq5A+7XSDa9t9ELkw== Date: Mon, 16 Oct 2023 14:22:02 +0200 Message-ID: <20231016142202.GH1294@beffara.org> From: Emmanuel Beffara To: Maxim Cournoyer Cc: Nicolas Goaziou , guix-devel Subject: Re: performance issue with TeX Live In-Reply-To: <878r852np1.fsf@gmail.com> References: <20230912175410.GC1121@beffara.org> <87v8cetfgd.fsf@nicolasgoaziou.fr> <20231009111109.GH1344@beffara.org> <878r852np1.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-GND-Sasl: manu@beffara.org Received-SPF: none client-ip=2001:4b98:dc4:8::227; envelope-from=manu@beffara.org; helo=relay7-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_NONE=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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -9.11 X-Spam-Score: -9.11 X-Migadu-Queue-Id: 545523DC7B X-TUID: 4dG3L1InAWmx Hello, De Maxim Cournoyer le 14/10/2023 à 18:06: > > 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 contribute > > 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. I did try strace, that is how I observed that apparently all installed files are stated (with newfstatat) several times in each compilation. The ls-R file is actually read: $ grep /ls-R log 28308 access("/run/current-system/profile/share/texmf-dist/../texmf-dist/ls-R", R_OK) = 0 28308 newfstatat(AT_FDCWD, "/run/current-system/profile/share/texmf-dist/../texmf-dist/ls-R", {st_mode=S_IFREG|0444, st_size=4053996, ...}, 0) = 0 28308 openat(AT_FDCWD, "/run/current-system/profile/share/texmf-dist/../texmf-dist/ls-R", O_RDONLY) = 3 but aparently its contents are not taken into account. -- Emmanuel