From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kHPwJJB1AGSsNAAAbAwnHQ (envelope-from ) for ; Thu, 02 Mar 2023 11:08:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wGSJJJB1AGQfxwAAauVa8A (envelope-from ) for ; Thu, 02 Mar 2023 11:08:16 +0100 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 7285FD0EF for ; Thu, 2 Mar 2023 11:08:16 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677751696; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=ilzaEVukYXkhFxRtZaolhXOPbA1ttamTtzMA3H0pQiQ=; b=nmJ8WDKVBc8heaVLly8jjoxCxRiRbgI77ovN39Y4JQExj/+tnwlEbVJEdn24lh7j0eLP3O djoapG0fD23KxQOfF8gjIGIX1cRuN62lK+LWp3NHW8as9ot7JEVBlAlxCAV/48oVE9lmM3 H5Etctqq4xLQ0zxrNqJ5ol05fLQi6zSESZFMX7MyNNSPn+jNK1kTOSyohu/87ASK6jI83f qsUY8Bx0QCPtZhDUhQOO5xTKS4hDLv5cALeIiXQnY6fgwQl62jNudBrB8FSSe+sjDUOY9m i7rWU7DAOpmsdU6KRFF4kTtFfMlNFZMYNMy4iGTOqYMMqXGvHKGNw5R1xLPkhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677751696; a=rsa-sha256; cv=none; b=j0gtCzrwlCycdjyjTmeML0tezhrMV14FPYWTQCCg2yQvSaHGRIRrmmyxpKRNMxTPNHcgAz dV7lZu6z2wg9QjEjPWc21Jyb8fXcqktTqjy6tYUJ0ZLO6Pn1OhMkxIQL6+8n1hIb2D89R2 fj3mryzSs0r4HYikOLz3Ejee48XIN0ELl/yU23raAE8Y1TNCiOb5Yz/7fmitv5maUWtbXz w7GQ/baVGNoSRgX9ueCE1GD9l0639oVrn1Efa1kUla/jwInjgzvDj9cLkZsZ/TF89QhofF PIygHaJOKh/cMVNDvwPxTR19y+/GtliR2xG7CRnCcjQYTeSaW5lj1uD+QqxwKQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pXfr2-0004Fh-Td; Thu, 02 Mar 2023 05:08:04 -0500 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 1pXfr1-0004FK-PO for guix-patches@gnu.org; Thu, 02 Mar 2023 05:08:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pXfr1-0006m5-3v for guix-patches@gnu.org; Thu, 02 Mar 2023 05:08:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pXfr0-0000Fd-Vn for guix-patches@gnu.org; Thu, 02 Mar 2023 05:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61461] [PATCH core-updates] gnu: jemalloc: Build with THP support on aarch64. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 02 Mar 2023 10:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61461 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Roman Scherer Cc: 61461@debbugs.gnu.org X-Debbugs-Original-Cc: 61461@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by 61461-submit@debbugs.gnu.org id=B61461.1677751635892 (code B ref 61461); Thu, 02 Mar 2023 10:08:02 +0000 Received: (at 61461) by debbugs.gnu.org; 2 Mar 2023 10:07:15 +0000 Received: from localhost ([127.0.0.1]:55838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXfqE-0000EJ-Pc for submit@debbugs.gnu.org; Thu, 02 Mar 2023 05:07:15 -0500 Received: from mira.cbaines.net ([212.71.252.8]:42340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXfqD-0000EC-Na for 61461@debbugs.gnu.org; Thu, 02 Mar 2023 05:07:14 -0500 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:54d1:d5d4:280e:f699]) by mira.cbaines.net (Postfix) with ESMTPSA id ACC1516CB0; Thu, 2 Mar 2023 10:07:12 +0000 (GMT) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 520c868e; Thu, 2 Mar 2023 10:07:12 +0000 (UTC) References: <86fsbavdzl.fsf@burningswell.com> User-agent: mu4e 1.8.13; emacs 28.2 From: Christopher Baines Date: Thu, 02 Mar 2023 10:05:42 +0000 In-reply-to: <86fsbavdzl.fsf@burningswell.com> Message-ID: <87bklbv54l.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Spam-Score: -6.29 X-Spam-Score: -6.29 X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: 7285FD0EF List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: cil1yyV7i99L --=-=-= Content-Type: text/plain Roman Scherer writes: > Hello Guix, > > I'm running Guix on an aarch64 system that uses a Linux kernel configured with > a page size of 16K. Some of the substitutes I receive from Guix sometimes do > not work. I believe all packages that use jemalloc, which are quite a lot. > > Rust is one example. It fails like this: > > ``` > [roman@bombaclaat guix]$ rustc > : Unsupported system page size > : Unsupported system page size > : Unsupported system page size > terminate called without an active exception > Aborted > ``` > > Building packages that depend on jemalloc also fail. I can't compile the rust > package from Guix for example. > > This patch series updates jemalloc and enables the use of transparent huge > pages on the aarch64 architecture. I saw we support THP as well for i686-linux > and x86_64-linux, so I think it's fine to enable it here as well. At least > it's better than crashing. > > The patch should also make it possible to use substitutes built on CI by > systems running with larger kernel pages sizes, avoiding long compilation > times for things like the whole rust toolchain. > > Since jemalloc has a lot of dependencies, I think it's a candidate for > core-updates. > > I submitted parts of this patch series in another ticket where I tried to fix > Icecat compilation on my aarch64 system. But I think it's worth a separate > issue. And I'm blocked on the other issue at the moment. > > Could you please review the patchs? The patches don't look to apply to core-updates, as far as I can see, core-updates already has jemalloc 5.3.0 and doesn't pass the --disable-thp flag for any architecture. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmQAdUpfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XcGxA//anCZLjBGiG+J2aCItj/8/3X2JbzFlaOP vdsXMTOrNUsU2ZsbZjHbahGdPRBwxSa/H6Dn57xjV6/M5cFK30hyVxiw9Bv53rS/ T/m0YKfQuZ2uWCTikl5822uxZg4aEjr19Z+Q4wYv2pm0V8d1xTdP3DLIY/5mBHPn 8DnyUFF6mJ1tumf57fzI7TK4wmpvF6xSegDudyzOU9MzzxyIRk+hTkxgtJ5WgsGN AhQMo14ZtdZ8DmStiC7B1NjwFeh6h7Q71ZR8WIjfKjQiErkkIlHw3STu1tvrsHRJ +1IXmF7TVCnE42o0ur3LWg0ROq9w/SHclqwB8g10q5+pqSQvNcOC9D/Qmpt5BPT2 r9ustap710g0mr7LTErhshH/Gkwys3nOI8121UlHF/lFDG82Iyj3dIz84/uiBPAJ FRsqzxK4bkl+3cyyJtlqFnEW0LrbX8ZLH4TQ19pA3kJKaFO18AcAcKF6rM3bVUoC LbnFxWHL1jOZQBQA7pCOHhgs2IE11g+AhVjt1dC0efjodb50iFKuxozfDsE74yff JV6e48M9lR3M3BoHPiv4fkQ7ekIUehMgEX0B/xV0aXyOFFfORk14np5xfcEGGHjI l8gsgsAuN5x0Bgs2VaLQ7gqH9Yf4ogJMpCTkQNX/lo48PiqCrE+9SEivzhBkMteg svZ79YnXjAY= =qE7p -----END PGP SIGNATURE----- --=-=-=--