unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Roman Scherer <roman.scherer@burningswell.com>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: guix-devel@gnu.org
Subject: Re: Building arm64 guix system image
Date: Sat, 25 Feb 2023 12:27:47 +0100	[thread overview]
Message-ID: <86k006ugcz.fsf@burningswell.com> (raw)
In-Reply-To: <Y/OBBZdXUr5ZHuw5@3900XT>

[-- Attachment #1: Type: text/plain, Size: 2218 bytes --]


Hi Efraim,

can you help me getting the support for transparent huge page on aarch64
for jemalloc into Guix?

https://lists.gnu.org/archive/html/guix-patches/2023-02/msg00698.html

I'm using those patches locally and have tested it so far by:

- Compiling the whole Rust toolchain

- Using this Rust toolchain to compile Icecat and a Rust Linux kernel
  module for thr GPU

I haven't noticed any issues so far.

Thanks, Roman.

Efraim Flashner <efraim@flashner.co.il> writes:

> [[PGP Signed Part:Undecided]]
> On Mon, Feb 20, 2023 at 11:31:04AM +0100, Roman Scherer wrote:
>>
>> Efraim Flashner <efraim@flashner.co.il> writes:
>> >
>> > I have two patches on the core-updates branch that should allow building
>> > openbios-qemu-ppc from aarch64. I'll try cherry-picking them to master
>> > and see if that allows building qemu-minimal.
>>
>> Hi Efraim,
>>
>> that would be great. I'm looking forward to try them out.
>
> I ran out of space while building qemu so I'm waiting on the build farm¹
> to see if qemu worked. Since qemu-minimal worked I pushed it upstream
> and current master should have that building now. I haven't tested
> building an image yet though.
>
> ¹ https://ci.guix.gnu.org/eval/211772
>
>> Since we are already talking about arm64 here, do you have experience
>> with transparent huge pages on aarch64?
>>
>> I would love to get some feedback on this one:
>>
>> https://lists.gnu.org/archive/html/guix-patches/2023-02/msg00698.html
>>
>> Do you know if any of the aarch64 build machines configured with a page
>> size > 4K? If so, I think that patch could help building more packages
>> on that architecture.
>>
>> Thanks, Roman.
>
> I'm pretty sure they all use a 4K page size. From
> gnu/packages/aux-files/linux-libre/6.1-arm64.conf:
> CONFIG_ARM64_4K_PAGES=y
> # CONFIG_ARM64_16K_PAGES is not set
> # CONFIG_ARM64_64K_PAGES is not set
>
> It looks like they're set for 4K pages. I'm not sure if it can be set
> for more than one size at once. As for the transparent huge pages, I'm
> pretty sure back in 2017 when I disabled it in jemalloc it was fairly
> broken on aarch64 but I don't see a reason to not enable it now.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 528 bytes --]

  parent reply	other threads:[~2023-02-25 11:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-17  8:29 Building arm64 guix system image Max Brieiev
2023-02-17 17:36 ` Akira Kyle
2023-02-19 12:18   ` Max Brieiev
2023-02-19 12:51     ` Roman Scherer
2023-02-20  9:08       ` Error booting aarch64 installation image (was: Building arm64 guix system image) Max Brieiev
2023-02-20 10:03         ` Roman Scherer
2023-02-21  8:06           ` Error booting aarch64 installation image Max Brieiev
2023-02-22 10:56             ` Efraim Flashner
2023-02-19 20:01 ` Building arm64 guix system image Efraim Flashner
2023-02-20 10:31   ` Roman Scherer
2023-02-20 14:17     ` Efraim Flashner
2023-02-21  5:02       ` Andrew Patterson
2023-02-22 10:45         ` Efraim Flashner
2023-02-25 11:27       ` Roman Scherer [this message]
2023-02-23 18:41   ` Roman Scherer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86k006ugcz.fsf@burningswell.com \
    --to=roman.scherer@burningswell.com \
    --cc=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).