opnsense-src/sys/amd64
Colin Percival 45cc8519f5 tslog: Annotate parts of SYSINIT cpu
Booting an amd64 kernel on Firecracker with 1 CPU and 128 MB of RAM,
SYSINIT cpu takes roughly 2770 us:
* 2280 us in vm_ksubmap_init
  * 535 us in kmem_malloc
    * 450 us in pmap_zero_page
  * 1720 us in pmap_growkernel
    * 1620 us in pmap_zero_page
* 80 us in bufinit
* 480 us in cpu_setregs
  * 430 us in cpu_setregs calling load_cr0

Much of this is hypervisor overhead: load_cr0 is slow because it traps
to the hypervisor, and 99% of the time in pmap_zero_page is spent when
we first touch the page, presumably due to the host Linux kernel
faulting in backing pages one by one.

Sponsored by:	https://www.patreon.com/cperciva
Differential Revision:	https://reviews.freebsd.org/D40327
2023-06-04 10:16:35 -07:00
..
acpica spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
amd64 tslog: Annotate parts of SYSINIT cpu 2023-06-04 10:16:35 -07:00
conf GENERIC: remove a stray space character 2023-05-13 21:31:49 +02:00
ia32 spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
include smp: Dynamically allocate the stoppcbs array 2023-05-25 18:09:55 -04:00
linux linux(4): Regen for linux_execve 2023-05-29 12:18:30 +03:00
linux32 linux(4): Regen for linux_execve 2023-05-29 12:18:30 +03:00
pci spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
sgx sgx: Remove unused variable. 2022-04-07 17:01:28 -07:00
vmm vmm: Avoid embedding cpuset_t ioctl ABIs 2023-05-23 21:15:59 -04:00
Makefile Bring the tags and links entries for amd64 up to date. 2021-09-27 20:04:51 -07:00