€•BŒ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”Œ-/translations/zh_CN/trace/rv/monitor_deadline”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ-/translations/zh_TW/trace/rv/monitor_deadline”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ-/translations/it_IT/trace/rv/monitor_deadline”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ-/translations/ja_JP/trace/rv/monitor_deadline”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ-/translations/ko_KR/trace/rv/monitor_deadline”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ-/translations/pt_BR/trace/rv/monitor_deadline”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ-/translations/sp_SP/trace/rv/monitor_deadline”Œ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ŒDeadline monitors”h]”hŒDeadline monitors”…””}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³ŒG/var/lib/git/docbuild/linux/Documentation/trace/rv/monitor_deadline.rst”h´KubhŒ bullet_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hŒName: deadline”h]”hŒ paragraph”“”)”}”(hhÔh]”hŒName: deadline”…””}”(hhØh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖh³hÊh´KhhÒubah}”(h]”h ]”h"]”h$]”h&]”uh1hÐhhÍh²hh³hÊh´NubhÑ)”}”(hŒ%Type: container for multiple monitors”h]”h×)”}”(hhíh]”hŒ%Type: container for multiple monitors”…””}”(hhïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖh³hÊh´Khhëubah}”(h]”h ]”h"]”h$]”h&]”uh1hÐhhÍh²hh³hÊh´NubhÑ)”}”(hŒ-Author: Gabriele Monaco ”h]”h×)”}”(hŒ,Author: Gabriele Monaco ”h]”(hŒAuthor: Gabriele Monaco <”…””}”(hjh²hh³Nh´NubhŒ reference”“”)”}”(hŒgmonaco@redhat.com”h]”hŒgmonaco@redhat.com”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:gmonaco@redhat.com”uh1jhjubhŒ>”…””}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÖh³hÊh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1hÐhhÍh²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1hËh³hÊh´Khh·h²hubh¶)”}”(hhh]”(h»)”}”(hŒ Description”h]”hŒ Description”…””}”(hj;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj8h²hh³hÊh´K ubh×)”}”(hXThe deadline monitor is a set of specifications to describe the deadline scheduler behaviour. It includes monitors per scheduling entity (deadline tasks and servers) that work independently to verify different specifications the deadline scheduler should follow.”h]”hXThe deadline monitor is a set of specifications to describe the deadline scheduler behaviour. It includes monitors per scheduling entity (deadline tasks and servers) that work independently to verify different specifications the deadline scheduler should follow.”…””}”(hjIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖh³hÊh´K hj8h²hubeh}”(h]”Œ description”ah ]”h"]”Œ description”ah$]”h&]”uh1hµhh·h²hh³hÊh´K ubh¶)”}”(hhh]”(h»)”}”(hŒSpecifications”h]”hŒSpecifications”…””}”(hjbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj_h²hh³hÊh´Kubh¶)”}”(hhh]”(h»)”}”(hŒMonitor nomiss”h]”hŒMonitor nomiss”…””}”(hjsh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjph²hh³hÊh´Kubh×)”}”(hXYThe nomiss monitor ensures dl entities get to run *and* run to completion before their deadline, although deferrable servers may not run. An entity is considered done if ``throttled``, either because it yielded or used up its runtime, or when it voluntarily starts ``sleeping``. The monitor includes a user configurable deadline threshold. If the total utilisation of deadline tasks is larger than 1, they are only guaranteed bounded tardiness. See Documentation/scheduler/sched-deadline.rst for more details. The threshold (module parameter ``nomiss.deadline_thresh``) can be configured to avoid the monitor to fail based on the acceptable tardiness in the system. Since ``dl_throttle`` is a valid outcome for the entity to be done, the minimum tardiness needs be 1 tick to consider the throttle delay, unless the ``HRTICK_DL`` scheduler feature is active.”h]”(hŒ2The nomiss monitor ensures dl entities get to run ”…””}”(hjh²hh³Nh´NubhŒemphasis”“”)”}”(hŒ*and*”h]”hŒand”…””}”(hj‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‰hjubhŒs run to completion before their deadline, although deferrable servers may not run. An entity is considered done if ”…””}”(hjh²hh³Nh´NubhŒliteral”“”)”}”(hŒ ``throttled``”h]”hŒ throttled”…””}”(hjŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubhŒR, either because it yielded or used up its runtime, or when it voluntarily starts ”…””}”(hjh²hh³Nh´Nubjž)”}”(hŒ ``sleeping``”h]”hŒsleeping”…””}”(hj±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubhX . The monitor includes a user configurable deadline threshold. If the total utilisation of deadline tasks is larger than 1, they are only guaranteed bounded tardiness. See Documentation/scheduler/sched-deadline.rst for more details. The threshold (module parameter ”…””}”(hjh²hh³Nh´Nubjž)”}”(hŒ``nomiss.deadline_thresh``”h]”hŒnomiss.deadline_thresh”…””}”(hjÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubhŒh) can be configured to avoid the monitor to fail based on the acceptable tardiness in the system. Since ”…””}”(hjh²hh³Nh´Nubjž)”}”(hŒ``dl_throttle``”h]”hŒ dl_throttle”…””}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubhŒ€ is a valid outcome for the entity to be done, the minimum tardiness needs be 1 tick to consider the throttle delay, unless the ”…””}”(hjh²hh³Nh´Nubjž)”}”(hŒ ``HRTICK_DL``”h]”hŒ HRTICK_DL”…””}”(hjçh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubhŒ scheduler feature is active.”…””}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÖh³hÊh´Khjph²hubh×)”}”(hXaServers have also an intermediate ``idle`` state, occurring as soon as no runnable task is available from ready or running where no timing constraint is applied. A server goes to sleep by stopping, there is no wakeup equivalent as the order of a server starting and replenishing is not defined, hence a server can run from sleeping without being ready::”h]”(hŒ"Servers have also an intermediate ”…””}”(hjÿh²hh³Nh´Nubjž)”}”(hŒ``idle``”h]”hŒidle”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÿubhX6 state, occurring as soon as no runnable task is available from ready or running where no timing constraint is applied. A server goes to sleep by stopping, there is no wakeup equivalent as the order of a server starting and replenishing is not defined, hence a server can run from sleeping without being ready:”…””}”(hjÿh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÖh³hÊh´K#hjph²hubhŒ literal_block”“”)”}”(hX | sched_wakeup v dl_replenish;reset(clk) -- #=========================# | H H dl_replenish;reset(clk) +-----------> H H <--------------------+ H H | +- dl_server_stop ---- H ready H | | +-----------------> H clk < DEADLINE_NS() H dl_throttle; | | | H H is_defer == 1 | | | sched_switch_in - H H -----------------+ | | | | #=========================# | | | | | | ^ | | | | | dl_server_idle dl_replenish;reset(clk) | | | | | v | | | | | | +--------------+ | | | | | +------ | | | | | | | dl_server_idle | | dl_throttle | | | | | | | idle | -----------------+ | | | | | +-----> | | | | | | | | | | | | | | | | | | | | | +--+--+---+--- dl_server_stop -- +--------------+ | | | | | | | | ^ | | | | | | | sched_switch_in dl_server_idle | | | | | | | v | | | | | | | | +---------- +---------------------+ | | | | | | | sched_switch_in | | | | | | | | | sched_wakeup | | | | | | | | | dl_replenish; | running | -------+ | | | | | | | reset(clk) | clk < DEADLINE_NS() | | | | | | | | | +---------> | | dl_throttle | | | | | | +----------------> | | | | | | | | | +---------------------+ | | | | | | sched_wakeup ^ sched_switch_suspend | | | | v v dl_replenish;reset(clk) | dl_server_stop | | | | +--------------+ | | v v v | | | - sched_switch_in + | +---------------+ | | <---------------------+ dl_throttle +-- | | | sleeping | sched_wakeup | | throttled | | | -- dl_server_stop dl_server_idle +-> | | | | dl_server_idle sched_switch_suspend +---------------+ +--------------+ <---------+ ^ | | +------ dl_throttle;is_constr_dl == 1 || is_defer == 1 ------+”h]”hX | sched_wakeup v dl_replenish;reset(clk) -- #=========================# | H H dl_replenish;reset(clk) +-----------> H H <--------------------+ H H | +- dl_server_stop ---- H ready H | | +-----------------> H clk < DEADLINE_NS() H dl_throttle; | | | H H is_defer == 1 | | | sched_switch_in - H H -----------------+ | | | | #=========================# | | | | | | ^ | | | | | dl_server_idle dl_replenish;reset(clk) | | | | | v | | | | | | +--------------+ | | | | | +------ | | | | | | | dl_server_idle | | dl_throttle | | | | | | | idle | -----------------+ | | | | | +-----> | | | | | | | | | | | | | | | | | | | | | +--+--+---+--- dl_server_stop -- +--------------+ | | | | | | | | ^ | | | | | | | sched_switch_in dl_server_idle | | | | | | | v | | | | | | | | +---------- +---------------------+ | | | | | | | sched_switch_in | | | | | | | | | sched_wakeup | | | | | | | | | dl_replenish; | running | -------+ | | | | | | | reset(clk) | clk < DEADLINE_NS() | | | | | | | | | +---------> | | dl_throttle | | | | | | +----------------> | | | | | | | | | +---------------------+ | | | | | | sched_wakeup ^ sched_switch_suspend | | | | v v dl_replenish;reset(clk) | dl_server_stop | | | | +--------------+ | | v v v | | | - sched_switch_in + | +---------------+ | | <---------------------+ dl_throttle +-- | | | sleeping | sched_wakeup | | throttled | | | -- dl_server_stop dl_server_idle +-> | | | | dl_server_idle sched_switch_suspend +---------------+ +--------------+ <---------+ ^ | | +------ dl_throttle;is_constr_dl == 1 || is_defer == 1 ------+”…””}”hj!sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1jh³hÊh´K)hjph²hubeh}”(h]”Œmonitor-nomiss”ah ]”h"]”Œmonitor nomiss”ah$]”h&]”uh1hµhj_h²hh³hÊh´Kubeh}”(h]”Œspecifications”ah ]”h"]”Œspecifications”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kubeh}”(h]”Œdeadline-monitors”ah ]”h"]”Œdeadline monitors”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”jlŒ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”}”(jFjCj\jYj>j;j6j3uŒ nametypes”}”(jF‰j\‰j>‰j6‰uh}”(jCh·jYj8j;j_j3jpuŒ 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.