Task execution scheduling
Abstract
One or more embodiments of the present disclosure relate to identifying, based on application data associated with a computing application that includes a set of runnables, a plurality of scheduling branches associated with scheduling execution of at least a subset of runnables of the set of runnables. Further, one or more embodiments relate to selecting a scheduling branch from the plurality of scheduling branches based at least on a coupling constraint that is applied to related runnables of at least the subset of runnables. The related runnables may include a first runnable that is designated for execution on a first compute engine and that triggers execution of a second runnable on a second compute engine. In addition, one or more embodiments may relate to determining an execution schedule of the set of runnables based at least on the scheduling branch.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 48 · Forward citations: 0.
Claims (8 — 1 Independent, 7 Dependent)
- Claim 1Independent Claim
A system comprising: one or more processing units to perform operations comprising: identifying, based at least on a compute graph associated with a computing application that includes a set of runnables, a plurality of scheduling branches associated with scheduling execution of at least a subset of runnables of the set of runnables, the plurality of scheduling branches individually including candidate execution orderings of two or more runnables of the set of runnables as determined at least from corresponding branching points in the compute graph; selecting a scheduling branch from the plurality of scheduling branches based at least on a coupling constraint that is applied to related runnables of at least the subset of runnables, wherein: the related runnables include a first runnable that is designated for execution on a first compute engine and that triggers execution of a second runnable on a second compute engine, scheduling branches that include candidate execution orderings tha
- Claim 2Depends on #1
The system of claim 1, wherein the application of the coupling constraint to the related runnables further ensures that the scheduling branch, as selected, maintains that a first processing queue that includes the first runnable and that is on the first compute engine matches a second processing queue that includes the second runnable and that is on the second compute engine.
- Claim 3Depends on #1
The system of claim 1, wherein the selecting of the scheduling branch is further based at least on one or more of: a total time constraint related to respective execution times of the plurality of scheduling branches; a runtime constraint related to minimum execution times of runnables that may trigger a scheduling branch; a bubble avoidance constraint related to avoiding scheduling gaps; a dependency constraint related to avoiding runnable dependency violations; or scheduling prioritization with respect to a critical path within a compute graph that includes the set of runnables.
- Claim 4Depends on #3
The system of claim 3, wherein the total time constraint is based at least on an execution time of a previously determined execution schedule.
- Claim 5Depends on #3
The system of claim 3, wherein the runtime constraint is reduced as compared to another runtime constraint that was used in determining a prior execution schedule.
- Claim 6Depends on #1
The system of claim 1, wherein the operations further comprise determining an execution time of the scheduling branch, and further wherein the selecting of the scheduling branch is based at least on the execution time.
- Claim 7Depends on #6
The system of claim 6, wherein the determining the execution time includes removing one or more execution constraints with respect to one or more runnables included in the scheduling branch.
- Claim 8Depends on #1
The system of claim 1, wherein the system is comprised in at least one of: a control system for an autonomous or semi-autonomous machine; a perception system for an autonomous or semi-autonomous machine; a system for performing simulation operations; a system for performing digital twin operations; a system for performing light transport simulation; a system for performing collaborative content creation for 3D assets; a system for performing deep learning operations; a system for presenting at least one of augmented reality content, virtual reality content, or mixed reality content; a system for hosting one or more real-time streaming applications; a system implemented using an edge device; a system implemented using a robot; a system for performing conversational AI operations; a system for generating synthetic data; a system incorporating one or more virtual machines (VMs); a system implemented at least partially in a data center; or a system implemented at least partially using clou
Technical Overview & Description
RELATED APPLICATION This application claims priority to U.S. Provisional Patent Application No. 63/261,827, filed Sep. 29, 2021, and titled “ DETERMINISTIC SCHEDULING FOR AUTONOMOUS MACHINE APPLICATIONS, ” the entire contents of which are incorporated by reference in the present disclosure. BACKGROUND On a complex System on a Chip (SoC), the behavior exhibited by components (e.g., software components) depends on the state of the SoC as exhibited by any number of factors — such as the state of other software components (e.g., locks, memory contention, etc.), the state of the hardware (e.g., caches, physical memory, etc.), a combination thereof, and/or other factors. Scheduling the execution of tasks in such a way that satisfies real-time constraints in such an environment can be difficult. For example, dynamic scheduling and preemption of tasks by engine-specific schedulers leads to a rapid increase in the size of the state space that may be validated and certified for timing determinism — which may include validating worst case behavior with respect to satisfying timing guarantees of the system applications. Furthermore, existing real-time schedulers are generally centric to Central Processing Units (CPU) and do not provide ordering and timing guarantees on heterogeneous hardware platforms (e.g., hardware platforms that include multiple components such as Graphics Processing Units (GPU), accelerators, etc.). For example, priority-based real-time scheduling policies — such as rate monotonic scheduling and earliest deadline first — are dynamic in nature and may involve preemption, a mechanism well-studied and optimized on CPUs, but expensive on non-CPU engines (e.g., GPUs, accelerators, parallel processing units (PPUs), data processing units (DPUs), vector processing units (VPUs), etc.). Therefore, using this type of scheduling process, achieving determinism is challenging as the resulting schedule is dynamic and may not always complete processing within a given time
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (48)
| Patent | Title | Year | Citations |
|---|---|---|---|
| BR 8,806,498 A | Soquete acabado | — | 0 |
Non-Patent Literature (10)
- Nadathur, R.S., et al.,
- “
- Scheduling Task Dependence Graphs with Variable Task Execution Times onto Heterogeneous Multiprocessors
- ”
- , Proceedings of the 8th ACM international conference on Embedded software, pp. 149-158 (Oct. 19, 2008).
- Yoshitake, O., et al.,
- “
- Performance of Static and Dynamic Task Scheduling for Real-Time Engine Control System on Embedded Multicore Processor
- ”
- , Lecture Notes in Computer Science, pp. 1-14 (Mar. 2021) (Abstract).