freebsd-dev/sys/powerpc
Leandro Lupori e2d6c417e3 Implement superpages for PowerPC64 (HPT)
This change adds support for transparent superpages for PowerPC64
systems using Hashed Page Tables (HPT). All pmap operations are
supported.

The changes were inspired by RISC-V implementation of superpages,
by @markj (r344106), but heavily adapted to fit PPC64 HPT architecture
and existing MMU OEA64 code.

While these changes are not better tested, superpages support is disabled by
default. To enable it, use vm.pmap.superpages_enabled=1.

In this initial implementation, when superpages are disabled, system
performance stays at the same level as without these changes. When
superpages are enabled, buildworld time increases a bit (~2%). However,
for workloads that put a heavy pressure on the TLB the performance boost
is much bigger (see HPC Challenge and pgbench on D25237).

Reviewed by:	jhibbits
Sponsored by:	Eldorado Research Institute (eldorado.org.br)
Differential Revision:	https://reviews.freebsd.org/D25237
2020-11-06 14:12:45 +00:00
..
aim Implement superpages for PowerPC64 (HPT) 2020-11-06 14:12:45 +00:00
amigaone powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
booke Avoid dump_avail[] redefinition. 2020-10-14 22:51:40 +00:00
conf Create in-tree LINT files 2020-10-09 01:48:14 +00:00
cpufreq powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
fpu powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
include Implement superpages for PowerPC64 (HPT) 2020-11-06 14:12:45 +00:00
mambo powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
mikrotik powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
mpc85xx powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
ofw [PowerPC64LE] Fix RTAS LE calls in pseries. 2020-09-23 04:09:02 +00:00
powermac powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
powernv Implement superpages for PowerPC64 (HPT) 2020-11-06 14:12:45 +00:00
powerpc Implement superpages for PowerPC64 (HPT) 2020-11-06 14:12:45 +00:00
ps3 powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
pseries Implement superpages for PowerPC64 (HPT) 2020-11-06 14:12:45 +00:00
psim powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00