Patents
US 7,360,221 B2#8254398 Most CitedExpiredUnited States (USPTO)Utility

Task swap out in a multithreaded environment

12Forward Citations (#8254398 Global)
0.7/yrCitation Velocity (#11284334 Global)
2.65Citation PageRank (#9256372 Global)
50Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method and system that prepares a task for being swapped out from processor utilization that is executing on a computer with multiple processors that each support multiple streams. The task has one or more teams of threads, where each team represents threads executing on a single processor. The task designates, for each stream that is executing a thread, one stream as a team master stream and one stream as a task master stream. For each team master stream, the task notifies the operating system that the team is ready to be swapped out when each other thread of the team has saved its state and has quit its stream. Finally, for the task master stream, the task notifies the operating system that the task is ready to be swapped when it has saved its state and each other team has notified that it is ready to be swapped out.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 12.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method in a computer system for preparing a task to be swapped out from processor utilization, the computer system having multiple processors and an operating system, each processor having multiple streams for simultaneously executing threads of the task, the task having one or more teams of threads, each team representing threads executing on a single processor, the method comprising: raising an exception for each stream of each processor currently executing a thread of the task; and in response to the raising of the exception, for each stream executing a thread, saving a state of the strea

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (50)

PatentTitleYearCitations
US 4,819,234 AOperating system debugger1989184
US 4,872,167 AMethod for displaying program executing circumstances and an apparatus using the same1989103
EP 0,422,945 A2Parallel processing trace data manipulation—43
EP 0,455,966 A2Compounding preprocessor for cache—39
US 5,168,554 AConverting trace data from processors executing in parallel into graphical form1992131
US 5,179,702 ASystem and method for controlling a highly parallel multiprocessor using an anarchy based scheduler for parallel execution thread scheduling1993622
US 5,197,138 AReporting delayed coprocessor exceptions to code threads having caused the exceptions by saving and restoring exception state during code thread switching199397
EP 0,537,098 A2Event handling mechanism having a filtering process and an action association process—89
US 5,257,358 AMethod for counting the number of program instruction completed by a microprocessor199371
US 5,301,325 AUse of stack depth to identify architechture and calling standard dependencies in machine code199495
US 5,333,280 AParallel pipelined instruction processing system for very long instruction word1994137
US 5,450,575 AUse of stack depth to identify machine code mistakes1995124
US 5,485,626 AArchitectural enhancements for parallel computer systems utilizing encapsulation of queuing allowing small grain processing199693
US 5,504,932 ASystem for executing scalar instructions in parallel based on control bits appended by compounding decoder199672
US 5,524,250 ACentral processing unit for processing a plurality of threads using dedicated general purpose registers and masque register for providing access to the registers1996215
US 5,526,521 AMethod and system for process scheduling from within a current context and switching contexts only when the next scheduled context is different199643
US 5,533,192 AComputer program debugging system and method1996148
US 5,557,761 ASystem and method of generating object code using aggregate instruction movement1996151

Non-Patent Literature (5)

  • "Method of Tracing Events in Multi-Threaded OS/2 Applications," IBM Tech. Disclosure Bulletin, Sep. 1993, pp. 19-22.
  • Adelberg, Brad et al., "The Strip Rule System for Efficient Maintaining Derived Data," Sigmod Record, Association for Computing Machinery, New York, vol. 26, No. 2, Jun. 1, 1997.
  • Agrawal, Gagan et al., "Interprocedural Data Flow Based Optimizations for Compilation of Irregular Problems," Annual Workshop on Language and Compilers for Parallel Computing, 1995.
  • Agrawal, Hiralal, "Dominators, Super Blocks and Program Coverage," 21st ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, Portland, Oregon, Jan. 17-21, 1994.
  • Alverson, Gail et al., "Processor Management in the Tera MTA System," 1995.