Files
LDD-LinuxDeviceDrivers/study/problem/issue/stop_using_MPIDR/0001-README.md
T
2021-04-23 20:58:04 +08:00

3.0 KiB

title, date, author, tags, categories, thumbnail, blogexcerpt
title date author tags categories thumbnail blogexcerpt
从 NUMA 3 跳(3-HOPS)问题入手--窥--内核调度域的构建 2021-01-24 18:40 gatieme
debug
linux
scheduler
scheduler
这篇文章旨在帮助希望更好地分析其应用程序中性能瓶颈的人们. 有许多现有的方法可以进行性能分析, 但其中没有很多方法既健壮又正式. 而 TOPDOWN 则为大家进行软硬协同分析提供了无限可能. 本文通过 pmu-tools 入手帮助大家进行 TOPDOWN 分析.
CSDN GitHub OSKernelLAB
紫夜阑珊-青伶巷草 LDD-LinuxDeviceDrivers Intel CPU 上使用 pmu-tools 进行 TopDown 分析

知识共享许可协议

本作品采用知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议进行许可, 转载请注明出处, 谢谢合作.

因本人技术水平和知识面有限, 内容如有纰漏或者需要修正的地方, 欢迎大家指正, 鄙人在此谢谢啦


1 问题描述(一个性能优化补丁导致的性能回归)


commit 3102bc0e6ac752cc5df896acb557d779af4d82a1 Author: Valentin Schneider valentin.schneider@arm.com Date: Sat Aug 29 14:00:16 2020 +0100

arm64: topology: Stop using MPIDR for topology information

start_kernel pid = kernel_thread(kernel_init, NULL, CLONE_FS) kernel_init_freeable smp_prepare_cpus init_cpu_topology parse_acpi_topology smp_init

bringup_cpu __cpu_up boot_secondary(cpu, idle) cpu_ops[cpu]->cpu_boot(cpu) cpu_psci_cpu_boot secondary_switched secondary_start_kernel notify_cpu_starting stpre_cpu_topology