sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget8/translations/zh_CN/admin-guide/perf/nvidia-tegra241-pmumodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget8/translations/zh_TW/admin-guide/perf/nvidia-tegra241-pmumodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget8/translations/it_IT/admin-guide/perf/nvidia-tegra241-pmumodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget8/translations/ja_JP/admin-guide/perf/nvidia-tegra241-pmumodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget8/translations/ko_KR/admin-guide/perf/nvidia-tegra241-pmumodnameN classnameN refexplicituh1hhh ubh)}(hhh]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget8/translations/pt_BR/admin-guide/perf/nvidia-tegra241-pmumodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget8/translations/sp_SP/admin-guide/perf/nvidia-tegra241-pmumodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhsection)}(hhh](htitle)}(hubah}(h]h ]h"]h$]h&]uh1hhhhhhhhNubeh}(h]h ]h"]h$]h&]bullet*uh1hhhhKhhhhubh)}(hhh](h)}(h PMU Driverh]h PMU Driver}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hhhhhKubh)}(hXRThe PMUs in this document are based on ARM CoreSight PMU Architecture as described in document: ARM IHI 0091. Since this is a standard architecture, the PMUs are managed by a common driver "arm-cs-arch-pmu". This driver describes the available events and configuration of each PMU in sysfs. Please see the sections below to get the sysfs path of each PMU. Like other uncore PMU drivers, the driver provides "cpumask" sysfs attribute to show the CPU id used to handle the PMU event. There is also "associated_cpus" sysfs attribute, which contains a list of CPUs associated with the PMU instance.h]hX^The PMUs in this document are based on ARM CoreSight PMU Architecture as described in document: ARM IHI 0091. Since this is a standard architecture, the PMUs are managed by a common driver “arm-cs-arch-pmu”. This driver describes the available events and configuration of each PMU in sysfs. Please see the sections below to get the sysfs path of each PMU. Like other uncore PMU drivers, the driver provides “cpumask” sysfs attribute to show the CPU id used to handle the PMU event. There is also “associated_cpus” sysfs attribute, which contains a list of CPUs associated with the PMU instance.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj^hhubhtarget)}(h.. _SCF_PMU_Section:h]h}(h]h ]h"]h$]h&]refidscf-pmu-sectionuh1j}hKhj^hhhhubeh}(h] pmu-driverah ]h"] pmu driverah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hSCF PMUh]hSCF PMU}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hThe SCF PMU monitors system level cache events, CPU traffic, and strongly-ordered (SO) PCIE write traffic to local/remote memory. Please see :ref:`NVIDIA_Uncore_PMU_Traffic_Coverage_Section` for more info about the PMU traffic coverage.h](hThe SCF PMU monitors system level cache events, CPU traffic, and strongly-ordered (SO) PCIE write traffic to local/remote memory. Please see }(hjhhhNhNubh)}(h1:ref:`NVIDIA_Uncore_PMU_Traffic_Coverage_Section`h]hinline)}(hjh]h*NVIDIA_Uncore_PMU_Traffic_Coverage_Section}(hjhhhNhNubah}(h]h ](xrefstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdoc$admin-guide/perf/nvidia-tegra241-pmu refdomainjreftyperef refexplicitrefwarn reftarget*nvidia_uncore_pmu_traffic_coverage_sectionuh1hhhhKhjubh. for more info about the PMU traffic coverage.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(hThe events and configuration options of this PMU device are described in sysfs, see /sys/bus/event_source/devices/nvidia_scf_pmu_.h]hThe events and configuration options of this PMU device are described in sysfs, see /sys/bus/event_source/devices/nvidia_scf_pmu_.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK$hjhhubh)}(hExample usage:h]hExample usage:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK'hjhhubh)}(hhh](h)}(hOCount event id 0x0 in socket 0:: perf stat -a -e nvidia_scf_pmu_0/event=0x0/ h](h)}(h Count event id 0x0 in socket 0::h]hCount event id 0x0 in socket 0:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK)hjubh literal_block)}(h+perf stat -a -e nvidia_scf_pmu_0/event=0x0/h]h+perf stat -a -e nvidia_scf_pmu_0/event=0x0/}hjsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1j hhhK+hjubeh}(h]h ]h"]h$]h&]uh1hhjhhhhhNubh)}(hOCount event id 0x0 in socket 1:: perf stat -a -e nvidia_scf_pmu_1/event=0x0/ h](h)}(h Count event id 0x0 in socket 1::h]hCount event id 0x0 in socket 1:}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK-hj$ubj )}(h+perf stat -a -e nvidia_scf_pmu_1/event=0x0/h]h+perf stat -a -e nvidia_scf_pmu_1/event=0x0/}hj6sbah}(h]h ]h"]h$]h&]jjuh1j hhhK/hj$ubeh}(h]h ]h"]h$]h&]uh1hhjhhhhhNubeh}(h]h ]h"]h$]h&]j\j]uh1hhhhK)hjhhubeh}(h](scf-pmujeh ]h"](scf pmuscf_pmu_sectioneh$]h&]uh1hhhhhhhhKexpect_referenced_by_name}jVjsexpect_referenced_by_id}jjsubh)}(hhh](h)}(hNVLink-C2C0 PMUh]hNVLink-C2C0 PMU}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hhhhhK2ubh)}(hThe NVLink-C2C0 PMU monitors incoming traffic from a GPU/CPU connected with NVLink-C2C (Chip-2-Chip) interconnect. The type of traffic captured by this PMU varies dependent on the chip configuration:h]hThe NVLink-C2C0 PMU monitors incoming traffic from a GPU/CPU connected with NVLink-C2C (Chip-2-Chip) interconnect. The type of traffic captured by this PMU varies dependent on the chip configuration:}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK4hj]hhubh)}(hhh](h)}(hNVIDIA Grace Hopper Superchip: Hopper GPU is connected with Grace SoC. In this config, the PMU captures GPU ATS translated or EGM traffic from the GPU. h](h)}(hFNVIDIA Grace Hopper Superchip: Hopper GPU is connected with Grace SoC.h]hFNVIDIA Grace Hopper Superchip: Hopper GPU is connected with Grace SoC.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK8hjubh)}(hPIn this config, the PMU captures GPU ATS translated or EGM traffic from the GPU.h]hPIn this config, the PMU captures GPU ATS translated or EGM traffic from the GPU.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK:hjubeh}(h]h ]h"]h$]h&]uh1hhj|hhhhhNubh)}(hNVIDIA Grace CPU Superchip: two Grace CPU SoCs are connected. In this config, the PMU captures read and relaxed ordered (RO) writes from PCIE device of the remote SoC. h](h)}(h=NVIDIA Grace CPU Superchip: two Grace CPU SoCs are connected.h]h=NVIDIA Grace CPU Superchip: two Grace CPU SoCs are connected.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubeh}(h]h ]h"]h$]h&]uh1hhj|hhhhhNubeh}(h]h ]h"]h$]h&]j\j]uh1hhhhK8hj]hhubh)}(hjPlease see :ref:`NVIDIA_Uncore_PMU_Traffic_Coverage_Section` for more info about the PMU traffic coverage.h](h Please see }(hjhhhNhNubh)}(h1:ref:`NVIDIA_Uncore_PMU_Traffic_Coverage_Section`h]j)}(hjh]h*NVIDIA_Uncore_PMU_Traffic_Coverage_Section}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnj*nvidia_uncore_pmu_traffic_coverage_sectionuh1hhhhKAhjubh. for more info about the PMU traffic coverage.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKAhj]hhubh)}(hThe events and configuration options of this PMU device are described in sysfs, see /sys/bus/event_source/devices/nvidia_nvlink_c2c0_pmu_.h]hThe events and configuration options of this PMU device are described in sysfs, see /sys/bus/event_source/devices/nvidia_nvlink_c2c0_pmu_.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKDhj]hhubh)}(hExample usage:h]hExample usage:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKGhj]hhubh)}(hhh](h)}(htCount event id 0x0 from the GPU/CPU connected with socket 0:: perf stat -a -e nvidia_nvlink_c2c0_pmu_0/event=0x0/ h](h)}(h=Count event id 0x0 from the GPU/CPU connected with socket 0::h]h.h]hThe events and configuration options of this PMU device are described in sysfs, see /sys/bus/event_source/devices/nvidia_nvlink_c2c1_pmu_.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKrhj9hhubh)}(hExample usage:h]hExample usage:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKuhj9hhubh)}(hhh](h)}(hpCount event id 0x0 from the GPU connected with socket 0:: perf stat -a -e nvidia_nvlink_c2c1_pmu_0/event=0x0/ h](h)}(h9Count event id 0x0 from the GPU connected with socket 0::h]h8Count event id 0x0 from the GPU connected with socket 0:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKwhjubj )}(h3perf stat -a -e nvidia_nvlink_c2c1_pmu_0/event=0x0/h]h3perf stat -a -e nvidia_nvlink_c2c1_pmu_0/event=0x0/}hjsbah}(h]h ]h"]h$]h&]jjuh1j hhhKyhjubeh}(h]h ]h"]h$]h&]uh1hhjhhhhhNubh)}(hpCount event id 0x0 from the GPU connected with socket 1:: perf stat -a -e nvidia_nvlink_c2c1_pmu_1/event=0x0/ h](h)}(h9Count event id 0x0 from the GPU connected with socket 1::h]h8Count event id 0x0 from the GPU connected with socket 1:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK{hjubj )}(h3perf stat -a -e nvidia_nvlink_c2c1_pmu_1/event=0x0/h]h3perf stat -a -e nvidia_nvlink_c2c1_pmu_1/event=0x0/}hjsbah}(h]h ]h"]h$]h&]jjuh1j hhhK}hjubeh}(h]h ]h"]h$]h&]uh1hhjhhhhhNubh)}(hpCount event id 0x0 from the GPU connected with socket 2:: perf stat -a -e nvidia_nvlink_c2c1_pmu_2/event=0x0/ h](h)}(h9Count event id 0x0 from the GPU connected with socket 2::h]h8Count event id 0x0 from the GPU connected with socket 2:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubj )}(h3perf stat -a -e nvidia_nvlink_c2c1_pmu_2/event=0x0/h]h3perf stat -a -e nvidia_nvlink_c2c1_pmu_2/event=0x0/}hjsbah}(h]h ]h"]h$]h&]jjuh1j hhhKhjubeh}(h]h ]h"]h$]h&]uh1hhjhhhhhNubh)}(hpCount event id 0x0 from the GPU connected with socket 3:: perf stat -a -e nvidia_nvlink_c2c1_pmu_3/event=0x0/ h](h)}(h9Count event id 0x0 from the GPU connected with socket 3::h]h8Count event id 0x0 from the GPU connected with socket 3:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubj )}(h3perf stat -a -e nvidia_nvlink_c2c1_pmu_3/event=0x0/h]h3perf stat -a -e nvidia_nvlink_c2c1_pmu_3/event=0x0/}hjsbah}(h]h ]h"]h$]h&]jjuh1j hhhKhj ubeh}(h]h ]h"]h$]h&]uh1hhjhhhhhNubeh}(h]h ]h"]h$]h&]j\j]uh1hhhhKwhj9hhubh)}(hXnThe NVLink-C2C has two ports that can be connected to one GPU (occupying both ports) or to two GPUs (one GPU per port). The user can use "port" bitmap parameter to select the port(s) to monitor. Each bit represents the port number, e.g. "port=0x1" corresponds to port 0 and "port=0x3" is for port 0 and 1. The PMU will monitor both ports by default if not specified.h]hXzThe NVLink-C2C has two ports that can be connected to one GPU (occupying both ports) or to two GPUs (one GPU per port). The user can use “port” bitmap parameter to select the port(s) to monitor. Each bit represents the port number, e.g. “port=0x1” corresponds to port 0 and “port=0x3” is for port 0 and 1. The PMU will monitor both ports by default if not specified.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj9hhubh)}(hExample for port filtering:h]hExample for port filtering:}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj9hhubh)}(hhh](h)}(hCount event id 0x0 from the GPU connected with socket 0 on port 0:: perf stat -a -e nvidia_nvlink_c2c1_pmu_0/event=0x0,port=0x1/ h](h)}(hCCount event id 0x0 from the GPU connected with socket 0 on port 0::h]hBCount event id 0x0 from the GPU connected with socket 0 on port 0:}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjXubj )}(h.h]hThe events and configuration options of this PMU device are described in sysfs, see /sys/bus/event_source/devices/nvidia_cnvlink_pmu_.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(hXEach SoC socket can be connected to one or more sockets via CNVLink. The user can use "rem_socket" bitmap parameter to select the remote socket(s) to monitor. Each bit represents the socket number, e.g. "rem_socket=0xE" corresponds to socket 1 to 3. The PMU will monitor all remote sockets by default if not specified. /sys/bus/event_source/devices/nvidia_cnvlink_pmu_/format/rem_socket shows the valid bits that can be set in the "rem_socket" parameter.h]hXEach SoC socket can be connected to one or more sockets via CNVLink. The user can use “rem_socket” bitmap parameter to select the remote socket(s) to monitor. Each bit represents the socket number, e.g. “rem_socket=0xE” corresponds to socket 1 to 3. The PMU will monitor all remote sockets by default if not specified. /sys/bus/event_source/devices/nvidia_cnvlink_pmu_/format/rem_socket shows the valid bits that can be set in the “rem_socket” parameter.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(hThe PMU can not distinguish the remote traffic initiator, therefore it does not provide filter to select the traffic source to monitor. It reports combined traffic from remote GPU and PCIE devices.h]hThe PMU can not distinguish the remote traffic initiator, therefore it does not provide filter to select the traffic source to monitor. It reports combined traffic from remote GPU and PCIE devices.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(hExample usage:h]hExample usage:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(hhh](h)}(hCount event id 0x0 for the traffic from remote socket 1, 2, and 3 to socket 0:: perf stat -a -e nvidia_cnvlink_pmu_0/event=0x0,rem_socket=0xE/ h](h)}(hOCount event id 0x0 for the traffic from remote socket 1, 2, and 3 to socket 0::h]hNCount event id 0x0 for the traffic from remote socket 1, 2, and 3 to socket 0:}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj0ubj )}(h>perf stat -a -e nvidia_cnvlink_pmu_0/event=0x0,rem_socket=0xE/h]h>perf stat -a -e nvidia_cnvlink_pmu_0/event=0x0,rem_socket=0xE/}hjBsbah}(h]h ]h"]h$]h&]jjuh1j hhhKhj0ubeh}(h]h ]h"]h$]h&]uh1hhj-hhhhhNubh)}(hCount event id 0x0 for the traffic from remote socket 0, 2, and 3 to socket 1:: perf stat -a -e nvidia_cnvlink_pmu_1/event=0x0,rem_socket=0xD/ h](h)}(hOCount event id 0x0 for the traffic from remote socket 0, 2, and 3 to socket 1::h]hNCount event id 0x0 for the traffic from remote socket 0, 2, and 3 to socket 1:}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjVubj )}(h>perf stat -a -e nvidia_cnvlink_pmu_1/event=0x0,rem_socket=0xD/h]h>perf stat -a -e nvidia_cnvlink_pmu_1/event=0x0,rem_socket=0xD/}hjhsbah}(h]h ]h"]h$]h&]jjuh1j hhhKhjVubeh}(h]h ]h"]h$]h&]uh1hhj-hhhhhNubh)}(hCount event id 0x0 for the traffic from remote socket 0, 1, and 3 to socket 2:: perf stat -a -e nvidia_cnvlink_pmu_2/event=0x0,rem_socket=0xB/ h](h)}(hOCount event id 0x0 for the traffic from remote socket 0, 1, and 3 to socket 2::h]hNCount event id 0x0 for the traffic from remote socket 0, 1, and 3 to socket 2:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj|ubj )}(h>perf stat -a -e nvidia_cnvlink_pmu_2/event=0x0,rem_socket=0xB/h]h>perf stat -a -e nvidia_cnvlink_pmu_2/event=0x0,rem_socket=0xB/}hjsbah}(h]h ]h"]h$]h&]jjuh1j hhhKhj|ubeh}(h]h ]h"]h$]h&]uh1hhj-hhhhhNubh)}(hCount event id 0x0 for the traffic from remote socket 0, 1, and 2 to socket 3:: perf stat -a -e nvidia_cnvlink_pmu_3/event=0x0,rem_socket=0x7/ h](h)}(hOCount event id 0x0 for the traffic from remote socket 0, 1, and 2 to socket 3::h]hNCount event id 0x0 for the traffic from remote socket 0, 1, and 2 to socket 3:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubj )}(h>perf stat -a -e nvidia_cnvlink_pmu_3/event=0x0,rem_socket=0x7/h]h>perf stat -a -e nvidia_cnvlink_pmu_3/event=0x0,rem_socket=0x7/}hjsbah}(h]h ]h"]h$]h&]jjuh1j hhhKhjubeh}(h]h ]h"]h$]h&]uh1hhj-hhhhhNubeh}(h]h ]h"]h$]h&]j\j]uh1hhhhKhjhhubeh}(h] cnvlink-pmuah ]h"] cnvlink pmuah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hPCIE PMUh]hPCIE PMU}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hThe PCIE PMU monitors all read/write traffic from PCIE root ports to local/remote memory. Please see :ref:`NVIDIA_Uncore_PMU_Traffic_Coverage_Section` for more info about the PMU traffic coverage.h](heThe PCIE PMU monitors all read/write traffic from PCIE root ports to local/remote memory. Please see }(hjhhhNhNubh)}(h1:ref:`NVIDIA_Uncore_PMU_Traffic_Coverage_Section`h]j)}(hjh]h*NVIDIA_Uncore_PMU_Traffic_Coverage_Section}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnj*nvidia_uncore_pmu_traffic_coverage_sectionuh1hhhhKhjubh. for more info about the PMU traffic coverage.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(hThe events and configuration options of this PMU device are described in sysfs, see /sys/bus/event_source/devices/nvidia_pcie_pmu_.h]hThe events and configuration options of this PMU device are described in sysfs, see /sys/bus/event_source/devices/nvidia_pcie_pmu_.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(hXEach SoC socket can support multiple root ports. The user can use "root_port" bitmap parameter to select the port(s) to monitor, i.e. "root_port=0xF" corresponds to root port 0 to 3. The PMU will monitor all root ports by default if not specified. /sys/bus/event_source/devices/nvidia_pcie_pmu_/format/root_port shows the valid bits that can be set in the "root_port" parameter.h]hXEach SoC socket can support multiple root ports. The user can use “root_port” bitmap parameter to select the port(s) to monitor, i.e. “root_port=0xF” corresponds to root port 0 to 3. The PMU will monitor all root ports by default if not specified. /sys/bus/event_source/devices/nvidia_pcie_pmu_/format/root_port shows the valid bits that can be set in the “root_port” parameter.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(hExample usage:h]hExample usage:}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(hhh](h)}(huCount event id 0x0 from root port 0 and 1 of socket 0:: perf stat -a -e nvidia_pcie_pmu_0/event=0x0,root_port=0x3/ h](h)}(h7Count event id 0x0 from root port 0 and 1 of socket 0::h]h6Count event id 0x0 from root port 0 and 1 of socket 0:}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjFubj )}(h:perf stat -a -e nvidia_pcie_pmu_0/event=0x0,root_port=0x3/h]h:perf stat -a -e nvidia_pcie_pmu_0/event=0x0,root_port=0x3/}hjXsbah}(h]h ]h"]h$]h&]jjuh1j hhhKhjFubeh}(h]h ]h"]h$]h&]uh1hhjChhhhhNubh)}(huCount event id 0x0 from root port 0 and 1 of socket 1:: perf stat -a -e nvidia_pcie_pmu_1/event=0x0,root_port=0x3/ h](h)}(h7Count event id 0x0 from root port 0 and 1 of socket 1::h]h6Count event id 0x0 from root port 0 and 1 of socket 1:}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjlubj )}(h:perf stat -a -e nvidia_pcie_pmu_1/event=0x0,root_port=0x3/h]h:perf stat -a -e nvidia_pcie_pmu_1/event=0x0,root_port=0x3/}hj~sbah}(h]h ]h"]h$]h&]jjuh1j hhhKhjlubeh}(h]h ]h"]h$]h&]uh1hhjChhhhhNubeh}(h]h ]h"]h$]h&]j\j]uh1hhhhKhjhhubj~)}(h/.. _NVIDIA_Uncore_PMU_Traffic_Coverage_Section:h]h}(h]h ]h"]h$]h&]j*nvidia-uncore-pmu-traffic-coverage-sectionuh1j}hKhjhhhhubeh}(h]pcie-pmuah ]h"]pcie pmuah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hTraffic Coverageh]hTraffic Coverage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hFThe PMU traffic coverage may vary dependent on the chip configuration:h]hFThe PMU traffic coverage may vary dependent on the chip configuration:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(hhh](h)}(hX **NVIDIA Grace Hopper Superchip**: Hopper GPU is connected with Grace SoC. Example configuration with two Grace SoCs:: ********************************* ********************************* * SOCKET-A * * SOCKET-B * * * * * * :::::::: * * :::::::: * * : PCIE : * * : PCIE : * * :::::::: * * :::::::: * * | * * | * * | * * | * * ::::::: ::::::::: * * ::::::::: ::::::: * * : : : : * * : : : : * * : GPU :<--NVLink-->: Grace :<---CNVLink--->: Grace :<--NVLink-->: GPU : * * : : C2C : SoC : * * : SoC : C2C : : * * ::::::: ::::::::: * * ::::::::: ::::::: * * | | * * | | * * | | * * | | * * &&&&&&&& &&&&&&&& * * &&&&&&&& &&&&&&&& * * & GMEM & & CMEM & * * & CMEM & & GMEM & * * &&&&&&&& &&&&&&&& * * &&&&&&&& &&&&&&&& * * * * * ********************************* ********************************* GMEM = GPU Memory (e.g. HBM) CMEM = CPU Memory (e.g. LPDDR5X) | | Following table contains traffic coverage of Grace SoC PMU in socket-A: :: +--------------+-------+-----------+-----------+-----+----------+----------+ | | Source | + +-------+-----------+-----------+-----+----------+----------+ | Destination | |GPU ATS |GPU Not-ATS| | Socket-B | Socket-B | | |PCI R/W|Translated,|Translated | CPU | CPU/PCIE1| GPU/PCIE2| | | |EGM | | | | | +==============+=======+===========+===========+=====+==========+==========+ | Local | PCIE |NVLink-C2C0|NVLink-C2C1| SCF | SCF PMU | CNVLink | | SYSRAM/CMEM | PMU |PMU |PMU | PMU | | PMU | +--------------+-------+-----------+-----------+-----+----------+----------+ | Local GMEM | PCIE | N/A |NVLink-C2C1| SCF | SCF PMU | CNVLink | | | PMU | |PMU | PMU | | PMU | +--------------+-------+-----------+-----------+-----+----------+----------+ | Remote | PCIE |NVLink-C2C0|NVLink-C2C1| SCF | | | | SYSRAM/CMEM | PMU |PMU |PMU | PMU | N/A | N/A | | over CNVLink | | | | | | | +--------------+-------+-----------+-----------+-----+----------+----------+ | Remote GMEM | PCIE |NVLink-C2C0|NVLink-C2C1| SCF | | | | over CNVLink | PMU |PMU |PMU | PMU | N/A | N/A | +--------------+-------+-----------+-----------+-----+----------+----------+ PCIE1 traffic represents strongly ordered (SO) writes. PCIE2 traffic represents reads and relaxed ordered (RO) writes. h](h)}(hJ**NVIDIA Grace Hopper Superchip**: Hopper GPU is connected with Grace SoC.h](hstrong)}(h!**NVIDIA Grace Hopper Superchip**h]hNVIDIA Grace Hopper Superchip}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh): Hopper GPU is connected with Grace SoC.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(h+Example configuration with two Grace SoCs::h]h*Example configuration with two Grace SoCs:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubj )}(hXB********************************* ********************************* * SOCKET-A * * SOCKET-B * * * * * * :::::::: * * :::::::: * * : PCIE : * * : PCIE : * * :::::::: * * :::::::: * * | * * | * * | * * | * * ::::::: ::::::::: * * ::::::::: ::::::: * * : : : : * * : : : : * * : GPU :<--NVLink-->: Grace :<---CNVLink--->: Grace :<--NVLink-->: GPU : * * : : C2C : SoC : * * : SoC : C2C : : * * ::::::: ::::::::: * * ::::::::: ::::::: * * | | * * | | * * | | * * | | * * &&&&&&&& &&&&&&&& * * &&&&&&&& &&&&&&&& * * & GMEM & & CMEM & * * & CMEM & & GMEM & * * &&&&&&&& &&&&&&&& * * &&&&&&&& &&&&&&&& * * * * * ********************************* ********************************* GMEM = GPU Memory (e.g. HBM) CMEM = CPU Memory (e.g. LPDDR5X)h]hXB********************************* ********************************* * SOCKET-A * * SOCKET-B * * * * * * :::::::: * * :::::::: * * : PCIE : * * : PCIE : * * :::::::: * * :::::::: * * | * * | * * | * * | * * ::::::: ::::::::: * * ::::::::: ::::::: * * : : : : * * : : : : * * : GPU :<--NVLink-->: Grace :<---CNVLink--->: Grace :<--NVLink-->: GPU : * * : : C2C : SoC : * * : SoC : C2C : : * * ::::::: ::::::::: * * ::::::::: ::::::: * * | | * * | | * * | | * * | | * * &&&&&&&& &&&&&&&& * * &&&&&&&& &&&&&&&& * * & GMEM & & CMEM & * * & CMEM & & GMEM & * * &&&&&&&& &&&&&&&& * * &&&&&&&& &&&&&&&& * * * * * ********************************* ********************************* GMEM = GPU Memory (e.g. HBM) CMEM = CPU Memory (e.g. LPDDR5X)}hjsbah}(h]h ]h"]h$]h&]jjuh1j hhhKhjubh line_block)}(hhh](hh)}(hhh]h}(h]h ]h"]h$]h&]uh1hhj indentKhhhKubj)}(hGFollowing table contains traffic coverage of Grace SoC PMU in socket-A:h]hGFollowing table contains traffic coverage of Grace SoC PMU in socket-A:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hjKhj hhhKubeh}(h]h ]h"]h$]h&]uh1j hjubj )}(hX{+--------------+-------+-----------+-----------+-----+----------+----------+ | | Source | + +-------+-----------+-----------+-----+----------+----------+ | Destination | |GPU ATS |GPU Not-ATS| | Socket-B | Socket-B | | |PCI R/W|Translated,|Translated | CPU | CPU/PCIE1| GPU/PCIE2| | | |EGM | | | | | +==============+=======+===========+===========+=====+==========+==========+ | Local | PCIE |NVLink-C2C0|NVLink-C2C1| SCF | SCF PMU | CNVLink | | SYSRAM/CMEM | PMU |PMU |PMU | PMU | | PMU | +--------------+-------+-----------+-----------+-----+----------+----------+ | Local GMEM | PCIE | N/A |NVLink-C2C1| SCF | SCF PMU | CNVLink | | | PMU | |PMU | PMU | | PMU | +--------------+-------+-----------+-----------+-----+----------+----------+ | Remote | PCIE |NVLink-C2C0|NVLink-C2C1| SCF | | | | SYSRAM/CMEM | PMU |PMU |PMU | PMU | N/A | N/A | | over CNVLink | | | | | | | +--------------+-------+-----------+-----------+-----+----------+----------+ | Remote GMEM | PCIE |NVLink-C2C0|NVLink-C2C1| SCF | | | | over CNVLink | PMU |PMU |PMU | PMU | N/A | N/A | +--------------+-------+-----------+-----------+-----+----------+----------+ PCIE1 traffic represents strongly ordered (SO) writes. PCIE2 traffic represents reads and relaxed ordered (RO) writes.h]hX{+--------------+-------+-----------+-----------+-----+----------+----------+ | | Source | + +-------+-----------+-----------+-----+----------+----------+ | Destination | |GPU ATS |GPU Not-ATS| | Socket-B | Socket-B | | |PCI R/W|Translated,|Translated | CPU | CPU/PCIE1| GPU/PCIE2| | | |EGM | | | | | +==============+=======+===========+===========+=====+==========+==========+ | Local | PCIE |NVLink-C2C0|NVLink-C2C1| SCF | SCF PMU | CNVLink | | SYSRAM/CMEM | PMU |PMU |PMU | PMU | | PMU | +--------------+-------+-----------+-----------+-----+----------+----------+ | Local GMEM | PCIE | N/A |NVLink-C2C1| SCF | SCF PMU | CNVLink | | | PMU | |PMU | PMU | | PMU | +--------------+-------+-----------+-----------+-----+----------+----------+ | Remote | PCIE |NVLink-C2C0|NVLink-C2C1| SCF | | | | SYSRAM/CMEM | PMU |PMU |PMU | PMU | N/A | N/A | | over CNVLink | | | | | | | +--------------+-------+-----------+-----------+-----+----------+----------+ | Remote GMEM | PCIE |NVLink-C2C0|NVLink-C2C1| SCF | | | | over CNVLink | PMU |PMU |PMU | PMU | N/A | N/A | +--------------+-------+-----------+-----------+-----+----------+----------+ PCIE1 traffic represents strongly ordered (SO) writes. PCIE2 traffic represents reads and relaxed ordered (RO) writes.}hj/sbah}(h]h ]h"]h$]h&]jjuh1j hhhMhjubeh}(h]h ]h"]h$]h&]uh1hhjhhhhhNubh)}(hXX **NVIDIA Grace CPU Superchip**: two Grace CPU SoCs are connected. Example configuration with two Grace SoCs:: ******************* ******************* * SOCKET-A * * SOCKET-B * * * * * * :::::::: * * :::::::: * * : PCIE : * * : PCIE : * * :::::::: * * :::::::: * * | * * | * * | * * | * * ::::::::: * * ::::::::: * * : : * * : : * * : Grace :<--------NVLink------->: Grace : * * : SoC : * C2C * : SoC : * * ::::::::: * * ::::::::: * * | * * | * * | * * | * * &&&&&&&& * * &&&&&&&& * * & CMEM & * * & CMEM & * * &&&&&&&& * * &&&&&&&& * * * * * ******************* ******************* GMEM = GPU Memory (e.g. HBM) CMEM = CPU Memory (e.g. LPDDR5X) | | Following table contains traffic coverage of Grace SoC PMU in socket-A: :: +-----------------+-----------+---------+----------+-------------+ | | Source | + +-----------+---------+----------+-------------+ | Destination | | | Socket-B | Socket-B | | | PCI R/W | CPU | CPU/PCIE1| PCIE2 | | | | | | | +=================+===========+=========+==========+=============+ | Local | PCIE PMU | SCF PMU | SCF PMU | NVLink-C2C0 | | SYSRAM/CMEM | | | | PMU | +-----------------+-----------+---------+----------+-------------+ | Remote | | | | | | SYSRAM/CMEM | PCIE PMU | SCF PMU | N/A | N/A | | over NVLink-C2C | | | | | +-----------------+-----------+---------+----------+-------------+ PCIE1 traffic represents strongly ordered (SO) writes. PCIE2 traffic represents reads and relaxed ordered (RO) writes.h](h)}(hA**NVIDIA Grace CPU Superchip**: two Grace CPU SoCs are connected.h](j)}(h**NVIDIA Grace CPU Superchip**h]hNVIDIA Grace CPU Superchip}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh#: two Grace CPU SoCs are connected.}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjCubh)}(h+Example configuration with two Grace SoCs::h]h*Example configuration with two Grace SoCs:}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjCubj )}(hXN******************* ******************* * SOCKET-A * * SOCKET-B * * * * * * :::::::: * * :::::::: * * : PCIE : * * : PCIE : * * :::::::: * * :::::::: * * | * * | * * | * * | * * ::::::::: * * ::::::::: * * : : * * : : * * : Grace :<--------NVLink------->: Grace : * * : SoC : * C2C * : SoC : * * ::::::::: * * ::::::::: * * | * * | * * | * * | * * &&&&&&&& * * &&&&&&&& * * & CMEM & * * & CMEM & * * &&&&&&&& * * &&&&&&&& * * * * * ******************* ******************* GMEM = GPU Memory (e.g. HBM) CMEM = CPU Memory (e.g. LPDDR5X)h]hXN******************* ******************* * SOCKET-A * * SOCKET-B * * * * * * :::::::: * * :::::::: * * : PCIE : * * : PCIE : * * :::::::: * * :::::::: * * | * * | * * | * * | * * ::::::::: * * ::::::::: * * : : * * : : * * : Grace :<--------NVLink------->: Grace : * * : SoC : * C2C * : SoC : * * ::::::::: * * ::::::::: * * | * * | * * | * * | * * &&&&&&&& * * &&&&&&&& * * & CMEM & * * & CMEM & * * &&&&&&&& * * &&&&&&&& * * * * * ******************* ******************* GMEM = GPU Memory (e.g. HBM) CMEM = CPU Memory (e.g. LPDDR5X)}hjqsbah}(h]h ]h"]h$]h&]jjuh1j hhhM hjCubj )}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]uh1hhjjKhhhKubj)}(hGFollowing table contains traffic coverage of Grace SoC PMU in socket-A:h]hGFollowing table contains traffic coverage of Grace SoC PMU in socket-A:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hjKhjhhhKubeh}(h]h ]h"]h$]h&]uh1j hjCubj )}(hX!+-----------------+-----------+---------+----------+-------------+ | | Source | + +-----------+---------+----------+-------------+ | Destination | | | Socket-B | Socket-B | | | PCI R/W | CPU | CPU/PCIE1| PCIE2 | | | | | | | +=================+===========+=========+==========+=============+ | Local | PCIE PMU | SCF PMU | SCF PMU | NVLink-C2C0 | | SYSRAM/CMEM | | | | PMU | +-----------------+-----------+---------+----------+-------------+ | Remote | | | | | | SYSRAM/CMEM | PCIE PMU | SCF PMU | N/A | N/A | | over NVLink-C2C | | | | | +-----------------+-----------+---------+----------+-------------+ PCIE1 traffic represents strongly ordered (SO) writes. PCIE2 traffic represents reads and relaxed ordered (RO) writes.h]hX!+-----------------+-----------+---------+----------+-------------+ | | Source | + +-----------+---------+----------+-------------+ | Destination | | | Socket-B | Socket-B | | | PCI R/W | CPU | CPU/PCIE1| PCIE2 | | | | | | | +=================+===========+=========+==========+=============+ | Local | PCIE PMU | SCF PMU | SCF PMU | NVLink-C2C0 | | SYSRAM/CMEM | | | | PMU | +-----------------+-----------+---------+----------+-------------+ | Remote | | | | | | SYSRAM/CMEM | PCIE PMU | SCF PMU | N/A | N/A | | over NVLink-C2C | | | | | +-----------------+-----------+---------+----------+-------------+ PCIE1 traffic represents strongly ordered (SO) writes. PCIE2 traffic represents reads and relaxed ordered (RO) writes.}hjsbah}(h]h ]h"]h$]h&]jjuh1j hhhM=hjCubeh}(h]h ]h"]h$]h&]uh1hhjhhhhhNubeh}(h]h ]h"]h$]h&]j\j]uh1hhhhKhjhhubeh}(h](traffic-coveragejeh ]h"](traffic coverage*nvidia_uncore_pmu_traffic_coverage_sectioneh$]h&]uh1hhhhhhhhKjY}jjsj[}jjsubeh}(h]:nvidia-tegra241-soc-uncore-performance-monitoring-unit-pmuah ]h"]