From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC] arm64: defconfig: enable 48-bit VA by default
Date: Wed, 29 Jul 2015 22:57:59 +0200 [thread overview]
Message-ID: <1732431.N2KqRfCTTW@wuerfel> (raw)
In-Reply-To: <BY2PR0301MB074300C5F31701D9211827F0878C0@BY2PR0301MB0743.namprd03.prod.outlook.com>
On Wednesday 29 July 2015 20:49:57 Stuart Yoder wrote:
> >
> > Perhaps you should mention, for the benefit of those not following the
> > other thread, that the platform in question has 2 chunks of memory,
> > i.e., 2 GB and 14 GB, with a 508 GB hole in between.
>
> Yes, our physical memory layout for RAM looks like this:
> 2 GB at 0x8000_0000
> 510 GB at 0x80_8000_0000
Could we just ignore the first 2GB on this machine?
> > To be honest, I think this is poorly designed, and I am not sure we
> > should cater for such configurations in the defconfig.
>
> Agree, if this is a one-off weird platform then we shouldn't.
>
> But, the 'Principles of ARM Memory Maps' doc proposes this:
> 2 GB at 0x8000_0000
> 30 GB at 0x8_8000_0000
> 480 GB at 0x88_0000_0000
>
> ...i.e. if you have > 32 GB then your RAM regions are split into 3
> chunks. The aarch64 kernel will support > than 32GB right? A
> basic server will have that much or more.
>
> How will we deal with systems with > 32GB of memory that follow that
> map?
Burn them? ;-)
Hopefully the hardware on most machines should allow the memory map to
be configured so it can appear somewhere in a single chunk by modifying
the boot loader.
> When do we expect the default page size for the aarch64 kernel to be
> changed to 64KB?
No.
> Any workload that puts pressure on the TLBs will benefit
> from this.
I would assume that the only benchmarks that benefit from 64kb
pages are the ones that benefit more from using transparent hugepages.
64kb pages is crazy as a default because it sucks for almost every
workload you'd see in practice.
Arnd
next prev parent reply other threads:[~2015-07-29 20:57 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-22 19:49 [RFC] arm64: defconfig: enable 48-bit VA by default Stuart Yoder
2015-07-23 12:44 ` Marc Zyngier
2015-07-23 13:59 ` Stuart Yoder
2015-07-29 19:27 ` Stuart Yoder
2015-07-29 19:51 ` Ard Biesheuvel
2015-07-29 20:49 ` Stuart Yoder
2015-07-29 20:57 ` Arnd Bergmann [this message]
2015-07-29 20:58 ` Ard Biesheuvel
2015-07-30 10:13 ` Catalin Marinas
2015-07-30 14:52 ` Stuart Yoder
2015-07-30 16:12 ` Catalin Marinas
2015-07-30 16:32 ` Stuart Yoder
2015-07-30 16:41 ` Catalin Marinas
2015-07-30 17:45 ` Ard Biesheuvel
2015-07-30 18:10 ` Stuart Yoder
2015-08-07 19:01 ` Stuart Yoder
2015-08-08 8:20 ` Ard Biesheuvel
2015-08-13 19:24 ` Stuart Yoder
2015-08-14 12:15 ` Ard Biesheuvel
2015-08-14 13:24 ` Catalin Marinas
2015-08-14 13:55 ` Ard Biesheuvel
2015-08-14 15:37 ` Catalin Marinas
2015-07-30 19:27 ` Ard Biesheuvel
2015-07-31 12:53 ` Catalin Marinas
2015-07-31 13:10 ` Ard Biesheuvel
2015-07-31 13:22 ` Catalin Marinas
2015-07-31 13:30 ` Ard Biesheuvel
2015-08-01 21:08 ` Arnd Bergmann
2015-08-02 6:19 ` Ard Biesheuvel
2015-08-03 8:00 ` Arnd Bergmann
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1732431.N2KqRfCTTW@wuerfel \
--to=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox