US20190004870A1 - Hierarchical process group management - Google Patents

Hierarchical process group management Download PDF

Info

Publication number
US20190004870A1
US20190004870A1 US16/124,554 US201816124554A US2019004870A1 US 20190004870 A1 US20190004870 A1 US 20190004870A1 US 201816124554 A US201816124554 A US 201816124554A US 2019004870 A1 US2019004870 A1 US 2019004870A1
Authority
US
United States
Prior art keywords
group
hierarchical
determining
resource
hierarchical process
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US16/124,554
Other versions
US10664376B2 (en
Inventor
Christopher D. Filachek
Gabriel Nieves
Michael J. Shershin
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by International Business Machines Corp filed Critical International Business Machines Corp
Priority to US16/124,554 priority Critical patent/US10664376B2/en
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION reassignment INTERNATIONAL BUSINESS MACHINES CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: FILACHEK, CHRISTOPHER D., NIEVES, GABRIEL, SHERSHIN, MICHAEL J.
Publication of US20190004870A1 publication Critical patent/US20190004870A1/en
Application granted granted Critical
Publication of US10664376B2 publication Critical patent/US10664376B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • G06F11/3433Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment for load management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3017Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is implementing multitasking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/81Threshold
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/865Monitoring of software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/504Resource capping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/508Monitor
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present invention generally relates to computer processing systems, and more particularly to managing multiple computer processes in a hierarchical process group.
  • multiple processes can be active at the same time, where each process consumes processing system resources (e.g., main memory, CPU, disks, etc.).
  • Resource monitoring utilities typically collect system resource usage by individual processes in isolation. This method of resource monitoring does not prevent a group of associated processes from collectively depleting all of the system resources. Resource depletion can be caused by a process creating numerous children processes, which individually may not raise any suspicions from a resource manager because each process does not exceed its own resource limits.
  • a legitimate program with a defect or a malicious “fork bomb” may starve the processing system of all available resources by spawning additional processes to consume the resources.
  • a typical solution is to establish resource limits on the entire system, which only mitigates the effect and reduces the performance of all of the other processes in the processing system.
  • a computer-implemented method for managing hierarchical process groups includes creating, by a hierarchical process group service of a processing system, a group identifier having an associated set of resource limits for shared resources of a processing system.
  • the method further includes associating, by the hierarchical process group service, a process with the group identifier and creating, by the hierarchical process group service, a hierarchical process group including the process as a parent process and at least one child process spawned from the parent process, where the at least one child process inherits the group identifier.
  • the method also includes creating, by the hierarchical process group service, a container to store resource usage of the hierarchical process group and the set of resource limits of the group identifier.
  • the set of resource limits associated with the hierarchical process group is used to collectively monitor resource usage of a plurality of processes in the hierarchical process group.
  • the hierarchical process group service monitors an existing process of the hierarchical process group. Based on determining that the existing process exceeds a process resource limit or the hierarchical process group exceeds at least one of the set of resource limits associated with the hierarchical process group, a resource allocation adjustment action is performed in the processing system.
  • a computer program product for hierarchical process group management includes a non-transitory storage medium readable by a processing circuit of a processing system and storing instructions for execution by the processing circuit for performing a method.
  • the method includes creating, by a hierarchical process group service of the processing system, a group identifier having an associated set of resource limits for shared resources of a processing system and associating, by the hierarchical process group service, a process with the group identifier.
  • a hierarchical process group is created, by the hierarchical process group service, that includes the process as a parent process and at least one child process spawned from the parent process, where the at least one child process inherits the group identifier.
  • a container is created, by the hierarchical process group service, to store resource usage of the hierarchical process group and the set of resource limits of the group identifier.
  • the set of resource limits associated with the hierarchical process group is used to collectively monitor resource usage of a plurality of processes in the hierarchical process group.
  • the hierarchical process group service monitors an existing process of the hierarchical process group. Based on determining that the existing process exceeds a process resource limit or the hierarchical process group exceeds at least one of the set of resource limits associated with the hierarchical process group, a resource allocation adjustment action is performed in the processing system.
  • a processing system for hierarchical process group management includes a memory system and one or more processors operable to share access to the memory system.
  • the one or more processors are configured to create, by a hierarchical process group service of the processing system, a group identifier having an associated set of resource limits for shared resources of the processing system and associate, by the hierarchical process group service, a process with the group identifier.
  • the one or more processors are further configured to create, by the hierarchical process group service, a hierarchical process group including the process as a parent process and at least one child process spawned from the parent process, where the at least one child process inherits the group identifier.
  • the one or more processors are also configured to create, by the hierarchical process group service, a container to store resource usage of the hierarchical process group and the set of resource limits of the group identifier and use the set of resource limits associated with the hierarchical process group to collectively monitor resource usage of a plurality of processes in the hierarchical process group.
  • the hierarchical process group service monitors an existing process of the hierarchical process group. Based on determining that the existing process exceeds a process resource limit or the hierarchical process group exceeds at least one of the set of resource limits associated with the hierarchical process group, a resource allocation adjustment action is performed in the processing system.
  • FIG. 1 is a block diagram illustrating one example of a processing system for practice of the teachings herein;
  • FIG. 2 is a block diagram illustrating relationships between multiple process hierarchies in separate containers managed as hierarchical process groups in accordance with exemplary embodiments;
  • FIG. 3 shows a flow chart illustrating a method for managing hierarchical process groups in accordance with an embodiment
  • FIG. 4 shows a flow chart illustrating a method for joining a process to a hierarchical process group in accordance with an embodiment
  • FIG. 5 shows a flow chart illustrating a method for removing a process from a hierarchical process group in accordance with an embodiment.
  • Embodiments include methods, systems, and computer program products for managing hierarchical process groups (HPGs). Embodiments can improve computer system resource management, for example, by collecting and monitoring resource usage by groups of associated processes and taking targeted actions on the groups that are exceeding respective allocated sets of limits.
  • an HPG is created when a parent process elects to be part of a group using a group identifier and spawns a child process. The HPG becomes a container for collecting and monitoring the resource usage for both processes and any future children. Resource limits of the HPG are assigned from the group identifier. By separating the creation of resource limits and monitoring groups, a single group identifier (also referred to as a named limit set) can be used to assign the same resource limits to more than one HPG.
  • processors 101 a, 101 b, 101 c, etc. collectively or generically referred to as processor(s) 101 ).
  • processors 101 may include a reduced instruction set computer (RISC) microprocessor.
  • RISC reduced instruction set computer
  • processors 101 are coupled to volatile memory (e.g., random access memory (RAM)) 114 and various other components via a system bus 113 .
  • RAM random access memory
  • ROM Read only memory
  • BIOS basic input/output system
  • FIG. 1 further depicts an input/output (I/O) adapter 107 and a network adapter 106 coupled to the system bus 113 .
  • I/O adapter 107 may be a small computer system interface (SCSI) adapter that communicates with a hard disk 103 and/or tape storage drive 105 or any other similar component.
  • I/O adapter 107 , hard disk 103 , and tape storage device 105 are collectively referred to herein as mass storage 104 .
  • Operating system 120 for execution on the processing system 100 may be stored in mass storage 104 .
  • a network adapter 106 interconnects bus 113 with an outside network 116 enabling data processing system 100 to communicate with other such systems.
  • a screen (e.g., a display monitor) 115 is connected to system bus 113 by display adaptor 112 , which may include a graphics adapter to improve the performance of graphics intensive applications and a video controller.
  • adapters 107 , 106 , and 112 may be connected to one or more I/O busses that are connected to system bus 113 via an intermediate bus bridge (not shown).
  • Suitable I/O buses for connecting peripheral devices such as hard disk controllers, network adapters, and graphics adapters typically include common protocols, such as the Peripheral Component Interconnect (PCI).
  • PCI Peripheral Component Interconnect
  • Additional input/output devices are shown as connected to system bus 113 via user interface adapter 108 and display adapter 112 .
  • a keyboard 109 , mouse 110 , and speaker 111 all interconnected to bus 113 via user interface adapter 108 , which may include, for example, a Super I/O chip integrating multiple device adapters into a single integrated circuit.
  • the processing system 100 includes processing capability in the form of processors 101 , storage capability in memory system 125 including the volatile memory 114 and/or mass storage 104 , input means such as keyboard 109 and mouse 110 , and output capability including speaker 111 and display 115 .
  • processing capability in the form of processors 101
  • storage capability in memory system 125 including the volatile memory 114 and/or mass storage 104
  • input means such as keyboard 109 and mouse 110
  • output capability including speaker 111 and display 115
  • a portion of the volatile memory 114 and mass storage 104 collectively store the operating system 120 to coordinate the functions of the various components shown in FIG. 1 .
  • An HPG service 150 can be incorporated in or interface with the operating system 120 to manage HPGs in accordance with embodiments as further described herein.
  • the HPG service 150 is incorporated in or accessible as a cloud computing service and/or other remotely accessible service (e.g., a distributed storage service accessible via network adapter 106 ).
  • the HPG service 150 can create HPGs, add processes to HPGs, remove processes from HPGs, and monitor resource usage with respect to defined limits.
  • a group identifier 202 can be used to associate multiple HPGs, including a first HPG 204 A, a second HPG 204 B, and a third HPG 204 C as illustrated in the example of FIG. 2 . Although depicted as associating three HPGs in FIG. 2 , it will be understood that the group identifier 202 can be used to associate any number of HPGs. In some embodiments, the group identifier 202 is user-defined, for instance, through a command line interface or application programming interface and created in response to a user request.
  • the first, second, and third HPGs 204 A- 204 C can be system generated to associate processes in respective first, second, and third containers 208 A, 208 B, 208 C and first, second, and third group resource usage 206 A, 206 B, 206 C with the group identifier 202 .
  • the first container 208 A includes a first parent process 210 A and a pair of child processes 212 A, 214 A.
  • the second container 208 B includes a second parent process 210 B and a child process 212 B.
  • the third container 208 C includes a third parent process 210 C and a pair of child processes 212 C, 214 C.
  • the group identifier 202 is created.
  • the group identifier 202 is defined with a set of resource limits (e.g., a named limit set) for the HPGs 204 A- 204 C.
  • the resource limits can be fixed or relative to the total allocated resources of the processing system 100 .
  • a process may be associated with one and only one group identifier 202 .
  • the group identifier 202 signifies that the process is eligible to have its resources monitored in an HPG. HPG management is further described with respect to FIGS. 3-5 .
  • FIG. 3 a method 300 for managing HPGs is shown.
  • the method 300 is described in further reference to FIGS. 1 and 2 and may be modified to include additional steps or an alternate order of steps.
  • the method 300 may be performed through the HPG service 150 of FIG. 1 .
  • a group identifier 202 is created having an associated set of resource limits for shared resources of the processing system 100 .
  • the set of resource limits can include one or more limits with respect to memory usage, a number of reads, a number of writes, a storage block size, and a processor usage.
  • a process is associated with the group identifier 202 .
  • an HPG is created, such as HPG 204 A, including the process as a parent process 210 A and at least one child process 212 A, 214 A spawned from the parent process 210 A, where the at least one child process 212 A, 214 A inherits the group identifier 202 .
  • a container 208 A is created to store resource usage 206 A of the HPG 204 A and the set of resource limits of the group identifier 202 .
  • the one or more other HPGs 204 B- 204 C can separately store resource usage 206 B- 206 C of each of the one or more other HPGs 204 B- 204 C and the set of resource limits of the group identifier 202 .
  • the set of resource limits associated with HPG 204 A is used to collectively monitor resource usage of a plurality of processes in the HPG 204 A.
  • a process becomes associated with a group identifier either during its creation or afterward using, for instance, an application programming interface.
  • a process is given a group identifier using an application programming interface, it becomes possible for an HPG to be created for that process.
  • an HPG is created for both processes, such as parent process 210 B and child process 212 B of HPG 204 B.
  • HPG 204 B creates container 208 B for storing the resource usage 206 B of its members and copies the resource limits of the group identifier 202 of the parent process 210 B.
  • a new child process 402 may inherit the group identifier 202 of its parent process during process creation and join the HPG of its parent process by copying the group identifier as depicted in blocks 404 and 408 of FIG. 4 . If the child process 402 does not inherit its parent's group identifier, it will not be associated with the HPG of the parent process nor help in its creation as depicted in blocks 404 and 406 .
  • the parent process is not in an HPG, then at block 412 an HPG is created for both the parent process and the child process; otherwise, the child process joins the HPG of the parent process at block 414 .
  • An HPG may continue to exist and monitor the resource usage of its members as long as at least one process is still a member.
  • a process 502 is removed from an HPG when it exits or changes/removes its group identifier, as depicted in blocks 504 , 506 , 508 , and 510 .
  • the HPG is deleted as depicted by blocks 512 and 514 .
  • Any action may be taken on the single process or the whole group by a resource monitor when any usage limit is exceeded by the HPG.
  • the resource limits and actions on the HPG may be independent from any resource monitoring of the individual processes.
  • the present invention may be a system, a method, and/or a computer program product.
  • the computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
  • the computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device.
  • the computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
  • a non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or Flash memory erasable programmable read-only memory
  • SRAM static random access memory
  • CD-ROM compact disc read-only memory
  • DVD digital versatile disk
  • memory stick a floppy disk
  • a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon
  • a computer readable storage medium is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
  • Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network.
  • the network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers.
  • a network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
  • Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages.
  • the computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
  • electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
  • These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
  • These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
  • the computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s).
  • the functions noted in the block may occur out of the order noted in the figures.
  • two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.

Abstract

Management of hierarchical process groups is provided. Aspects include creating a group identifier having an associated set of resource limits for shared resources of a processing system. A process is associated with the group identifier. A hierarchical process group is created including the process as a parent process and at least one child process spawned from the parent process, where the at least one child process inherits the group identifier. A container is created to store resource usage of the hierarchical process group and the set of resource limits of the group identifier. The set of resources associated with the hierarchical process group is used to collectively monitor resource usage of processes. A resource allocation adjustment action is performed in the processing system based on determining that an existing process exceeds a process resource limit or the hierarchical process group exceeds at least one of the set of resource limits.

Description

    DOMESTIC PRIORITY
  • This application is a continuation of and claims priority from U.S. application Ser. No. 15/191,600 filed Jun. 24, 2016, the entire contents of which are incorporated by reference herein.
  • STATEMENT REGARDING PRIOR DISCLOSURES BY THE INVENTOR OR A JOINT INVENTOR
  • The following disclosure is submitted under 35 U.S.C. 102(b)(1)(A): “Monitor and control resource usage for groups of entry control blocks in IBM z/TPF” by Gabriel Nieves appearing in IBM developerWorks, Apr. 5, 2016, pages 1-8.
  • BACKGROUND
  • The present invention generally relates to computer processing systems, and more particularly to managing multiple computer processes in a hierarchical process group.
  • In multi-tasking processing systems, multiple processes can be active at the same time, where each process consumes processing system resources (e.g., main memory, CPU, disks, etc.). Resource monitoring utilities typically collect system resource usage by individual processes in isolation. This method of resource monitoring does not prevent a group of associated processes from collectively depleting all of the system resources. Resource depletion can be caused by a process creating numerous children processes, which individually may not raise any suspicions from a resource manager because each process does not exceed its own resource limits. A legitimate program with a defect or a malicious “fork bomb” may starve the processing system of all available resources by spawning additional processes to consume the resources. A typical solution is to establish resource limits on the entire system, which only mitigates the effect and reduces the performance of all of the other processes in the processing system.
  • Therefore, heretofore unaddressed needs still exist in the art to address the aforementioned deficiencies and inadequacies.
  • SUMMARY
  • In accordance with an embodiment, a computer-implemented method for managing hierarchical process groups is provided. The method includes creating, by a hierarchical process group service of a processing system, a group identifier having an associated set of resource limits for shared resources of a processing system. The method further includes associating, by the hierarchical process group service, a process with the group identifier and creating, by the hierarchical process group service, a hierarchical process group including the process as a parent process and at least one child process spawned from the parent process, where the at least one child process inherits the group identifier. The method also includes creating, by the hierarchical process group service, a container to store resource usage of the hierarchical process group and the set of resource limits of the group identifier. The set of resource limits associated with the hierarchical process group is used to collectively monitor resource usage of a plurality of processes in the hierarchical process group. The hierarchical process group service monitors an existing process of the hierarchical process group. Based on determining that the existing process exceeds a process resource limit or the hierarchical process group exceeds at least one of the set of resource limits associated with the hierarchical process group, a resource allocation adjustment action is performed in the processing system.
  • In accordance with another embodiment, a computer program product for hierarchical process group management includes a non-transitory storage medium readable by a processing circuit of a processing system and storing instructions for execution by the processing circuit for performing a method. The method includes creating, by a hierarchical process group service of the processing system, a group identifier having an associated set of resource limits for shared resources of a processing system and associating, by the hierarchical process group service, a process with the group identifier. A hierarchical process group is created, by the hierarchical process group service, that includes the process as a parent process and at least one child process spawned from the parent process, where the at least one child process inherits the group identifier. A container is created, by the hierarchical process group service, to store resource usage of the hierarchical process group and the set of resource limits of the group identifier. The set of resource limits associated with the hierarchical process group is used to collectively monitor resource usage of a plurality of processes in the hierarchical process group. The hierarchical process group service monitors an existing process of the hierarchical process group. Based on determining that the existing process exceeds a process resource limit or the hierarchical process group exceeds at least one of the set of resource limits associated with the hierarchical process group, a resource allocation adjustment action is performed in the processing system.
  • In a further embodiment, a processing system for hierarchical process group management includes a memory system and one or more processors operable to share access to the memory system. The one or more processors are configured to create, by a hierarchical process group service of the processing system, a group identifier having an associated set of resource limits for shared resources of the processing system and associate, by the hierarchical process group service, a process with the group identifier. The one or more processors are further configured to create, by the hierarchical process group service, a hierarchical process group including the process as a parent process and at least one child process spawned from the parent process, where the at least one child process inherits the group identifier. The one or more processors are also configured to create, by the hierarchical process group service, a container to store resource usage of the hierarchical process group and the set of resource limits of the group identifier and use the set of resource limits associated with the hierarchical process group to collectively monitor resource usage of a plurality of processes in the hierarchical process group. The hierarchical process group service monitors an existing process of the hierarchical process group. Based on determining that the existing process exceeds a process resource limit or the hierarchical process group exceeds at least one of the set of resource limits associated with the hierarchical process group, a resource allocation adjustment action is performed in the processing system.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The subject matter which is regarded as the invention is particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The foregoing and other features, and advantages of the invention are apparent from the following detailed description taken in conjunction with the accompanying drawings in which:
  • FIG. 1 is a block diagram illustrating one example of a processing system for practice of the teachings herein;
  • FIG. 2 is a block diagram illustrating relationships between multiple process hierarchies in separate containers managed as hierarchical process groups in accordance with exemplary embodiments;
  • FIG. 3 shows a flow chart illustrating a method for managing hierarchical process groups in accordance with an embodiment;
  • FIG. 4 shows a flow chart illustrating a method for joining a process to a hierarchical process group in accordance with an embodiment; and
  • FIG. 5 shows a flow chart illustrating a method for removing a process from a hierarchical process group in accordance with an embodiment.
  • DETAILED DESCRIPTION
  • Embodiments include methods, systems, and computer program products for managing hierarchical process groups (HPGs). Embodiments can improve computer system resource management, for example, by collecting and monitoring resource usage by groups of associated processes and taking targeted actions on the groups that are exceeding respective allocated sets of limits. In exemplary embodiments, an HPG is created when a parent process elects to be part of a group using a group identifier and spawns a child process. The HPG becomes a container for collecting and monitoring the resource usage for both processes and any future children. Resource limits of the HPG are assigned from the group identifier. By separating the creation of resource limits and monitoring groups, a single group identifier (also referred to as a named limit set) can be used to assign the same resource limits to more than one HPG.
  • Referring to FIG. 1, there is shown an embodiment of a processing system 100 for implementing the teachings herein. In this embodiment, the system 100 has one or more central processing units (processors) 101 a, 101 b, 101 c, etc. (collectively or generically referred to as processor(s) 101). In one embodiment, each processor 101 may include a reduced instruction set computer (RISC) microprocessor. Processors 101 are coupled to volatile memory (e.g., random access memory (RAM)) 114 and various other components via a system bus 113. Read only memory (ROM) 102 is coupled to the system bus 113 and may include a basic input/output system (BIOS), which controls certain basic functions of system 100.
  • FIG. 1 further depicts an input/output (I/O) adapter 107 and a network adapter 106 coupled to the system bus 113. I/O adapter 107 may be a small computer system interface (SCSI) adapter that communicates with a hard disk 103 and/or tape storage drive 105 or any other similar component. I/O adapter 107, hard disk 103, and tape storage device 105 are collectively referred to herein as mass storage 104. Operating system 120 for execution on the processing system 100 may be stored in mass storage 104. A network adapter 106 interconnects bus 113 with an outside network 116 enabling data processing system 100 to communicate with other such systems. A screen (e.g., a display monitor) 115 is connected to system bus 113 by display adaptor 112, which may include a graphics adapter to improve the performance of graphics intensive applications and a video controller. In one embodiment, adapters 107, 106, and 112 may be connected to one or more I/O busses that are connected to system bus 113 via an intermediate bus bridge (not shown). Suitable I/O buses for connecting peripheral devices such as hard disk controllers, network adapters, and graphics adapters typically include common protocols, such as the Peripheral Component Interconnect (PCI). Additional input/output devices are shown as connected to system bus 113 via user interface adapter 108 and display adapter 112. A keyboard 109, mouse 110, and speaker 111 all interconnected to bus 113 via user interface adapter 108, which may include, for example, a Super I/O chip integrating multiple device adapters into a single integrated circuit.
  • Thus, as configured in FIG. 1, the processing system 100 includes processing capability in the form of processors 101, storage capability in memory system 125 including the volatile memory 114 and/or mass storage 104, input means such as keyboard 109 and mouse 110, and output capability including speaker 111 and display 115. In one embodiment, a portion of the volatile memory 114 and mass storage 104 collectively store the operating system 120 to coordinate the functions of the various components shown in FIG. 1.
  • An HPG service 150 can be incorporated in or interface with the operating system 120 to manage HPGs in accordance with embodiments as further described herein. In alternate embodiments, the HPG service 150 is incorporated in or accessible as a cloud computing service and/or other remotely accessible service (e.g., a distributed storage service accessible via network adapter 106). The HPG service 150 can create HPGs, add processes to HPGs, remove processes from HPGs, and monitor resource usage with respect to defined limits.
  • Referring now to FIG. 2 with continued reference to FIG. 1, a block diagram illustrating relationships between multiple process hierarchies in separate containers managed as HPGs is shown in accordance with an embodiment. A group identifier 202 can be used to associate multiple HPGs, including a first HPG 204A, a second HPG 204B, and a third HPG 204C as illustrated in the example of FIG. 2. Although depicted as associating three HPGs in FIG. 2, it will be understood that the group identifier 202 can be used to associate any number of HPGs. In some embodiments, the group identifier 202 is user-defined, for instance, through a command line interface or application programming interface and created in response to a user request.
  • The first, second, and third HPGs 204A-204C can be system generated to associate processes in respective first, second, and third containers 208A, 208B, 208C and first, second, and third group resource usage 206A, 206B, 206C with the group identifier 202. In the example of FIG. 2, the first container 208A includes a first parent process 210A and a pair of child processes 212A, 214A. The second container 208B includes a second parent process 210B and a child process 212B. The third container 208C includes a third parent process 210C and a pair of child processes 212C, 214C.
  • Before any of the HPGs 204A-204C can be established, the group identifier 202 is created. The group identifier 202 is defined with a set of resource limits (e.g., a named limit set) for the HPGs 204A-204C. The resource limits can be fixed or relative to the total allocated resources of the processing system 100. A process may be associated with one and only one group identifier 202. The group identifier 202 signifies that the process is eligible to have its resources monitored in an HPG. HPG management is further described with respect to FIGS. 3-5.
  • Referring now to FIG. 3, a method 300 for managing HPGs is shown. The method 300 is described in further reference to FIGS. 1 and 2 and may be modified to include additional steps or an alternate order of steps. The method 300 may be performed through the HPG service 150 of FIG. 1.
  • At block 302, a group identifier 202 is created having an associated set of resource limits for shared resources of the processing system 100. The set of resource limits can include one or more limits with respect to memory usage, a number of reads, a number of writes, a storage block size, and a processor usage. At block 304, a process is associated with the group identifier 202. At block 306, an HPG is created, such as HPG 204A, including the process as a parent process 210A and at least one child process 212A, 214A spawned from the parent process 210A, where the at least one child process 212A, 214A inherits the group identifier 202.
  • At block 308, a container 208A is created to store resource usage 206A of the HPG 204A and the set of resource limits of the group identifier 202. The one or more other HPGs 204B-204C can separately store resource usage 206B-206C of each of the one or more other HPGs 204B-204C and the set of resource limits of the group identifier 202.
  • At block 310, the set of resource limits associated with HPG 204A is used to collectively monitor resource usage of a plurality of processes in the HPG 204A.
  • A process becomes associated with a group identifier either during its creation or afterward using, for instance, an application programming interface. When a process is given a group identifier using an application programming interface, it becomes possible for an HPG to be created for that process. When the process spawns a child process that inherits its group identifier, an HPG is created for both processes, such as parent process 210B and child process 212B of HPG 204B.
  • For instance, HPG 204B creates container 208B for storing the resource usage 206B of its members and copies the resource limits of the group identifier 202 of the parent process 210B. As depicted in the example of FIG. 4, a new child process 402 may inherit the group identifier 202 of its parent process during process creation and join the HPG of its parent process by copying the group identifier as depicted in blocks 404 and 408 of FIG. 4. If the child process 402 does not inherit its parent's group identifier, it will not be associated with the HPG of the parent process nor help in its creation as depicted in blocks 404 and 406. At block 410, if the parent process is not in an HPG, then at block 412 an HPG is created for both the parent process and the child process; otherwise, the child process joins the HPG of the parent process at block 414.
  • An HPG may continue to exist and monitor the resource usage of its members as long as at least one process is still a member. As depicted in the example of FIG. 5, a process 502 is removed from an HPG when it exits or changes/removes its group identifier, as depicted in blocks 504, 506, 508, and 510. When the last process in the HPG leaves, the HPG is deleted as depicted by blocks 512 and 514.
  • Any action may be taken on the single process or the whole group by a resource monitor when any usage limit is exceeded by the HPG. The resource limits and actions on the HPG may be independent from any resource monitoring of the individual processes.
  • The present invention may be a system, a method, and/or a computer program product. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
  • The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
  • Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
  • Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
  • Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
  • These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
  • The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
  • The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.

Claims (20)

What is claimed is:
1. A computer-implemented method for managing hierarchical process groups, the method comprising:
creating, by a hierarchical process group service of a processing system, a group identifier having an associated set of resource limits for shared resources of a processing system;
associating, by the hierarchical process group service, a process with the group identifier;
creating, by the hierarchical process group service, a hierarchical process group comprising the process as a parent process and at least one child process spawned from the parent process, wherein the at least one child process inherits the group identifier;
creating, by the hierarchical process group service, a container to store resource usage of the hierarchical process group and the set of resource limits of the group identifier;
using the set of resources limits associated with the hierarchical process group to collectively monitor resource usage of a plurality of processes in the hierarchical process group;
monitoring, by the hierarchical process group service, an existing process of the hierarchical process group; and
based on determining that the existing process exceeds a process resource limit or the hierarchical process group exceeds at least one of the set of resource limits associated with the hierarchical process group, performing a resource allocation adjustment action in the processing system.
2. The method of claim 1, wherein the set of resource limits comprises one or more limits with respect to memory usage, a number of reads, a number of writes, a storage block size, and a processor usage.
3. The method of claim 1, further comprising:
determining whether a new child process will inherit the group identifier from the parent process;
based on determining that the new child process will inherit the group identifier, copying the group identifier to the new child process; and
determining whether the parent process of the new child process is currently in the hierarchical process group.
4. The method of claim 3, further comprising:
based on determining that the parent process is not currently in the hierarchical process group, creating a new instance of the hierarchical process group with the group identifier.
5. The method of claim 4, further comprising based on determining that the parent process is currently in the hierarchical process group, joining the new child process to the hierarchical process group.
6. The method of claim 1, further comprising:
based on determining that the group identifier of the existing process is being changed, removing the existing process from the hierarchical process group;
based on determining that the group identifier of the existing process is not being changed, determining whether the existing process is exiting; and
based on determining that the existing process is exiting, removing the existing process from the hierarchical process group.
7. The method of claim 6, further comprising based on determining that the hierarchical process group is empty, deleting the hierarchical process group.
8. A computer program product for managing hierarchical process groups, the computer program product comprising:
a non-transitory storage medium readable by a processing circuit of a processing system and storing instructions for execution by the processing circuit for performing a method comprising:
creating, by a hierarchical process group service of the processing system, a group identifier having an associated set of resource limits for shared resources of a processing system;
associating, by the hierarchical process group service, a process with the group identifier;
creating, by the hierarchical process group service, a hierarchical process group comprising the process as a parent process and at least one child process spawned from the parent process, wherein the at least one child process inherits the group identifier;
creating, by the hierarchical process group service, a container to store resource usage of the hierarchical process group and the set of resource limits of the group identifier;
using the set of resource limits associated with the hierarchical process group to collectively monitor resource usage of a plurality of processes in the hierarchical process group;
monitoring, by the hierarchical process group service, an existing process of the hierarchical process group; and
based on determining that the existing process exceeds a process resource limit or the hierarchical process group exceeds at least one of the set of resource limits associated with the hierarchical process group, performing a resource allocation adjustment action in the processing system.
9. The computer program product of claim 8, wherein the set of resource limits comprises one or more limits with respect to memory usage, a number of reads, a number of writes, a storage block size, and a processor usage.
10. The computer program product of claim 8, wherein the method further comprises:
determining whether a new child process will inherit the group identifier from the parent process;
based on determining that the new child process will inherit the group identifier, copying the group identifier to the new child process; and
determining whether the parent process of the new child process is currently in the hierarchical process group.
11. The computer program product of claim 10, wherein the method further comprises based on determining that the parent process is not currently in the hierarchical process group, creating a new instance of the hierarchical process group with the group identifier.
12. The computer program product of claim 11, wherein the method further comprises based on determining that the parent process is currently in the hierarchical process group, joining the new child process to the hierarchical process group.
13. The computer program product of claim 8, wherein the method further comprises:
based on determining that the group identifier of the existing process is being changed, removing the existing process from the hierarchical process group;
based on determining that the group identifier of the existing process is not being changed, determining whether the existing process is exiting; and
based on determining that the existing process is exiting, removing the existing process from the hierarchical process group.
14. The computer program product of claim 13, wherein the method further comprises based on determining that the hierarchical process group is empty, deleting the hierarchical process group.
15. A processing system for managing hierarchical process groups, the processing system comprising:
a memory system; and
one or more processors operable to share access to the memory system, the one or more processors configured to:
create, by a hierarchical process group service of the processing system, a group identifier having an associated set of resource limits for shared resources of the processing system;
associate, by the hierarchical process group service, a process with the group identifier;
create, by the hierarchical process group service, a hierarchical process group comprising the process as a parent process and at least one child process spawned from the parent process, wherein the at least one child process inherits the group identifier;
create, by the hierarchical process group service, a container to store resource usage of the hierarchical process group and the set of resource limits of the group identifier;
use the set of resource limits associated with the hierarchical process group to collectively monitor resource usage of a plurality of processes in the hierarchical process group;
monitor, by the hierarchical process group service, an existing process of the hierarchical process group; and
based on determining that the existing process exceeds a process resource limit or the hierarchical process group exceeds at least one of the set of resource limits associated with the hierarchical process group, performing a resource allocation adjustment action in the processing system.
16. The processing system of claim 15, wherein the set of resource limits comprises one or more limits with respect to memory usage, a number of reads, a number of writes, a storage block size, and a processor usage.
17. The processing system of claim 15, wherein the one or more processors are configured to:
determine whether a new child process will inherit the group identifier from the parent process;
based on determining that the new child process will inherit the group identifier, copy the group identifier to the new child process; and
determine whether the parent process of the new child process is currently in the hierarchical process group.
18. The processing system of claim 17, wherein the one or more processors are configured to create a new instance of the hierarchical process group with the group identifier based on determining that the parent process is not currently in the hierarchical process group.
19. The processing system of claim 18, wherein the one or more processors are configured to join the new child process to the hierarchical process group based on determining that the parent process is currently in the hierarchical process group.
20. The processing system of claim 15, wherein the one or more processors are configured to:
based on determining that the group identifier of the existing process is being changed, remove the existing process from the hierarchical process group;
based on determining that the group identifier of the existing process is not being changed, determine whether the existing process is exiting; and
based on determining that the existing process is exiting, remove the existing process from the hierarchical process group.
US16/124,554 2016-06-24 2018-09-07 Hierarchical process group management Active US10664376B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/124,554 US10664376B2 (en) 2016-06-24 2018-09-07 Hierarchical process group management

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US15/191,600 US10235214B2 (en) 2016-06-24 2016-06-24 Hierarchical process group management
US16/124,554 US10664376B2 (en) 2016-06-24 2018-09-07 Hierarchical process group management

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US15/191,600 Continuation US10235214B2 (en) 2016-06-24 2016-06-24 Hierarchical process group management

Publications (2)

Publication Number Publication Date
US20190004870A1 true US20190004870A1 (en) 2019-01-03
US10664376B2 US10664376B2 (en) 2020-05-26

Family

ID=60677496

Family Applications (2)

Application Number Title Priority Date Filing Date
US15/191,600 Expired - Fee Related US10235214B2 (en) 2016-06-24 2016-06-24 Hierarchical process group management
US16/124,554 Active US10664376B2 (en) 2016-06-24 2018-09-07 Hierarchical process group management

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US15/191,600 Expired - Fee Related US10235214B2 (en) 2016-06-24 2016-06-24 Hierarchical process group management

Country Status (1)

Country Link
US (2) US10235214B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220029931A1 (en) * 2020-07-24 2022-01-27 Oracle International Corporation Pre-allocating resources with hierarchy-based constraints
US11669263B1 (en) * 2021-03-24 2023-06-06 Meta Platforms, Inc. Systems and methods for low-overhead and flexible trace capture triggered on-demand by hardware events under production load

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10235214B2 (en) 2016-06-24 2019-03-19 International Business Machines Corporation Hierarchical process group management
CN110879748B (en) * 2018-09-06 2023-06-13 阿里巴巴集团控股有限公司 Shared resource allocation method, device and equipment

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7415671B2 (en) 2001-06-08 2008-08-19 Computer Associates Think, Inc. Interactive hierarchical status display
US7769861B2 (en) 2003-11-24 2010-08-03 International Business Machines Corporation Apparatus, system, and method for modeling for storage provisioning
US7499939B2 (en) 2004-10-18 2009-03-03 International Business Machines Corporation Method for efficiently managing membership in a hierarchical data structure
US8255915B1 (en) * 2006-10-31 2012-08-28 Hewlett-Packard Development Company, L.P. Workload management for computer system with container hierarchy and workload-group policies
US8209701B1 (en) * 2007-09-27 2012-06-26 Emc Corporation Task management using multiple processing threads
JP2010108266A (en) 2008-10-30 2010-05-13 Nec Corp Failure detection device, failure detection method, failure detection program, wordbook forming device, and failure occurrence analysis device
US9581994B2 (en) 2011-04-05 2017-02-28 Fisher-Rosemount Systems, Inc. Methods and apparatus to manage process control resources
US9262181B2 (en) 2011-05-10 2016-02-16 International Business Machines Corporation Process grouping for improved cache and memory affinity
US8683103B2 (en) 2011-08-19 2014-03-25 International Business Machines Corporation Hierarchical multi-tenancy support for host attachment configuration through resource groups
KR101212497B1 (en) 2012-05-02 2012-12-14 주식회사 팀스톤 Method of monitoring resource and apparatus performing the same
US9118538B1 (en) 2013-03-15 2015-08-25 Emc Corporation Method and system for configuring resources to enable resource monitoring
US10586076B2 (en) * 2015-08-24 2020-03-10 Acronis International Gmbh System and method for controlling access to OS resources
US10235214B2 (en) 2016-06-24 2019-03-19 International Business Machines Corporation Hierarchical process group management

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220029931A1 (en) * 2020-07-24 2022-01-27 Oracle International Corporation Pre-allocating resources with hierarchy-based constraints
US11689473B2 (en) * 2020-07-24 2023-06-27 Oracle International Corporation Pre-allocating resources with hierarchy-based constraints
US11669263B1 (en) * 2021-03-24 2023-06-06 Meta Platforms, Inc. Systems and methods for low-overhead and flexible trace capture triggered on-demand by hardware events under production load

Also Published As

Publication number Publication date
US20170371712A1 (en) 2017-12-28
US10235214B2 (en) 2019-03-19
US10664376B2 (en) 2020-05-26

Similar Documents

Publication Publication Date Title
US11681785B2 (en) Detecting and tracking virtual containers
US10664376B2 (en) Hierarchical process group management
US9619308B2 (en) Executing a kernel device driver as a user space process
US9658869B2 (en) Autonomously managed virtual machine anti-affinity rules in cloud computing environments
US20070156981A1 (en) Method, apparatus and program product for managing memory in a virtual computing system
US9973193B2 (en) Enabling a field programmable device on-demand
US11010295B2 (en) Asynchronous update of metadata tracks in response to a cache hit generated via an i/o operation over a bus interface
US20180150416A1 (en) Pre-allocating memory buffers by physical processor and using a bitmap metadata in a control program
US8903871B2 (en) Dynamic management of log persistence
US10248466B2 (en) Managing workload distribution among processing systems based on field programmable devices
US10740143B2 (en) Controlling asynchronous tasks
US9747106B1 (en) Allocating multiple operand data areas of a computer instruction within a program buffer
US10061614B2 (en) Resource management for untrusted programs
US9191267B2 (en) Device management for determining the effects of management actions
US20160034210A1 (en) Committing data across multiple, heterogeneous storage devices
US9588802B1 (en) Asynchronously clearing page frames
US9857979B2 (en) Optimizing page boundary crossing in system memory using a reference bit and a change bit
US10936427B2 (en) Disaster recovery data fetching control
US11016874B2 (en) Updating taint tags based on runtime behavior profiles

Legal Events

Date Code Title Description
AS Assignment

Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW YORK

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:FILACHEK, CHRISTOPHER D.;NIEVES, GABRIEL;SHERSHIN, MICHAEL J.;REEL/FRAME:046813/0886

Effective date: 20160622

Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW Y

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:FILACHEK, CHRISTOPHER D.;NIEVES, GABRIEL;SHERSHIN, MICHAEL J.;REEL/FRAME:046813/0886

Effective date: 20160622

FEPP Fee payment procedure

Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER

STPP Information on status: patent application and granting procedure in general

Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS

STPP Information on status: patent application and granting procedure in general

Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT RECEIVED

STCF Information on status: patent grant

Free format text: PATENTED CASE

FEPP Fee payment procedure

Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY