Fast transfer of workload between multiple processors
Abstract
Techniques and systems for prescheduling an alternative CPU as soon as a need for a task is detected by a primary CPU are disclosed. A process includes detecting, by a producer thread running on a first CPU, an external interrupt, acquiring, by the producer thread, a spinlock, and in response to acquiring the spinlock, sending, by the producer thread, an event to a consumer thread that is to run on a second CPU. Upon receiving the event by the consumer thread, the consumer thread acquires the spinlock, which “stalls” the consumer thread in a loop until the spinlock is released by the producer thread. While the consumer thread is “waking up” in response to receiving the event from the producer thread, the producer thread creates a task, publishes the task, and releases the spinlock, thereby causing the consumer thread to exit the loop, retrieve the task, and execute the task.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 27 · Forward citations: 0.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method comprising: detecting, by a producer thread running on a first processor, an external interrupt; acquiring, by the producer thread, a spinlock; in response to acquiring the spinlock, sending, by the producer thread, an event to the consumer thread; while the consumer thread wakes up: creating, by the producer thread, a task, and publishing, by the producer thread, the created task; in response to publishing the created task, releasing, by the producer thread, the spinlock; in response to releasing the spinlock, retrieving, by a consumer thread running on a second processor, the publis
- Claim 2Depends on #1
The method of claim 1 , further comprising: prior to retrieving the task, receiving, by the consumer thread, the event; and in response to receivin
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
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 (27)
Non-Patent Literature (2)
- "Towards Symmetric Multi-threaded Optimistic Simulation Kernels", Retrieved on: Mar. 11, 2016 Available at: http://www.dis.uniroma1.it/˜vitali/pdf/paper/pads_2012.pdf.
- PCT/US2017/023924, International Search Report and Written Opinion, dated Jul. 7, 2017, 13 pages.