€•ñðŒ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”Œ7/translations/zh_CN/admin-guide/kernel-per-CPU-kthreads”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)�”}”(hhh]”hŒChinese (Traditional)”…”�”}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ7/translations/zh_TW/admin-guide/kernel-per-CPU-kthreads”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ7/translations/it_IT/admin-guide/kernel-per-CPU-kthreads”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ7/translations/ja_JP/admin-guide/kernel-per-CPU-kthreads”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ7/translations/ko_KR/admin-guide/kernel-per-CPU-kthreads”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒPortuguese (Brazilian)”…”�”}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ7/translations/pt_BR/admin-guide/kernel-per-CPU-kthreads”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒSpanish”…”�”}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ7/translations/sp_SP/admin-guide/kernel-per-CPU-kthreads”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒ*Reducing OS jitter due to per-cpu kthreads”h]”hŒ*Reducing OS jitter due to per-cpu kthreads”…”�”}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³ŒQ/var/lib/git/docbuild/linux/Documentation/admin-guide/kernel-per-CPU-kthreads.rst”h´KubhŒ paragraph”“”)�”}”(hXThis document lists per-CPU kthreads in the Linux kernel and presents options to control their OS jitter. Note that non-per-CPU kthreads are not listed here. To reduce OS jitter from non-per-CPU kthreads, bind them to a "housekeeping" CPU dedicated to such work.”h]”hX This document lists per-CPU kthreads in the Linux kernel and presents options to control their OS jitter. Note that non-per-CPU kthreads are not listed here. To reduce OS jitter from non-per-CPU kthreads, bind them to a “housekeepingâ€� CPU dedicated to such work.”…”�”}”(hhÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubh¶)�”}”(hhh]”(h»)�”}”(hŒ References”h]”hŒ References”…”�”}”(hhÞh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhhÛh²hh³hÊh´K ubhŒ bullet_list”“”)�”}”(hhh]”(hŒ list_item”“”)�”}”(hŒRDocumentation/core-api/irq/irq-affinity.rst: Binding interrupts to sets of CPUs. ”h]”hÌ)�”}”(hŒQDocumentation/core-api/irq/irq-affinity.rst: Binding interrupts to sets of CPUs.”h]”hŒQDocumentation/core-api/irq/irq-affinity.rst: Binding interrupts to sets of CPUs.”…”�”}”(hh÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hhóubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhhîh²hh³hÊh´Nubhò)�”}”(hŒSDocumentation/admin-guide/cgroup-v1: Using cgroups to bind tasks to sets of CPUs. ”h]”hÌ)�”}”(hŒRDocumentation/admin-guide/cgroup-v1: Using cgroups to bind tasks to sets of CPUs.”h]”hŒRDocumentation/admin-guide/cgroup-v1: Using cgroups to bind tasks to sets of CPUs.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhhîh²hh³hÊh´Nubhò)�”}”(hŒGman taskset: Using the taskset command to bind tasks to sets of CPUs. ”h]”hÌ)�”}”(hŒFman taskset: Using the taskset command to bind tasks to sets of CPUs.”h]”hŒFman taskset: Using the taskset command to bind tasks to sets of CPUs.”…”�”}”(hj'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj#ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhhîh²hh³hÊh´Nubhò)�”}”(hŒaman sched_setaffinity: Using the sched_setaffinity() system call to bind tasks to sets of CPUs. ”h]”hÌ)�”}”(hŒ`man sched_setaffinity: Using the sched_setaffinity() system call to bind tasks to sets of CPUs.”h]”hŒ`man sched_setaffinity: Using the sched_setaffinity() system call to bind tasks to sets of CPUs.”…”�”}”(hj?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj;ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhhîh²hh³hÊh´Nubhò)�”}”(hŒo/sys/devices/system/cpu/cpuN/online: Control CPU N's hotplug state, writing "0" to offline and "1" to online. ”h]”hÌ)�”}”(hŒn/sys/devices/system/cpu/cpuN/online: Control CPU N's hotplug state, writing "0" to offline and "1" to online.”h]”hŒx/sys/devices/system/cpu/cpuN/online: Control CPU N’s hotplug state, writing “0â€� to offline and “1â€� to online.”…”�”}”(hjWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KhjSubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhhîh²hh³hÊh´Nubhò)�”}”(hŒÿIn order to locate kernel-generated OS jitter on CPU N: cd /sys/kernel/tracing echo 1 > max_graph_depth # Increase the "1" for more detail echo function_graph > current_tracer # run workload cat per_cpu/cpuN/trace ”h]”(hÌ)�”}”(hŒ7In order to locate kernel-generated OS jitter on CPU N:”h]”hŒ7In order to locate kernel-generated OS jitter on CPU N:”…”�”}”(hjoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KhjkubhŒ block_quote”“”)�”}”(hŒžcd /sys/kernel/tracing echo 1 > max_graph_depth # Increase the "1" for more detail echo function_graph > current_tracer # run workload cat per_cpu/cpuN/trace ”h]”hÌ)�”}”(hŒ�cd /sys/kernel/tracing echo 1 > max_graph_depth # Increase the "1" for more detail echo function_graph > current_tracer # run workload cat per_cpu/cpuN/trace”h]”hŒ¡cd /sys/kernel/tracing echo 1 > max_graph_depth # Increase the “1â€� for more detail echo function_graph > current_tracer # run workload cat per_cpu/cpuN/trace”…”�”}”(hjƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1j}h³hÊh´Khjkubeh}”(h]”h ]”h"]”h$]”h&]”uh1hñhhîh²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1hìh³hÊh´K hhÛh²hubeh}”(h]”Œ references”ah ]”h"]”Œ references”ah$]”h&]”uh1hµhh·h²hh³hÊh´K ubh¶)�”}”(hhh]”(h»)�”}”(hŒkthreads”h]”hŒkthreads”…”�”}”(hj°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj­h²hh³hÊh´K#ubhŒdefinition_list”“”)�”}”(hhh]”(hŒdefinition_list_item”“”)�”}”(hŒName: ehca_comp/%u ”h]”(hŒterm”“”)�”}”(hŒName:”h]”hŒName:”…”�”}”(hjËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÉh³hÊh´K&hjÅubhŒ definition”“”)�”}”(hhh]”hÌ)�”}”(hŒ ehca_comp/%u”h]”hŒ ehca_comp/%u”…”�”}”(hjÞh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K&hjÛubah}”(h]”h ]”h"]”h$]”h&]”uh1jÙhjÅubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÃh³hÊh´K&hjÀubjÄ)�”}”(hŒ7Purpose: Periodically process Infiniband-related work. ”h]”(jÊ)�”}”(hŒPurpose:”h]”hŒPurpose:”…”�”}”(hjüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÉh³hÊh´K)hjøubjÚ)�”}”(hhh]”hÌ)�”}”(hŒ-Periodically process Infiniband-related work.”h]”hŒ-Periodically process Infiniband-related work.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K)hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÙhjøubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÃh³hÊh´K)hjÀh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¾hj­h²hh³hÊh´NubhÌ)�”}”(hŒ1To reduce its OS jitter, do any of the following:”h]”hŒ1To reduce its OS jitter, do any of the following:”…”�”}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K+hj­h²hubhŒenumerated_list”“”)�”}”(hhh]”(hò)�”}”(hX7Don't use eHCA Infiniband hardware, instead choosing hardware that does not require per-CPU kthreads. This will prevent these kthreads from being created in the first place. (This will work for most people, as this hardware, though important, is relatively old and is produced in relatively low unit volumes.)”h]”hÌ)�”}”(hX7Don't use eHCA Infiniband hardware, instead choosing hardware that does not require per-CPU kthreads. This will prevent these kthreads from being created in the first place. (This will work for most people, as this hardware, though important, is relatively old and is produced in relatively low unit volumes.)”h]”hX9Don’t use eHCA Infiniband hardware, instead choosing hardware that does not require per-CPU kthreads. This will prevent these kthreads from being created in the first place. (This will work for most people, as this hardware, though important, is relatively old and is produced in relatively low unit volumes.)”…”�”}”(hjDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K-hj@ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj=h²hh³hÊh´Nubhò)�”}”(hŒHDo all eHCA-Infiniband-related work on other CPUs, including interrupts.”h]”hÌ)�”}”(hŒHDo all eHCA-Infiniband-related work on other CPUs, including interrupts.”h]”hŒHDo all eHCA-Infiniband-related work on other CPUs, including interrupts.”…”�”}”(hj\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K2hjXubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj=h²hh³hÊh´Nubhò)�”}”(hŒ\Rework the eHCA driver so that its per-CPU kthreads are provisioned only on selected CPUs. ”h]”hÌ)�”}”(hŒZRework the eHCA driver so that its per-CPU kthreads are provisioned only on selected CPUs.”h]”hŒZRework the eHCA driver so that its per-CPU kthreads are provisioned only on selected CPUs.”…”�”}”(hjth²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K4hjpubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj=h²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œenumtype”Œarabic”Œprefix”hŒsuffix”Œ.”uh1j;hj­h²hh³hÊh´K-ubj¿)�”}”(hhh]”(jÄ)�”}”(hŒName: irq/%d-%s ”h]”(jÊ)�”}”(hŒName:”h]”hŒName:”…”�”}”(hjšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÉh³hÊh´K9hj–ubjÚ)�”}”(hhh]”hÌ)�”}”(hŒ irq/%d-%s”h]”hŒ irq/%d-%s”…”�”}”(hj«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K9hj¨ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÙhj–ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÃh³hÊh´K9hj“ubjÄ)�”}”(hŒ%Purpose: Handle threaded interrupts. ”h]”(jÊ)�”}”(hŒPurpose:”h]”hŒPurpose:”…”�”}”(hjÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÉh³hÊh´Khj­h²hubj<)�”}”(hhh]”hò)�”}”(hŒHUse irq affinity to force the irq threads to execute on some other CPU. ”h]”hÌ)�”}”(hŒGUse irq affinity to force the irq threads to execute on some other CPU.”h]”hŒGUse irq affinity to force the irq threads to execute on some other CPU.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K@hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjh²hh³hÊh´Nubah}”(h]”h ]”h"]”h$]”h&]”jŽj�j�hj‘j’uh1j;hj­h²hh³hÊh´K@ubj¿)�”}”(hhh]”(jÄ)�”}”(hŒName: kcmtpd_ctr_%d ”h]”(jÊ)�”}”(hŒName:”h]”hŒName:”…”�”}”(hj0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÉh³hÊh´KDhj,ubjÚ)�”}”(hhh]”hÌ)�”}”(hŒ kcmtpd_ctr_%d”h]”hŒ kcmtpd_ctr_%d”…”�”}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KDhj>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÙhj,ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÃh³hÊh´KDhj)ubjÄ)�”}”(hŒ Purpose: Handle Bluetooth work. ”h]”(jÊ)�”}”(hŒPurpose:”h]”hŒPurpose:”…”�”}”(hj_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÉh³hÊh´KGhj[ubjÚ)�”}”(hhh]”hÌ)�”}”(hŒHandle Bluetooth work.”h]”hŒHandle Bluetooth work.”…”�”}”(hjph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KGhjmubah}”(h]”h ]”h"]”h$]”h&]”uh1jÙhj[ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÃh³hÊh´KGhj)h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¾hj­h²hh³hÊh´NubhÌ)�”}”(hŒ1To reduce its OS jitter, do one of the following:”h]”hŒ1To reduce its OS jitter, do one of the following:”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KIhj­h²hubj<)�”}”(hhh]”(hò)�”}”(hŒVDon't use Bluetooth, in which case these kthreads won't be created in the first place.”h]”hÌ)�”}”(hŒVDon't use Bluetooth, in which case these kthreads won't be created in the first place.”h]”hŒZDon’t use Bluetooth, in which case these kthreads won’t be created in the first place.”…”�”}”(hj¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KKhj¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjžh²hh³hÊh´Nubhò)�”}”(hŒ•Use irq affinity to force Bluetooth-related interrupts to occur on some other CPU and furthermore initiate all Bluetooth activity on some other CPU. ”h]”hÌ)�”}”(hŒ”Use irq affinity to force Bluetooth-related interrupts to occur on some other CPU and furthermore initiate all Bluetooth activity on some other CPU.”h]”hŒ”Use irq affinity to force Bluetooth-related interrupts to occur on some other CPU and furthermore initiate all Bluetooth activity on some other CPU.”…”�”}”(hj½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KMhj¹ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjžh²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jŽj�j�hj‘j’uh1j;hj­h²hh³hÊh´KKubj¿)�”}”(hhh]”(jÄ)�”}”(hŒName: ksoftirqd/%u ”h]”(jÊ)�”}”(hŒName:”h]”hŒName:”…”�”}”(hjÞh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÉh³hÊh´KRhjÚubjÚ)�”}”(hhh]”hÌ)�”}”(hŒ ksoftirqd/%u”h]”hŒ ksoftirqd/%u”…”�”}”(hjïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KRhjìubah}”(h]”h ]”h"]”h$]”h&]”uh1jÙhjÚubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÃh³hÊh´KRhj×ubjÄ)�”}”(hŒJPurpose: Execute softirq handlers when threaded or when under heavy load. ”h]”(jÊ)�”}”(hŒPurpose:”h]”hŒPurpose:”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÉh³hÊh´KUhj ubjÚ)�”}”(hhh]”hÌ)�”}”(hŒ@Execute softirq handlers when threaded or when under heavy load.”h]”hŒ@Execute softirq handlers when threaded or when under heavy load.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KUhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jÙhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÃh³hÊh´KUhj×h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¾hj­h²hh³hÊh´NubhÌ)�”}”(hŒSTo reduce its OS jitter, each softirq vector must be handled separately as follows:”h]”hŒSTo reduce its OS jitter, each softirq vector must be handled separately as follows:”…”�”}”(hj>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KWhj­h²hubh¶)�”}”(hhh]”(h»)�”}”(hŒ TIMER_SOFTIRQ”h]”hŒ TIMER_SOFTIRQ”…”�”}”(hjOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjLh²hh³hÊh´K[ubhÌ)�”}”(hŒDo all of the following:”h]”hŒDo all of the following:”…”�”}”(hj]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K]hjLh²hubj<)�”}”(hhh]”(hò)�”}”(hŒ¹To the extent possible, keep the CPU out of the kernel when it is non-idle, for example, by avoiding system calls and by forcing both kernel threads and interrupts to execute elsewhere.”h]”hÌ)�”}”(hŒ¹To the extent possible, keep the CPU out of the kernel when it is non-idle, for example, by avoiding system calls and by forcing both kernel threads and interrupts to execute elsewhere.”h]”hŒ¹To the extent possible, keep the CPU out of the kernel when it is non-idle, for example, by avoiding system calls and by forcing both kernel threads and interrupts to execute elsewhere.”…”�”}”(hjrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K_hjnubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjkh²hh³hÊh´Nubhò)�”}”(hX¤Build with CONFIG_HOTPLUG_CPU=y. After boot completes, force the CPU offline, then bring it back online. This forces recurring timers to migrate elsewhere. If you are concerned with multiple CPUs, force them all offline before bringing the first one back online. Once you have onlined the CPUs in question, do not offline any other CPUs, because doing so could force the timer back onto one of the CPUs in question. ”h]”hÌ)�”}”(hX£Build with CONFIG_HOTPLUG_CPU=y. After boot completes, force the CPU offline, then bring it back online. This forces recurring timers to migrate elsewhere. If you are concerned with multiple CPUs, force them all offline before bringing the first one back online. Once you have onlined the CPUs in question, do not offline any other CPUs, because doing so could force the timer back onto one of the CPUs in question.”h]”hX£Build with CONFIG_HOTPLUG_CPU=y. After boot completes, force the CPU offline, then bring it back online. This forces recurring timers to migrate elsewhere. If you are concerned with multiple CPUs, force them all offline before bringing the first one back online. Once you have onlined the CPUs in question, do not offline any other CPUs, because doing so could force the timer back onto one of the CPUs in question.”…”�”}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kbhj†ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjkh²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jŽj�j�hj‘j’uh1j;hjLh²hh³hÊh´K_ubeh}”(h]”Œ timer-softirq”ah ]”h"]”Œ timer_softirq”ah$]”h&]”uh1hµhj­h²hh³hÊh´K[ubh¶)�”}”(hhh]”(h»)�”}”(hŒ!NET_TX_SOFTIRQ and NET_RX_SOFTIRQ”h]”hŒ!NET_TX_SOFTIRQ and NET_RX_SOFTIRQ”…”�”}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj¬h²hh³hÊh´KkubhÌ)�”}”(hŒDo all of the following:”h]”hŒDo all of the following:”…”�”}”(hj½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kmhj¬h²hubj<)�”}”(hhh]”(hò)�”}”(hŒ,Force networking interrupts onto other CPUs.”h]”hÌ)�”}”(hjÐh]”hŒ,Force networking interrupts onto other CPUs.”…”�”}”(hjÒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KohjÎubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjËh²hh³hÊh´Nubhò)�”}”(hŒ'Initiate any network I/O on other CPUs.”h]”hÌ)�”}”(hjçh]”hŒ'Initiate any network I/O on other CPUs.”…”�”}”(hjéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kphjåubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjËh²hh³hÊh´Nubhò)�”}”(hŒöOnce your application has started, prevent CPU-hotplug operations from being initiated from tasks that might run on the CPU to be de-jittered. (It is OK to force this CPU offline and then bring it back online before you start your application.) ”h]”hÌ)�”}”(hŒõOnce your application has started, prevent CPU-hotplug operations from being initiated from tasks that might run on the CPU to be de-jittered. (It is OK to force this CPU offline and then bring it back online before you start your application.)”h]”hŒõOnce your application has started, prevent CPU-hotplug operations from being initiated from tasks that might run on the CPU to be de-jittered. (It is OK to force this CPU offline and then bring it back online before you start your application.)”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kqhjüubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjËh²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jŽj�j�hj‘j’uh1j;hj¬h²hh³hÊh´Koubeh}”(h]”Œ!net-tx-softirq-and-net-rx-softirq”ah ]”h"]”Œ!net_tx_softirq and net_rx_softirq”ah$]”h&]”uh1hµhj­h²hh³hÊh´Kkubh¶)�”}”(hhh]”(h»)�”}”(hŒ BLOCK_SOFTIRQ”h]”hŒ BLOCK_SOFTIRQ”…”�”}”(hj%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj"h²hh³hÊh´KwubhÌ)�”}”(hŒDo all of the following:”h]”hŒDo all of the following:”…”�”}”(hj3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kyhj"h²hubj<)�”}”(hhh]”(hò)�”}”(hŒ2Force block-device interrupts onto some other CPU.”h]”hÌ)�”}”(hjFh]”hŒ2Force block-device interrupts onto some other CPU.”…”�”}”(hjHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K{hjDubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjAh²hh³hÊh´Nubhò)�”}”(hŒ%Initiate any block I/O on other CPUs.”h]”hÌ)�”}”(hj]h]”hŒ%Initiate any block I/O on other CPUs.”…”�”}”(hj_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K|hj[ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjAh²hh³hÊh´Nubhò)�”}”(hŒöOnce your application has started, prevent CPU-hotplug operations from being initiated from tasks that might run on the CPU to be de-jittered. (It is OK to force this CPU offline and then bring it back online before you start your application.) ”h]”hÌ)�”}”(hŒõOnce your application has started, prevent CPU-hotplug operations from being initiated from tasks that might run on the CPU to be de-jittered. (It is OK to force this CPU offline and then bring it back online before you start your application.)”h]”hŒõOnce your application has started, prevent CPU-hotplug operations from being initiated from tasks that might run on the CPU to be de-jittered. (It is OK to force this CPU offline and then bring it back online before you start your application.)”…”�”}”(hjvh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K}hjrubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjAh²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jŽj�j�hj‘j’uh1j;hj"h²hh³hÊh´K{ubeh}”(h]”Œ block-softirq”ah ]”h"]”Œ block_softirq”ah$]”h&]”uh1hµhj­h²hh³hÊh´Kwubh¶)�”}”(hhh]”(h»)�”}”(hŒIRQ_POLL_SOFTIRQ”h]”hŒIRQ_POLL_SOFTIRQ”…”�”}”(hj›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj˜h²hh³hÊh´KƒubhÌ)�”}”(hŒDo all of the following:”h]”hŒDo all of the following:”…”�”}”(hj©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K…hj˜h²hubj<)�”}”(hhh]”(hò)�”}”(hŒ2Force block-device interrupts onto some other CPU.”h]”hÌ)�”}”(hj¼h]”hŒ2Force block-device interrupts onto some other CPU.”…”�”}”(hj¾h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K‡hjºubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj·h²hh³hÊh´Nubhò)�”}”(hŒ;Initiate any block I/O and block-I/O polling on other CPUs.”h]”hÌ)�”}”(hjÓh]”hŒ;Initiate any block I/O and block-I/O polling on other CPUs.”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KˆhjÑubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj·h²hh³hÊh´Nubhò)�”}”(hŒöOnce your application has started, prevent CPU-hotplug operations from being initiated from tasks that might run on the CPU to be de-jittered. (It is OK to force this CPU offline and then bring it back online before you start your application.) ”h]”hÌ)�”}”(hŒõOnce your application has started, prevent CPU-hotplug operations from being initiated from tasks that might run on the CPU to be de-jittered. (It is OK to force this CPU offline and then bring it back online before you start your application.)”h]”hŒõOnce your application has started, prevent CPU-hotplug operations from being initiated from tasks that might run on the CPU to be de-jittered. (It is OK to force this CPU offline and then bring it back online before you start your application.)”…”�”}”(hjìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K‰hjèubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj·h²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jŽj�j�hj‘j’uh1j;hj˜h²hh³hÊh´K‡ubeh}”(h]”Œirq-poll-softirq”ah ]”h"]”Œirq_poll_softirq”ah$]”h&]”uh1hµhj­h²hh³hÊh´Kƒubh¶)�”}”(hhh]”(h»)�”}”(hŒTASKLET_SOFTIRQ”h]”hŒTASKLET_SOFTIRQ”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjh²hh³hÊh´K�ubhÌ)�”}”(hŒ Do one or more of the following:”h]”hŒ Do one or more of the following:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K‘hjh²hubj<)�”}”(hhh]”(hò)�”}”(hŒmAvoid use of drivers that use tasklets. (Such drivers will contain calls to things like tasklet_schedule().)”h]”hÌ)�”}”(hŒmAvoid use of drivers that use tasklets. (Such drivers will contain calls to things like tasklet_schedule().)”h]”hŒmAvoid use of drivers that use tasklets. (Such drivers will contain calls to things like tasklet_schedule().)”…”�”}”(hj4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K“hj0ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj-h²hh³hÊh´Nubhò)�”}”(hŒBConvert all drivers that you must use from tasklets to workqueues.”h]”hÌ)�”}”(hjJh]”hŒBConvert all drivers that you must use from tasklets to workqueues.”…”�”}”(hjLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K•hjHubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj-h²hh³hÊh´Nubhò)�”}”(hŒtForce interrupts for drivers using tasklets onto other CPUs, and also do I/O involving these drivers on other CPUs. ”h]”hÌ)�”}”(hŒsForce interrupts for drivers using tasklets onto other CPUs, and also do I/O involving these drivers on other CPUs.”h]”hŒsForce interrupts for drivers using tasklets onto other CPUs, and also do I/O involving these drivers on other CPUs.”…”�”}”(hjch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K–hj_ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj-h²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jŽj�j�hj‘j’uh1j;hjh²hh³hÊh´K“ubeh}”(h]”Œtasklet-softirq”ah ]”h"]”Œtasklet_softirq”ah$]”h&]”uh1hµhj­h²hh³hÊh´K�ubh¶)�”}”(hhh]”(h»)�”}”(hŒ SCHED_SOFTIRQ”h]”hŒ SCHED_SOFTIRQ”…”�”}”(hjˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj…h²hh³hÊh´KšubhÌ)�”}”(hŒDo all of the following:”h]”hŒDo all of the following:”…”�”}”(hj–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kœhj…h²hubj<)�”}”(hhh]”(hò)�”}”(hXAvoid sending scheduler IPIs to the CPU to be de-jittered, for example, ensure that at most one runnable kthread is present on that CPU. If a thread that expects to run on the de-jittered CPU awakens, the scheduler will send an IPI that can result in a subsequent SCHED_SOFTIRQ.”h]”hÌ)�”}”(hXAvoid sending scheduler IPIs to the CPU to be de-jittered, for example, ensure that at most one runnable kthread is present on that CPU. If a thread that expects to run on the de-jittered CPU awakens, the scheduler will send an IPI that can result in a subsequent SCHED_SOFTIRQ.”h]”hXAvoid sending scheduler IPIs to the CPU to be de-jittered, for example, ensure that at most one runnable kthread is present on that CPU. If a thread that expects to run on the de-jittered CPU awakens, the scheduler will send an IPI that can result in a subsequent SCHED_SOFTIRQ.”…”�”}”(hj«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kžhj§ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj¤h²hh³hÊh´Nubhò)�”}”(hXLCONFIG_NO_HZ_FULL=y and ensure that the CPU to be de-jittered is marked as an adaptive-ticks CPU using the "nohz_full=" boot parameter. This reduces the number of scheduler-clock interrupts that the de-jittered CPU receives, minimizing its chances of being selected to do the load balancing work that runs in SCHED_SOFTIRQ context.”h]”hÌ)�”}”(hXLCONFIG_NO_HZ_FULL=y and ensure that the CPU to be de-jittered is marked as an adaptive-ticks CPU using the "nohz_full=" boot parameter. This reduces the number of scheduler-clock interrupts that the de-jittered CPU receives, minimizing its chances of being selected to do the load balancing work that runs in SCHED_SOFTIRQ context.”h]”hXPCONFIG_NO_HZ_FULL=y and ensure that the CPU to be de-jittered is marked as an adaptive-ticks CPU using the “nohz_full=â€� boot parameter. This reduces the number of scheduler-clock interrupts that the de-jittered CPU receives, minimizing its chances of being selected to do the load balancing work that runs in SCHED_SOFTIRQ context.”…”�”}”(hjÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K£hj¿ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj¤h²hh³hÊh´Nubhò)�”}”(hXTo the extent possible, keep the CPU out of the kernel when it is non-idle, for example, by avoiding system calls and by forcing both kernel threads and interrupts to execute elsewhere. This further reduces the number of scheduler-clock interrupts received by the de-jittered CPU. ”h]”hÌ)�”}”(hXTo the extent possible, keep the CPU out of the kernel when it is non-idle, for example, by avoiding system calls and by forcing both kernel threads and interrupts to execute elsewhere. This further reduces the number of scheduler-clock interrupts received by the de-jittered CPU.”h]”hXTo the extent possible, keep the CPU out of the kernel when it is non-idle, for example, by avoiding system calls and by forcing both kernel threads and interrupts to execute elsewhere. This further reduces the number of scheduler-clock interrupts received by the de-jittered CPU.”…”�”}”(hjÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K©hj×ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj¤h²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jŽj�j�hj‘j’uh1j;hj…h²hh³hÊh´Kžubeh}”(h]”Œ sched-softirq”ah ]”h"]”Œ sched_softirq”ah$]”h&]”uh1hµhj­h²hh³hÊh´Kšubh¶)�”}”(hhh]”(h»)�”}”(hŒHRTIMER_SOFTIRQ”h]”hŒHRTIMER_SOFTIRQ”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjýh²hh³hÊh´K°ubhÌ)�”}”(hŒDo all of the following:”h]”hŒDo all of the following:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K²hjýh²hubj<)�”}”(hhh]”(hò)�”}”(hŒ¯To the extent possible, keep the CPU out of the kernel when it is non-idle. For example, avoid system calls and force both kernel threads and interrupts to execute elsewhere.”h]”hÌ)�”}”(hŒ¯To the extent possible, keep the CPU out of the kernel when it is non-idle. For example, avoid system calls and force both kernel threads and interrupts to execute elsewhere.”h]”hŒ¯To the extent possible, keep the CPU out of the kernel when it is non-idle. For example, avoid system calls and force both kernel threads and interrupts to execute elsewhere.”…”�”}”(hj#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K´hjubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjh²hh³hÊh´Nubhò)�”}”(hX£Build with CONFIG_HOTPLUG_CPU=y. Once boot completes, force the CPU offline, then bring it back online. This forces recurring timers to migrate elsewhere. If you are concerned with multiple CPUs, force them all offline before bringing the first one back online. Once you have onlined the CPUs in question, do not offline any other CPUs, because doing so could force the timer back onto one of the CPUs in question. ”h]”hÌ)�”}”(hX¢Build with CONFIG_HOTPLUG_CPU=y. Once boot completes, force the CPU offline, then bring it back online. This forces recurring timers to migrate elsewhere. If you are concerned with multiple CPUs, force them all offline before bringing the first one back online. Once you have onlined the CPUs in question, do not offline any other CPUs, because doing so could force the timer back onto one of the CPUs in question.”h]”hX¢Build with CONFIG_HOTPLUG_CPU=y. Once boot completes, force the CPU offline, then bring it back online. This forces recurring timers to migrate elsewhere. If you are concerned with multiple CPUs, force them all offline before bringing the first one back online. Once you have onlined the CPUs in question, do not offline any other CPUs, because doing so could force the timer back onto one of the CPUs in question.”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K·hj7ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjh²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jŽj�j�hj‘j’uh1j;hjýh²hh³hÊh´K´ubeh}”(h]”Œhrtimer-softirq”ah ]”h"]”Œhrtimer_softirq”ah$]”h&]”uh1hµhj­h²hh³hÊh´K°ubh¶)�”}”(hhh]”(h»)�”}”(hŒ RCU_SOFTIRQ”h]”hŒ RCU_SOFTIRQ”…”�”}”(hj`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj]h²hh³hÊh´KÀubhÌ)�”}”(hŒ!Do at least one of the following:”h]”hŒ!Do at least one of the following:”…”�”}”(hjnh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÂhj]h²hubj<)�”}”(hhh]”(hò)�”}”(hX@Offload callbacks and keep the CPU in either dyntick-idle or adaptive-ticks state by doing all of the following: a. CONFIG_NO_HZ_FULL=y and ensure that the CPU to be de-jittered is marked as an adaptive-ticks CPU using the "nohz_full=" boot parameter. Bind the rcuo kthreads to housekeeping CPUs, which can tolerate OS jitter. b. To the extent possible, keep the CPU out of the kernel when it is non-idle, for example, by avoiding system calls and by forcing both kernel threads and interrupts to execute elsewhere. ”h]”(hÌ)�”}”(hŒpOffload callbacks and keep the CPU in either dyntick-idle or adaptive-ticks state by doing all of the following:”h]”hŒpOffload callbacks and keep the CPU in either dyntick-idle or adaptive-ticks state by doing all of the following:”…”�”}”(hjƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÄhjubj<)�”}”(hhh]”(hò)�”}”(hŒÓCONFIG_NO_HZ_FULL=y and ensure that the CPU to be de-jittered is marked as an adaptive-ticks CPU using the "nohz_full=" boot parameter. Bind the rcuo kthreads to housekeeping CPUs, which can tolerate OS jitter.”h]”hÌ)�”}”(hŒÓCONFIG_NO_HZ_FULL=y and ensure that the CPU to be de-jittered is marked as an adaptive-ticks CPU using the "nohz_full=" boot parameter. Bind the rcuo kthreads to housekeeping CPUs, which can tolerate OS jitter.”h]”hŒ×CONFIG_NO_HZ_FULL=y and ensure that the CPU to be de-jittered is marked as an adaptive-ticks CPU using the “nohz_full=â€� boot parameter. Bind the rcuo kthreads to housekeeping CPUs, which can tolerate OS jitter.”…”�”}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÇhj”ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj‘ubhò)�”}”(hŒºTo the extent possible, keep the CPU out of the kernel when it is non-idle, for example, by avoiding system calls and by forcing both kernel threads and interrupts to execute elsewhere. ”h]”hÌ)�”}”(hŒ¹To the extent possible, keep the CPU out of the kernel when it is non-idle, for example, by avoiding system calls and by forcing both kernel threads and interrupts to execute elsewhere.”h]”hŒ¹To the extent possible, keep the CPU out of the kernel when it is non-idle, for example, by avoiding system calls and by forcing both kernel threads and interrupts to execute elsewhere.”…”�”}”(hj°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KËhj¬ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj‘ubeh}”(h]”h ]”h"]”h$]”h&]”jŽŒ loweralpha”j�hj‘j’uh1j;hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1hñhj|h²hh³Nh´Nubhò)�”}”(hX Enable RCU to do its processing remotely via dyntick-idle by doing all of the following: a. Build with CONFIG_NO_HZ=y. b. Ensure that the CPU goes idle frequently, allowing other CPUs to detect that it has passed through an RCU quiescent state. If the kernel is built with CONFIG_NO_HZ_FULL=y, userspace execution also allows other CPUs to detect that the CPU in question has passed through a quiescent state. c. To the extent possible, keep the CPU out of the kernel when it is non-idle, for example, by avoiding system calls and by forcing both kernel threads and interrupts to execute elsewhere. ”h]”(hÌ)�”}”(hŒXEnable RCU to do its processing remotely via dyntick-idle by doing all of the following:”h]”hŒXEnable RCU to do its processing remotely via dyntick-idle by doing all of the following:”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÐhjÑubj<)�”}”(hhh]”(hò)�”}”(hŒBuild with CONFIG_NO_HZ=y.”h]”hÌ)�”}”(hjèh]”hŒBuild with CONFIG_NO_HZ=y.”…”�”}”(hjêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÓhjæubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjãubhò)�”}”(hX Ensure that the CPU goes idle frequently, allowing other CPUs to detect that it has passed through an RCU quiescent state. If the kernel is built with CONFIG_NO_HZ_FULL=y, userspace execution also allows other CPUs to detect that the CPU in question has passed through a quiescent state.”h]”hÌ)�”}”(hX Ensure that the CPU goes idle frequently, allowing other CPUs to detect that it has passed through an RCU quiescent state. If the kernel is built with CONFIG_NO_HZ_FULL=y, userspace execution also allows other CPUs to detect that the CPU in question has passed through a quiescent state.”h]”hX Ensure that the CPU goes idle frequently, allowing other CPUs to detect that it has passed through an RCU quiescent state. If the kernel is built with CONFIG_NO_HZ_FULL=y, userspace execution also allows other CPUs to detect that the CPU in question has passed through a quiescent state.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÔhjýubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjãubhò)�”}”(hŒºTo the extent possible, keep the CPU out of the kernel when it is non-idle, for example, by avoiding system calls and by forcing both kernel threads and interrupts to execute elsewhere. ”h]”hÌ)�”}”(hŒ¹To the extent possible, keep the CPU out of the kernel when it is non-idle, for example, by avoiding system calls and by forcing both kernel threads and interrupts to execute elsewhere.”h]”hŒ¹To the extent possible, keep the CPU out of the kernel when it is non-idle, for example, by avoiding system calls and by forcing both kernel threads and interrupts to execute elsewhere.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÙhjubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhjãubeh}”(h]”h ]”h"]”h$]”h&]”jŽjÊj�hj‘j’uh1j;hjÑubeh}”(h]”h ]”h"]”h$]”h&]”uh1hñhj|h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jŽj�j�hj‘j’uh1j;hj]h²hh³hÊh´KÄubj¿)�”}”(hhh]”(jÄ)�”}”(hŒ*Name: kworker/%u:%d%s (cpu, id, priority) ”h]”(jÊ)�”}”(hŒName:”h]”hŒName:”…”�”}”(hjFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÉh³hÊh´KßhjBubjÚ)�”}”(hhh]”hÌ)�”}”(hŒ#kworker/%u:%d%s (cpu, id, priority)”h]”hŒ#kworker/%u:%d%s (cpu, id, priority)”…”�”}”(hjWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KßhjTubah}”(h]”h ]”h"]”h$]”h&]”uh1jÙhjBubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÃh³hÊh´Kßhj?ubjÄ)�”}”(hŒ$Purpose: Execute workqueue requests ”h]”(jÊ)�”}”(hŒPurpose:”h]”hŒPurpose:”…”�”}”(hjuh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÉh³hÊh´KâhjqubjÚ)�”}”(hhh]”hÌ)�”}”(hŒExecute workqueue requests”h]”hŒExecute workqueue requests”…”�”}”(hj†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kâhjƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jÙhjqubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÃh³hÊh´Kâhj?h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¾hj]h²hh³hÊh´NubhÌ)�”}”(hŒ1To reduce its OS jitter, do any of the following:”h]”hŒ1To reduce its OS jitter, do any of the following:”…”�”}”(hj¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kähj]h²hubj<)�”}”(hhh]”(hò)�”}”(hŒ[Run your workload at a real-time priority, which will allow preempting the kworker daemons.”h]”hÌ)�”}”(hŒ[Run your workload at a real-time priority, which will allow preempting the kworker daemons.”h]”hŒ[Run your workload at a real-time priority, which will allow preempting the kworker daemons.”…”�”}”(hj»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kæhj·ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj´h²hh³hÊh´Nubhò)�”}”(hX©A given workqueue can be made visible in the sysfs filesystem by passing the WQ_SYSFS to that workqueue's alloc_workqueue(). Such a workqueue can be confined to a given subset of the CPUs using the ``/sys/devices/virtual/workqueue/*/cpumask`` sysfs files. The set of WQ_SYSFS workqueues can be displayed using "ls /sys/devices/virtual/workqueue". That said, the workqueues maintainer would like to caution people against indiscriminately sprinkling WQ_SYSFS across all the workqueues. The reason for caution is that it is easy to add WQ_SYSFS, but because sysfs is part of the formal user/kernel API, it can be nearly impossible to remove it, even if its addition was a mistake.”h]”hÌ)�”}”(hX©A given workqueue can be made visible in the sysfs filesystem by passing the WQ_SYSFS to that workqueue's alloc_workqueue(). Such a workqueue can be confined to a given subset of the CPUs using the ``/sys/devices/virtual/workqueue/*/cpumask`` sysfs files. The set of WQ_SYSFS workqueues can be displayed using "ls /sys/devices/virtual/workqueue". That said, the workqueues maintainer would like to caution people against indiscriminately sprinkling WQ_SYSFS across all the workqueues. The reason for caution is that it is easy to add WQ_SYSFS, but because sysfs is part of the formal user/kernel API, it can be nearly impossible to remove it, even if its addition was a mistake.”h]”(hŒÈA given workqueue can be made visible in the sysfs filesystem by passing the WQ_SYSFS to that workqueue’s alloc_workqueue(). Such a workqueue can be confined to a given subset of the CPUs using the ”…”�”}”(hjÓh²hh³Nh´NubhŒliteral”“”)�”}”(hŒ,``/sys/devices/virtual/workqueue/*/cpumask``”h]”hŒ(/sys/devices/virtual/workqueue/*/cpumask”…”�”}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÛhjÓubhX» sysfs files. The set of WQ_SYSFS workqueues can be displayed using “ls /sys/devices/virtual/workqueueâ€�. That said, the workqueues maintainer would like to caution people against indiscriminately sprinkling WQ_SYSFS across all the workqueues. The reason for caution is that it is easy to add WQ_SYSFS, but because sysfs is part of the formal user/kernel API, it can be nearly impossible to remove it, even if its addition was a mistake.”…”�”}”(hjÓh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KèhjÏubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj´h²hh³hÊh´Nubhò)�”}”(hXD Do any of the following needed to avoid jitter that your application cannot tolerate: a. Avoid using oprofile, thus avoiding OS jitter from wq_sync_buffer(). b. Limit your CPU frequency so that a CPU-frequency governor is not required, possibly enlisting the aid of special heatsinks or other cooling technologies. If done correctly, and if you CPU architecture permits, you should be able to build your kernel with CONFIG_CPU_FREQ=n to avoid the CPU-frequency governor periodically running on each CPU, including cs_dbs_timer() and od_dbs_timer(). WARNING: Please check your CPU specifications to make sure that this is safe on your particular system. c. As of v3.18, Christoph Lameter's on-demand vmstat workers commit prevents OS jitter due to vmstat_update() on CONFIG_SMP=y systems. Before v3.18, is not possible to entirely get rid of the OS jitter, but you can decrease its frequency by writing a large value to /proc/sys/vm/stat_interval. The default value is HZ, for an interval of one second. Of course, larger values will make your virtual-memory statistics update more slowly. Of course, you can also run your workload at a real-time priority, thus preempting vmstat_update(), but if your workload is CPU-bound, this is a bad idea. However, there is an RFC patch from Christoph Lameter (based on an earlier one from Gilad Ben-Yossef) that reduces or even eliminates vmstat overhead for some workloads at https://lore.kernel.org/r/00000140e9dfd6bd-40db3d4f-c1be-434f-8132-7820f81bb586-000000@email.amazonses.com. d. If running on high-end powerpc servers, build with CONFIG_PPC_RTAS_DAEMON=n. This prevents the RTAS daemon from running on each CPU every second or so. (This will require editing Kconfig files and will defeat this platform's RAS functionality.) This avoids jitter due to the rtas_event_scan() function. WARNING: Please check your CPU specifications to make sure that this is safe on your particular system. e. If running on PowerMAC, build your kernel with CONFIG_PMAC_RACKMETER=n to disable the CPU-meter, avoiding OS jitter from rackmeter_do_timer(). ”h]”(hÌ)�”}”(hŒUDo any of the following needed to avoid jitter that your application cannot tolerate:”h]”hŒUDo any of the following needed to avoid jitter that your application cannot tolerate:”…”�”}”(hjÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kóhjûubj<)�”}”(hhh]”(hò)�”}”(hŒDAvoid using oprofile, thus avoiding OS jitter from wq_sync_buffer().”h]”hÌ)�”}”(hŒDAvoid using oprofile, thus avoiding OS jitter from wq_sync_buffer().”h]”hŒDAvoid using oprofile, thus avoiding OS jitter from wq_sync_buffer().”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Köhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj ubhò)�”}”(hXîLimit your CPU frequency so that a CPU-frequency governor is not required, possibly enlisting the aid of special heatsinks or other cooling technologies. If done correctly, and if you CPU architecture permits, you should be able to build your kernel with CONFIG_CPU_FREQ=n to avoid the CPU-frequency governor periodically running on each CPU, including cs_dbs_timer() and od_dbs_timer(). WARNING: Please check your CPU specifications to make sure that this is safe on your particular system.”h]”(hÌ)�”}”(hX„Limit your CPU frequency so that a CPU-frequency governor is not required, possibly enlisting the aid of special heatsinks or other cooling technologies. If done correctly, and if you CPU architecture permits, you should be able to build your kernel with CONFIG_CPU_FREQ=n to avoid the CPU-frequency governor periodically running on each CPU, including cs_dbs_timer() and od_dbs_timer().”h]”hX„Limit your CPU frequency so that a CPU-frequency governor is not required, possibly enlisting the aid of special heatsinks or other cooling technologies. If done correctly, and if you CPU architecture permits, you should be able to build your kernel with CONFIG_CPU_FREQ=n to avoid the CPU-frequency governor periodically running on each CPU, including cs_dbs_timer() and od_dbs_timer().”…”�”}”(hj, h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Køhj( ubhÌ)�”}”(hŒhWARNING: Please check your CPU specifications to make sure that this is safe on your particular system.”h]”hŒhWARNING: Please check your CPU specifications to make sure that this is safe on your particular system.”…”�”}”(hj: h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhj( ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hñhj ubhò)�”}”(hXgAs of v3.18, Christoph Lameter's on-demand vmstat workers commit prevents OS jitter due to vmstat_update() on CONFIG_SMP=y systems. Before v3.18, is not possible to entirely get rid of the OS jitter, but you can decrease its frequency by writing a large value to /proc/sys/vm/stat_interval. The default value is HZ, for an interval of one second. Of course, larger values will make your virtual-memory statistics update more slowly. Of course, you can also run your workload at a real-time priority, thus preempting vmstat_update(), but if your workload is CPU-bound, this is a bad idea. However, there is an RFC patch from Christoph Lameter (based on an earlier one from Gilad Ben-Yossef) that reduces or even eliminates vmstat overhead for some workloads at https://lore.kernel.org/r/00000140e9dfd6bd-40db3d4f-c1be-434f-8132-7820f81bb586-000000@email.amazonses.com.”h]”hÌ)�”}”(hXgAs of v3.18, Christoph Lameter's on-demand vmstat workers commit prevents OS jitter due to vmstat_update() on CONFIG_SMP=y systems. Before v3.18, is not possible to entirely get rid of the OS jitter, but you can decrease its frequency by writing a large value to /proc/sys/vm/stat_interval. The default value is HZ, for an interval of one second. Of course, larger values will make your virtual-memory statistics update more slowly. Of course, you can also run your workload at a real-time priority, thus preempting vmstat_update(), but if your workload is CPU-bound, this is a bad idea. However, there is an RFC patch from Christoph Lameter (based on an earlier one from Gilad Ben-Yossef) that reduces or even eliminates vmstat overhead for some workloads at https://lore.kernel.org/r/00000140e9dfd6bd-40db3d4f-c1be-434f-8132-7820f81bb586-000000@email.amazonses.com.”h]”(hXþAs of v3.18, Christoph Lameter’s on-demand vmstat workers commit prevents OS jitter due to vmstat_update() on CONFIG_SMP=y systems. Before v3.18, is not possible to entirely get rid of the OS jitter, but you can decrease its frequency by writing a large value to /proc/sys/vm/stat_interval. The default value is HZ, for an interval of one second. Of course, larger values will make your virtual-memory statistics update more slowly. Of course, you can also run your workload at a real-time priority, thus preempting vmstat_update(), but if your workload is CPU-bound, this is a bad idea. However, there is an RFC patch from Christoph Lameter (based on an earlier one from Gilad Ben-Yossef) that reduces or even eliminates vmstat overhead for some workloads at ”…”�”}”(hjR h²hh³Nh´NubhŒ reference”“”)�”}”(hŒjhttps://lore.kernel.org/r/00000140e9dfd6bd-40db3d4f-c1be-434f-8132-7820f81bb586-000000@email.amazonses.com”h]”hŒjhttps://lore.kernel.org/r/00000140e9dfd6bd-40db3d4f-c1be-434f-8132-7820f81bb586-000000@email.amazonses.com”…”�”}”(hj\ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”j^ uh1jZ hjR ubhŒ.”…”�”}”(hjR h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MhjN ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj ubhò)�”}”(hX™If running on high-end powerpc servers, build with CONFIG_PPC_RTAS_DAEMON=n. This prevents the RTAS daemon from running on each CPU every second or so. (This will require editing Kconfig files and will defeat this platform's RAS functionality.) This avoids jitter due to the rtas_event_scan() function. WARNING: Please check your CPU specifications to make sure that this is safe on your particular system.”h]”hÌ)�”}”(hX™If running on high-end powerpc servers, build with CONFIG_PPC_RTAS_DAEMON=n. This prevents the RTAS daemon from running on each CPU every second or so. (This will require editing Kconfig files and will defeat this platform's RAS functionality.) This avoids jitter due to the rtas_event_scan() function. WARNING: Please check your CPU specifications to make sure that this is safe on your particular system.”h]”hX›If running on high-end powerpc servers, build with CONFIG_PPC_RTAS_DAEMON=n. This prevents the RTAS daemon from running on each CPU every second or so. (This will require editing Kconfig files and will defeat this platform’s RAS functionality.) This avoids jitter due to the rtas_event_scan() function. WARNING: Please check your CPU specifications to make sure that this is safe on your particular system.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhj{ ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj ubhò)�”}”(hŒ�If running on PowerMAC, build your kernel with CONFIG_PMAC_RACKMETER=n to disable the CPU-meter, avoiding OS jitter from rackmeter_do_timer(). ”h]”hÌ)�”}”(hŒŽIf running on PowerMAC, build your kernel with CONFIG_PMAC_RACKMETER=n to disable the CPU-meter, avoiding OS jitter from rackmeter_do_timer().”h]”hŒŽIf running on PowerMAC, build your kernel with CONFIG_PMAC_RACKMETER=n to disable the CPU-meter, avoiding OS jitter from rackmeter_do_timer().”…”�”}”(hj— h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhj“ ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj ubeh}”(h]”h ]”h"]”h$]”h&]”jŽjÊj�hj‘j’uh1j;hjûubeh}”(h]”h ]”h"]”h$]”h&]”uh1hñhj´h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jŽj�j�hj‘j’uh1j;hj]h²hh³hÊh´Kæubj¿)�”}”(hhh]”(jÄ)�”}”(hŒName: rcuc/%u ”h]”(jÊ)�”}”(hŒName:”h]”hŒName:”…”�”}”(hjÄ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÉh³hÊh´MhjÀ ubjÚ)�”}”(hhh]”hÌ)�”}”(hŒrcuc/%u”h]”hŒrcuc/%u”…”�”}”(hjÕ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MhjÒ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÙhjÀ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÃh³hÊh´Mhj½ ubjÄ)�”}”(hŒ>Purpose: Execute RCU callbacks in CONFIG_RCU_BOOST=y kernels. ”h]”(jÊ)�”}”(hŒPurpose:”h]”hŒPurpose:”…”�”}”(hjó h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÉh³hÊh´M!hjï ubjÚ)�”}”(hhh]”hÌ)�”}”(hŒ4Execute RCU callbacks in CONFIG_RCU_BOOST=y kernels.”h]”hŒ4Execute RCU callbacks in CONFIG_RCU_BOOST=y kernels.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M!hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÙhjï ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÃh³hÊh´M!hj½ h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¾hj]h²hh³hÊh´NubhÌ)�”}”(hŒ:To reduce its OS jitter, do at least one of the following:”h]”hŒ:To reduce its OS jitter, do at least one of the following:”…”�”}”(hj$ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M#hj]h²hubj<)�”}”(hhh]”(hò)�”}”(hŒÿBuild the kernel with CONFIG_PREEMPT=n. This prevents these kthreads from being created in the first place, and also obviates the need for RCU priority boosting. This approach is feasible for workloads that do not require high degrees of responsiveness.”h]”hÌ)�”}”(hŒÿBuild the kernel with CONFIG_PREEMPT=n. This prevents these kthreads from being created in the first place, and also obviates the need for RCU priority boosting. This approach is feasible for workloads that do not require high degrees of responsiveness.”h]”hŒÿBuild the kernel with CONFIG_PREEMPT=n. This prevents these kthreads from being created in the first place, and also obviates the need for RCU priority boosting. This approach is feasible for workloads that do not require high degrees of responsiveness.”…”�”}”(hj9 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M%hj5 ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj2 h²hh³hÊh´Nubhò)�”}”(hX%Build the kernel with CONFIG_RCU_BOOST=n. This prevents these kthreads from being created in the first place. This approach is feasible only if your workload never requires RCU priority boosting, for example, if you ensure frequent idle time on all CPUs that might execute within the kernel.”h]”hÌ)�”}”(hX%Build the kernel with CONFIG_RCU_BOOST=n. This prevents these kthreads from being created in the first place. This approach is feasible only if your workload never requires RCU priority boosting, for example, if you ensure frequent idle time on all CPUs that might execute within the kernel.”h]”hX%Build the kernel with CONFIG_RCU_BOOST=n. This prevents these kthreads from being created in the first place. This approach is feasible only if your workload never requires RCU priority boosting, for example, if you ensure frequent idle time on all CPUs that might execute within the kernel.”…”�”}”(hjQ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M)hjM ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj2 h²hh³hÊh´Nubhò)�”}”(hŒ÷Build with CONFIG_RCU_NOCB_CPU=y and boot with the rcu_nocbs= boot parameter offloading RCU callbacks from all CPUs susceptible to OS jitter. This approach prevents the rcuc/%u kthreads from having any work to do, so that they are never awakened.”h]”hÌ)�”}”(hŒ÷Build with CONFIG_RCU_NOCB_CPU=y and boot with the rcu_nocbs= boot parameter offloading RCU callbacks from all CPUs susceptible to OS jitter. This approach prevents the rcuc/%u kthreads from having any work to do, so that they are never awakened.”h]”hŒ÷Build with CONFIG_RCU_NOCB_CPU=y and boot with the rcu_nocbs= boot parameter offloading RCU callbacks from all CPUs susceptible to OS jitter. This approach prevents the rcuc/%u kthreads from having any work to do, so that they are never awakened.”…”�”}”(hji h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M.hje ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj2 h²hh³hÊh´Nubhò)�”}”(hX Ensure that the CPU never enters the kernel, and, in particular, avoid initiating any CPU hotplug operations on this CPU. This is another way of preventing any callbacks from being queued on the CPU, again preventing the rcuc/%u kthreads from having any work to do. ”h]”hÌ)�”}”(hX Ensure that the CPU never enters the kernel, and, in particular, avoid initiating any CPU hotplug operations on this CPU. This is another way of preventing any callbacks from being queued on the CPU, again preventing the rcuc/%u kthreads from having any work to do.”h]”hX Ensure that the CPU never enters the kernel, and, in particular, avoid initiating any CPU hotplug operations on this CPU. This is another way of preventing any callbacks from being queued on the CPU, again preventing the rcuc/%u kthreads from having any work to do.”…”�”}”(hj� h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M2hj} ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj2 h²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jŽj�j�hj‘j’uh1j;hj]h²hh³hÊh´M%ubj¿)�”}”(hhh]”(jÄ)�”}”(hŒ'Name: rcuop/%d, rcuos/%d, and rcuog/%d ”h]”(jÊ)�”}”(hŒName:”h]”hŒName:”…”�”}”(hj¢ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÉh³hÊh´M9hjž ubjÚ)�”}”(hhh]”hÌ)�”}”(hŒ rcuop/%d, rcuos/%d, and rcuog/%d”h]”hŒ rcuop/%d, rcuos/%d, and rcuog/%d”…”�”}”(hj³ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M9hj° ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÙhjž ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÃh³hÊh´M9hj› ubjÄ)�”}”(hŒ;Purpose: Offload RCU callbacks from the corresponding CPU. ”h]”(jÊ)�”}”(hŒPurpose:”h]”hŒPurpose:”…”�”}”(hjÑ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÉh³hÊh´M<hjÍ ubjÚ)�”}”(hhh]”hÌ)�”}”(hŒ1Offload RCU callbacks from the corresponding CPU.”h]”hŒ1Offload RCU callbacks from the corresponding CPU.”…”�”}”(hjâ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M<hjß ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÙhjÍ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÃh³hÊh´M<hj› h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¾hj]h²hh³hÊh´NubhÌ)�”}”(hŒ:To reduce its OS jitter, do at least one of the following:”h]”hŒ:To reduce its OS jitter, do at least one of the following:”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M>hj]h²hubj<)�”}”(hhh]”(hò)�”}”(hŒ_Use affinity, cgroups, or other mechanism to force these kthreads to execute on some other CPU.”h]”hÌ)�”}”(hŒ_Use affinity, cgroups, or other mechanism to force these kthreads to execute on some other CPU.”h]”hŒ_Use affinity, cgroups, or other mechanism to force these kthreads to execute on some other CPU.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M@hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj h²hh³hÊh´Nubhò)�”}”(hŒÒBuild with CONFIG_RCU_NOCB_CPU=n, which will prevent these kthreads from being created in the first place. However, please note that this will not eliminate OS jitter, but will instead shift it to RCU_SOFTIRQ.”h]”hÌ)�”}”(hŒÒBuild with CONFIG_RCU_NOCB_CPU=n, which will prevent these kthreads from being created in the first place. However, please note that this will not eliminate OS jitter, but will instead shift it to RCU_SOFTIRQ.”h]”hŒÒBuild with CONFIG_RCU_NOCB_CPU=n, which will prevent these kthreads from being created in the first place. However, please note that this will not eliminate OS jitter, but will instead shift it to RCU_SOFTIRQ.”…”�”}”(hj/ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MBhj+ ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj h²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jŽj�j�hj‘j’uh1j;hj]h²hh³hÊh´M@ubeh}”(h]”Œ rcu-softirq”ah ]”h"]”Œ rcu_softirq”ah$]”h&]”uh1hµhj­h²hh³hÊh´KÀubeh}”(h]”Œkthreads”ah ]”h"]”Œkthreads”ah$]”h&]”uh1hµhh·h²hh³hÊh´K#ubeh}”(h]”Œ*reducing-os-jitter-due-to-per-cpu-kthreads”ah ]”h"]”Œ*reducing os jitter due to per-cpu kthreads”ah$]”h&]”uh1hµhhh²hh³hÊh´Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÊuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)�”}”(hºNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”j„ Œerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÊŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(j^ j[ jªj§jV jS j©j¦jjj•j’j jj‚jjúj÷jZjWjN jK uŒ nametypes”}”(j^ ‰jª‰jV ‰j©‰j‰j•‰j ‰j‚‰jú‰jZ‰jN ‰uh}”(j[ h·j§hÛjS j­j¦jLjj¬j’j"jj˜jjj÷j…jWjýjK j]uŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.