From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 oOMYBMg+LWWTlwAAG6o9tA:P1 (envelope-from ) for ; Mon, 16 Oct 2023 15:46:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oOMYBMg+LWWTlwAAG6o9tA (envelope-from ) for ; Mon, 16 Oct 2023 15:46:48 +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 9015A556D3 for ; Mon, 16 Oct 2023 15:46:47 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="MrU/YyT8"; 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=1697464008; 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=uB4x33fW5pKrenCLbzbaINj6X6TKPCyD75+Vi8kVBn4=; b=ANnvseMtV9UtqawtofjhvvFRGpL3z+0fK2QLj7n0EXJVR1IVHgkcb6pH05W5g/aaYK/OdG V1pS5yz6CeRiA746wwhN+bwJpbm3+bWuCdswzLGJabvahPHGkggaM6i3076uBl5oT8zjHO psCU9R1tReS6x8hpXLu7F0Q+tSbji3PvoOPZFLVNcfsgUQE4fg+2aRZtnrDJGMxmV85vAD ZtbS8w59OiD013sUW3PsBTxYBG05fg2msYNWee/wf//sP+7yZCsx8T7OHqPITkN9Ogkp/B qI21FVpYf8UiFazsN2s/QvJcd5CUALBU5NqjF3KuZ4yDkNic7CcNpVEcOUj/9Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697464008; a=rsa-sha256; cv=none; b=WAN8DcUzxfuxhGxnYph+cV0CZLvoEoqTKFZF1KrNZH6MtPelBlduS6nJyFswd0T9X2pGL/ LCGkpVu+KSv+CcK2ni8v+HN8/O6Wu/fHoZXnNXWgC0kfLjfhCzVVbrwl6uEXvyQeUIpmJp uANxIZSPdgEeIymq99hWIhevysR45jiECj3HmYpY9MP1t1wjBDNgYkRTB10eCMHkTZkQYP N6LF3J0KaWUmsBDDhNTw33OKx2EwkWUeujbVOdIVt5BCcJ4I4b/zSe+PCGLp7NBA7bcvUM EX3JJhVzaNLNFaF0kROVjbQIodBewauX5SvyPeFGI5RSA0/UX4mmvOhhD2KW8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="MrU/YyT8"; 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 1qsNvJ-0006GF-Bd; Mon, 16 Oct 2023 09:46:21 -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 1qsNvC-0006FQ-Ok for guix-devel@gnu.org; Mon, 16 Oct 2023 09:46:15 -0400 Received: from mail-vk1-xa32.google.com ([2607:f8b0:4864:20::a32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qsNvA-0004S5-Lq for guix-devel@gnu.org; Mon, 16 Oct 2023 09:46:14 -0400 Received: by mail-vk1-xa32.google.com with SMTP id 71dfb90a1353d-49d14708479so1870810e0c.2 for ; Mon, 16 Oct 2023 06:46:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697463971; x=1698068771; 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=uB4x33fW5pKrenCLbzbaINj6X6TKPCyD75+Vi8kVBn4=; b=MrU/YyT8jmQnG+6xpHYytM/8xaMGr/dbU4/GiLRE6F9iFHjbjvOu2kmbG8CwYGs/DJ 2mVtVTdVnrvhiH+t+VdFiECSMio5YjwhwZv4zwENi51IE998xuQ6a1rw7JpWULBp24Jy rVIrhJP3OYz5nYBxCtvD+EZlwt7LJBF1z5dycezTZYdeHsxCEVM3B0/xVIwghM8l1xDQ GQ/aJIcFdOdK8poEimVdY62oTGhsB8Ac4OvPwv3uVfnN2DSgsCEdCmMStpsTtfeWvkXo oUYGw1baq8oOjYNfhNbVttQRUp+sZZLAJIfVlNMNDM1lxtH/g8mSRmCoQrIJyip9aUXK TRhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697463971; x=1698068771; 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=uB4x33fW5pKrenCLbzbaINj6X6TKPCyD75+Vi8kVBn4=; b=mrtGj8xEXCR+sFf2ZvZOMKKMAEK6UUQB8qJq6hVCvPRgULNBnVCT7PZUksySwu3SL7 hBT9jCiyTtgm/SD9GQFfwDY85k0pZhNKusJiYOpLahxtyUlN4qThl+M/42LLrMmgzoxs F/pmbuc1JaES4k06TN/szQEL2s29jA08UbK3PTgKW2LBbamHbM9lfkNloPkJB5A+hPVE 7GdA7BHTwx6MrxwNaCK4h5V+uP+rES8UABBf8paCUKXlNggyDAARUsYbyKvuVrBrLRLl q/PvYS6+SteHhjF+gtw6jmlM0htDW1VZzDHg+7rn0I99bhNwR+gdIvWQVDhDt5xMhEtY MFKA== X-Gm-Message-State: AOJu0YxlW/1kSdNodPTsHYGvYEIkqUEyPI1tl1t7Dk8+N9nLb5X6uL2n UCc57BmtxuiXO+CXe0Tru5+KTzDmQi8= X-Google-Smtp-Source: AGHT+IFAu1pNtSw17o0HN6b1DtWNyueOFHxLka1yVuUouo7AxUlnjnDVce2oNhzorNNuja2k6zEvdw== X-Received: by 2002:a05:6122:1790:b0:49a:c339:11b9 with SMTP id o16-20020a056122179000b0049ac33911b9mr32653526vkf.11.1697463970747; Mon, 16 Oct 2023 06:46:10 -0700 (PDT) Received: from hurd (dsl-10-149-74.b2b2c.ca. [72.10.149.74]) by smtp.gmail.com with ESMTPSA id j20-20020ac84054000000b00417fa7d33dbsm3019214qtl.93.2023.10.16.06.46.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 06:46:09 -0700 (PDT) From: Maxim Cournoyer To: Emmanuel Beffara Cc: Nicolas Goaziou , guix-devel Subject: Re: performance issue with TeX Live In-Reply-To: <20231016142202.GH1294@beffara.org> (Emmanuel Beffara's message of "Mon, 16 Oct 2023 14:22:02 +0200") References: <20230912175410.GC1121@beffara.org> <87v8cetfgd.fsf@nicolasgoaziou.fr> <20231009111109.GH1344@beffara.org> <878r852np1.fsf@gmail.com> <20231016142202.GH1294@beffara.org> Date: Mon, 16 Oct 2023 09:46:08 -0400 Message-ID: <87o7gyznmn.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::a32; envelope-from=maxim.cournoyer@gmail.com; helo=mail-vk1-xa32.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: 9015A556D3 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -9.48 X-TUID: 8qC/AULQ7j7y Hi, Emmanuel Beffara writes: > Hello, > > De Maxim Cournoyer le 14/10/2023 =C3=A0 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 con= tribute >> > to a solution, because right now texlive is practically unusable in Gu= ix. >>=20 >> 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 fi= les > 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-d= ist/ls-R", R_OK) =3D 0 > 28308 newfstatat(AT_FDCWD, > "/run/current-system/profile/share/texmf-dist/../texmf-dist/ls-R", > {st_mode=3DS_IFREG|0444, st_size=3D4053996, ...}, 0) =3D 0 > 28308 openat(AT_FDCWD, > "/run/current-system/profile/share/texmf-dist/../texmf-dist/ls-R", > O_RDONLY) =3D 3 > > but aparently its contents are not taken into account. My next question would be; how is this ls-R file produced in Guix? Does it matches the expectations of upstream for producing such file? If it does, it seems like we have some interesting topic (i.e. bug) to engage with upstream for a resolution. --=20 Thanks, Maxim