News for hackers. Stuff that matters.
Re:Linux with “memory folios”: a 7% performance boost when c... by cesarb on Tuesday June 15, 2021 @08:28AM (#27514290)
> RHEL used 64k page size on aarch64 for a while. I believe we have switched back to 4k.

Last I checked, at least CentOS 8 (which should be the same as RHEL 8) is still using 64k pages (search at https://git.centos.org/rpms/kernel/blob/c8/f/SOURCES/kernel-... for CONFIG_ARM64_64K_PAGES=y).

And AFAIK, to access the maximum amount of physical memory in AARCH64 (52-bit physical addresses, instead of 48 bit physical addresses), you must use 64k pages. Since RHEL is normally used on servers, it makes sense to want to be able to access huge amounts of physical memory; that's probably the true reason (or even the sole reason) RHEL uses 64k pages on AARCH64.

Re:Linux with “memory folios”: a 7% performance boost when c... by Hello71 on Tuesday June 15, 2021 @10:53AM (#27516386)
AMD64 supports only 48-bit addresses, and is still the most popular server ISA.

  You have: 2^48 byte
  You want: tebibyte
          2^48 byte = 256 tebibyte
          2^48 byte = (1 / 0.00390625) tebibyte
how many servers do you have with more than 256 TiB of RAM?
Re:Linux with “memory folios”: a 7% performance boost when c... by fulafel on Tuesday June 15, 2021 @12:50PM (#27518051)
56-bit support was specced and had software support already in ~2016. 48 bits is not a hard architecture limitation. see eg https://www.kernel.org/doc/html/latest/x86/x86_64/5level-pag...
Re:Linux with “memory folios”: a 7% performance boost when c... by toast0 on Tuesday June 15, 2021 @02:01PM (#27519104)
It's not only ram that goes in that 256 TB, memory mapped i/o uses it too. You probably don't have TB of video card RAM, but maybe some flash devices offer the whole thing memory mapped?