€•45Œsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ3/translations/zh_CN/arch/powerpc/vcpudispatch_stats”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ3/translations/zh_TW/arch/powerpc/vcpudispatch_stats”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ3/translations/it_IT/arch/powerpc/vcpudispatch_stats”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ3/translations/ja_JP/arch/powerpc/vcpudispatch_stats”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ3/translations/ko_KR/arch/powerpc/vcpudispatch_stats”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ3/translations/sp_SP/arch/powerpc/vcpudispatch_stats”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)”}”(hŒ SPDX-License-Identifier: GPL-2.0”h]”hŒ SPDX-License-Identifier: GPL-2.0”…””}”hh£sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1h¡hhhžhhŸŒM/var/lib/git/docbuild/linux/Documentation/arch/powerpc/vcpudispatch_stats.rst”h KubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒVCPU Dispatch Statistics”h]”hŒVCPU Dispatch Statistics”…””}”(hh»hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hh¶hžhhŸh³h KubhŒ paragraph”“”)”}”(hXsFor Shared Processor LPARs, the POWER Hypervisor maintains a relatively static mapping of the LPAR processors (vcpus) to physical processor chips (representing the "home" node) and tries to always dispatch vcpus on their associated physical processor chip. However, under certain scenarios, vcpus may be dispatched on a different processor chip (away from its home node).”h]”hXwFor Shared Processor LPARs, the POWER Hypervisor maintains a relatively static mapping of the LPAR processors (vcpus) to physical processor chips (representing the “home†node) and tries to always dispatch vcpus on their associated physical processor chip. However, under certain scenarios, vcpus may be dispatched on a different processor chip (away from its home node).”…””}”(hhËhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khh¶hžhubhÊ)”}”(hXŒ/proc/powerpc/vcpudispatch_stats can be used to obtain statistics related to the vcpu dispatch behavior. Writing '1' to this file enables collecting the statistics, while writing '0' disables the statistics. By default, the DTLB log for each vcpu is processed 50 times a second so as not to miss any entries. This processing frequency can be changed through /proc/powerpc/vcpudispatch_stats_freq.”h]”hX”/proc/powerpc/vcpudispatch_stats can be used to obtain statistics related to the vcpu dispatch behavior. Writing ‘1’ to this file enables collecting the statistics, while writing ‘0’ disables the statistics. By default, the DTLB log for each vcpu is processed 50 times a second so as not to miss any entries. This processing frequency can be changed through /proc/powerpc/vcpudispatch_stats_freq.”…””}”(hhÙhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khh¶hžhubhÊ)”}”(hŒÌThe statistics themselves are available by reading the procfs file /proc/powerpc/vcpudispatch_stats. Each line in the output corresponds to a vcpu as represented by the first field, followed by 8 numbers.”h]”hŒÌThe statistics themselves are available by reading the procfs file /proc/powerpc/vcpudispatch_stats. Each line in the output corresponds to a vcpu as represented by the first field, followed by 8 numbers.”…””}”(hhçhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khh¶hžhubhÊ)”}”(hŒ The first number corresponds to:”h]”hŒ The first number corresponds to:”…””}”(hhõhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khh¶hžhubhŒenumerated_list”“”)”}”(hhh]”hŒ list_item”“”)”}”(hŒCtotal vcpu dispatches since the beginning of statistics collection ”h]”hÊ)”}”(hŒBtotal vcpu dispatches since the beginning of statistics collection”h]”hŒBtotal vcpu dispatches since the beginning of statistics collection”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjhžhhŸh³h Nubah}”(h]”h ]”h"]”h$]”h&]”Œenumtype”Œarabic”Œprefix”hŒsuffix”Œ.”uh1jhh¶hžhhŸh³h KubhÊ)”}”(hŒ7The next 4 numbers represent vcpu dispatch dispersions:”h]”hŒ7The next 4 numbers represent vcpu dispatch dispersions:”…””}”(hj-hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khh¶hžhubj)”}”(hhh]”(j )”}”(hŒKnumber of times this vcpu was dispatched on the same processor as last time”h]”hÊ)”}”(hŒKnumber of times this vcpu was dispatched on the same processor as last time”h]”hŒKnumber of times this vcpu was dispatched on the same processor as last time”…””}”(hjBhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khj>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj;hžhhŸh³h Nubj )”}”(hŒmnumber of times this vcpu was dispatched on a different processor core as last time, but within the same chip”h]”hÊ)”}”(hŒmnumber of times this vcpu was dispatched on a different processor core as last time, but within the same chip”h]”hŒmnumber of times this vcpu was dispatched on a different processor core as last time, but within the same chip”…””}”(hjZhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K!hjVubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj;hžhhŸh³h Nubj )”}”(hŒEnumerated list start value not ordinal-1: “2†(ordinal 2)”…””}”(hjÍhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjÊubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”ŒINFO”Œsource”h³Œline”Kuh1jÈhh¶hžhhŸh³h KubjÉ)”}”(hhh]”hÊ)”}”(hŒ:Enumerated list start value not ordinal-1: "6" (ordinal 6)”h]”hŒ>Enumerated list start value not ordinal-1: “6†(ordinal 6)”…””}”(hjéhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjæubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jãŒsource”h³Œline”Kuh1jÈhh¶hžhhŸh³h K*ubeŒtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nhžhub.