WO2011031732A1 - Managing resources to facilitate altering the number of active processors - Google Patents

Managing resources to facilitate altering the number of active processors Download PDF

Info

Publication number
WO2011031732A1
WO2011031732A1 PCT/US2010/048093 US2010048093W WO2011031732A1 WO 2011031732 A1 WO2011031732 A1 WO 2011031732A1 US 2010048093 W US2010048093 W US 2010048093W WO 2011031732 A1 WO2011031732 A1 WO 2011031732A1
Authority
WO
WIPO (PCT)
Prior art keywords
processor
state
memory
gpu
transition
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.)
Ceased
Application number
PCT/US2010/048093
Other languages
French (fr)
Inventor
David Gotwalt
Oleksandr Khodorkovsky
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.)
ATI Technologies ULC
Advanced Micro Devices Inc
Original Assignee
ATI Technologies ULC
Advanced Micro Devices Inc
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 ATI Technologies ULC, Advanced Micro Devices Inc filed Critical ATI Technologies ULC
Priority to IN2815DEN2012 priority Critical patent/IN2012DN02815A/en
Priority to JP2012528875A priority patent/JP5416842B2/en
Priority to EP10754629.3A priority patent/EP2476037B1/en
Priority to CN201080050596.6A priority patent/CN102597909B/en
Publication of WO2011031732A1 publication Critical patent/WO2011031732A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/80Architectures of general purpose stored program computers comprising an array of processing units with common control, e.g. single instruction multiple data processors
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/12Frame memory handling
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/363Graphics controllers
    • 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

  • unused GPUs may have to remain powered so that resources stored on their associated memories remain accessible to other GPUs of the system. Keeping unused GPUs powered results in the system using more power and, in the case of mobile systems, results in a shorter battery life.
  • a method of managing resources includes identifying a resource associated with a processor responsive to an impending transition and copying the identified resource from a memory associated with the GPU or to the memory associated with the GPU.
  • a system for managing power includes a processor and a memory in communication with the processor.
  • the memory stores a plurality of processing instructions for directing the processor to identify a resource associated with a processor responsive to an impending transition and copy the identified resource from a memory associated with the processor or to the memory associated with the processor.
  • a computer readable medium that carries one or more sequences of one or more instructions for execution by one or more processors to perform a method of managing resources, the instructions when executed by the one or more processors, cause the one or more processors to: identify a resource associated with the processor responsive to an impending transition, and perform at least one from the group including (i) copying the identified resource from a memory associated with the processor and (ii) copying the identified resource to the memory associated with the processor.
  • FIG. 1 shows a block diagram of a conventional graphics computing environment.
  • FIG. 7 is a state diagram illustrating an exemplary operation of a configuration manager, according to an embodiment of the present invention.
  • FIG. 8 is a flowchart of an exemplary method of managing resources in multi- graphics processing unit systems, according to an embodiment of the present invention
  • FIG. 1 shows a computing environment 100 that includes a central processing unit
  • GPUs 106-110 can be used to perform a variety of graphics tasks such as rendering and driving a display.
  • computing environment 100 has two types of GPUs, a master GPU and slave GPUs.
  • a master GPU is the GPU that drives the display and slave GPUs are GPUs that do not drive a display.
  • master GPU 106 drives display 1 18.
  • Display 118 can be a variety of different types of displays such as a monitor or other screen.
  • master GPU 106 can drive display 1 18 through one or more components (not shown in FIG. 1), such as a multiplexer.
  • GPUs 106, 108, and 1 10 are coupled to associated memories 1 12, 1 14, and 1 16, respectively.
  • each of memories 1 12-116 stores resources.
  • memory 112 stores some resources 1 , 2, 3, 4, and 6.
  • memories 114 and 1 16 store resources 1 , 2, 3, 4, and 5, and resources 1 , 2, 3, 4, and 7, respectively.
  • memories 112-116 store resources that are stored in all the memories, e.g., resources 1, 2, 3, and 4, and store other resources that are only available on that particular memory, e.g., resources 5, 6, and 7.
  • one or more of resources 1-7 include a surface rendered by a respective GPU of GPUs 106-1 10 or other types of data produced by GPUs.
  • one or more of resources 1-7 include a surface or other data generated by CPU 102.
  • Having all of GPUs 106-1 10 complete graphics processing tasks in parallel provide enhanced performance. In other situations, however, the enhanced performance provided by having multiple GPUs active requires too much power usage or is not needed. For example, when the system is being powered by DC power, e.g., a battery, power savings may be more important than graphics performance and it may be desired to shut down power to slave GPU 108 and/or slave GPU 1 10.
  • CPU 102 may not be running any applications, e.g., graphics-intensive games, which benefit from or require all of GPUs 106-110 to be active. In such an example, one or more of slave GPUs 108 and 1 10 may be inactive, i.e., not processing any graphics tasks. As shown in FIG.
  • methods and systems are provided that manage resources to allow one or more GPUs to be switched from a powered state to a sub- operational power state.
  • methods and systems described herein allow for resources specific to a slave GPU that will transition to a sub-operational power state to be copied to the memory associated with another (e.g., master) GPU that will remain in a powered state so that the resources will not be lost.
  • the resources lost while the slave was in the sub-operational power state or which have become out-of-date can be provided back to the slave GPU when it returns to powered state.
  • a processor e.g., a GPU
  • a powered state is state when power is supplied such that the resources in a memory associated with the processor are not lost and remain up to date.
  • a powered state can be a state where all of the circuit blocks of the GPU are fully powered and where a memory is refreshed as normal and access to the contents of the memory is enabled.
  • FIG. 2 shows a computing environment 200, according to an embodiment of the present invention.
  • Computing environment 200 includes a CPU 202, a memory 204, a slave GPU 206, a master GPU 208, memories 210 and 212, and a display 214.
  • GPUs 206 and 208 may form part of other devices such as part of a single (or multiple) CPUs, part of a single device (e.g., an ASIC with multiple GPU cores), part of different devices (such as, for example, a northbridge) or combinations thereof.
  • Computing environment 200 is shown with only a single slave GPU 206 and a single master GPU 208 only for the sake of simplicity. As would be appreciated by those skilled in the relevant arts based on the description herein, embodiments described herein can also be applied to systems that include more than one master GPU or slave GPU. GPUs 206 and 208 can be used to perform a variety of graphics tasks such as rendering and driving a display. Master GPU 208 is coupled to a display 214. In an embodiment, display 214 is substantially similar to display 1 18, described with reference to FIG. 1.
  • GPUs 206 and 208 are coupled to associated memories 210 and 212, respectively.
  • both of memories 210 and 212 store resources 1 , 2, 3, and 4, while only memory 210 stores resource 5.
  • CPU 202 has a configuration manager module 216 and a driver 218 running on it.
  • CPU 202 is coupled to a memory, e.g., memory 204 or other memory not shown in FIG. 2, that stores instructions directing CPU 202 to run configuration manager 216 and/or driver 218.
  • Configuration manager 216 receives information regarding a system event and determines a configuration for GPUs 206 and 208. In particular, configuration manager assigns graphics responsibilities to each of GPUs 206 and 208 based on system events.
  • System events can include, for example, switching from AC power, e.g., wall socket power, to DC power, e.g., battery power.
  • one of GPUs 206 and 208 can be switched to a sub-operational power state to save power.
  • GPU 206 is a high performance GPU and GPU 208 is a comparably lower performance GPU that also uses less power than GPU 206.
  • high performance GPU 206 when the power source is switched from AC power to DC power, high performance GPU 206 can be switched to a sub-operational power state and comparably lower performance GPU 208 can be switched to a powered state.
  • high performance GPU 206 when the power source is switched from DC power to AC power, high performance GPU 206 can be switched from the sub-operational power state to a powered state and comparably lower performance GPU 208 can be switched to a powered state.
  • configuration manager 216 will be described further with respect to FIGS. 3-7.
  • Driver 218 controls the operation of GPUs 206 and 208.
  • Driver 218 includes a power manager module 220, a resource manager module 224, a slave-specific module 226, and a master-specific module 228.
  • Power manager module 220 receives the GPU configuration determined by configuration manager 216 and determines a power state for each of GPUs 206 and 208. For example, power manager module 220 can determine that slave GPU 206 will transition to a sub-operational power state or a powered state based on the responsibilities assigned to it by configuration manager 216 - this can be referred to as an upcoming or impending transition.
  • Resource manager module 224 manages the resources of memories 210 and 212 so that resources are not lost when the GPUs are transitioned to a sub-operational power state.
  • the impending or upcoming transition may be the result of an indication received, for example, from an application or user input.
  • resource manager module 224 accesses memory 204 to identify resources that must be copied from one memory to another.
  • resource manager module 224 can access a lookup table stored in memory 204 to identify resources that are stored in one memory and not in another.
  • a lookup table can be implemented as a linked list, an array, or other data structure as would be known to those skilled in the relevant arts based on the description herein.
  • the lookup table stored in memory 204 is indexed by the GPU to which the memory holding that resource is associated.
  • the lookup table can be indexed in other ways, such as based on the resource.
  • Slave-specific module 226 and master- specific module 228 correspond to slave GPU 206 and master GPU 208, respectively.
  • slave-specific module 226 and master-specific module 228 facilitate interactions between CPU 202 and GPUs 206 and 208.
  • FIG. 3 shows a simplified diagram of computing environment 200 when both slave GPU 206 and master GPU 208 are in powered states.
  • memory 210 associated with slave GPU 206 stores resource 5 that is not stored in memory 212 (associated with master GPU 208).
  • FIG. 4 shows a simplified diagram of system 200 after configuration manager 216 determines that a system event has occurred and that all graphics responsibilities will be assigned to master GPU 208.
  • configuration 216 may receive information indicating that power source has been switched to DC power, e.g. a battery that can only provide power for a limited amount of time making power usage more of a concern than graphics processing performance.
  • Power manager module 220 running on CPU 202 receives the GPU configuration determined by configuration 216, and determines power states for slave GPU 206 and master GPU 208. For example, power manager module 220 determines that slave GPU 206 and its associated memory 210 will be switched to a sub-operational power state and that master GPU 208 will remain in a powered state. Resource manager module 224 receives the determined power states for GPUs 206 and 208 and determines whether memory 210 is storing resources that need to be preserved.
  • resource manager module 224 accesses memory 204, and specifically the lookup table stored in memory 204, and identifies resource 5 as being stored on memory 210 and not in memory 212. Resource manager module 224 then directs slave GPU 206 and master GPU 208 to copy resource 5 from memory 210 to memory 212.
  • FIG. 5 shows a simplified diagram of system 200 after slave GPU 206 and memory 210 have been switched to sub-operational power states. As shown in FIG. 5, the contents of memory 210 have either been lost (because power was substantially shut down to those portions of the memory) or are no longer up to date (because memory has been switched to self refresh mode and the resources have been updated through graphics processing while slave GPU 206 was in the sub-operational power state).
  • memory 212 stores resource 5. By copying resource 5 to memory 212 before the state transition, resource 5 is preserved. Master GPU 208 can continue to receive graphics tasks from CPU 202 and update resources stored in memory 212 (including resource 5) as it normally would.
  • the lookup table stored in memory 204 is updated to reflect that memory 206 no longer stores any up-to- date resources.
  • the lookup table is also updated to reflect any changes in the contents of memory 212, e.g., updates to an existing resource or the presence of additional resources.
  • FIG. 6 shows a simplified diagram system 200 when slave GPU 206 and its associated memory 210 are returned to powered states.
  • configuration manager 216 can receive information indicating that the power source has been switched to AC power, e.g., wall socket power that can provide power for an essentially unlimited period of time making graphics performance more of a concern than power usage.
  • configuration manager 216 allows graphics responsibilities to assigned both slave GPU 206 and master GPU 208.
  • Power manager module 220 receives the determined configuration and determines the power states for slave GPU 206 and master GPU 208 and their respective associated memories.
  • power manager module 220 determines that GPUs 206 and 208 and memories 210 and 212 will be in powered states.
  • resource manager module 224 accesses the lookup table stored in memory 204 (which has been updated to show the memory 210 does not include any up to date resources) to determine which resources on memory 210 that should be copied to memory 210.
  • Resource manager module 224 then directs master GPU 208 and slave GPU 206 to copy resources 1-5 to memory 210.
  • computing environment 200 is returned to the state shown in FIG. 3 and described above.
  • GPUs 206 and 208 can continue to process graphics tasks normally, i.e., as if slave GPU 206 and memory 210 were not transitioned to sub- operational power states.
  • FIG. 7 shows a state diagram 700, according to an embodiment of the present invention.
  • State diagram 700 illustrates the operation of configuration manager 216 in response to changes in the power source and the starting or stopping of an application that benefits from or requires increased graphics performance, e.g. a 3-D graphics game.
  • Each state of state diagram 700 corresponds to a different GPU configuration, i.e., a different allocation of graphics processing responsibilities to the GPUs in the system.
  • power manager module 220 determines power states for each GPU in the system.
  • state diagram 700 includes an initial decision 702 and states
  • configuration manager 216 makes initial decision 702 to determine whether the power source is AC power or DC power. If in initial decision step 702, it is determined that an AC power source is powering the system, configuration manager 216 enters state 704. In state 704, either a single or multi GPU configuration is used. For example, if the system is included in a desktop system, the system may immediately enter a multi-GPU state. Alternatively, if the system is included in a mobile system (e.g., a laptop), the system initially can enter a single GPU state. The other GPU(s) of the system would then be in sub-operational states. In either case, because a graphics application has not yet started, the GPU(s) in this configuration may be initially idle.
  • State 706 is substantially similar to state 704, except that the GPUs in the multi-GPU configuration are active, i.e., are processing graphics tasks.
  • state 704 includes a single idle GPU, the system can determine whether the application would benefit from or requires multiple GPUs. In such a case, state 706 would include having multiple GPUs active. Otherwise, a single GPU would be used to process the graphics tasks.
  • configuration manager 216 determines that a DC power source is powering the system, configuration manager 216 directs the system to enter state 708.
  • state 708 a single GPU is made available to handle graphics processing tasks. For example, only the master GPU may be made available to handle graphics processing tasks.
  • Power manager module 220 receives the determined responsibilities (i.e., that only the master GPU is available to handle graphics processing tasks) and determines that master GPU 208 is the only GPU that is in a powered state and the slave GPUs are in sub-operational power states.
  • state 708 can be substantially similar to state 704, except that the master GPU 208 may be in reduced power state due to DC power mode.
  • the master GPU 208 may be idle because no graphics processing applications have begun. Once a graphics processing application begins configuration manager 216 causes a transition to state 710 in which the master GPU is active. [0047] Thus, a graphics application starting or stopping causes a transition from states
  • state diagram 700 has been described with respect to system events including the switching of the power supply and the starting and stopping of a graphics processing application, those skilled in the relevant arts based on the description herein will recognize that configuration manager 216 can cause state transitions based on other system events, e.g., the level of battery power hitting a specific level, user input, etc.
  • FIG. 8 is a flowchart of an exemplary method 800 of managing resources in multi-
  • Flowchart 800 is described with reference to the embodiment of FIG. 2. However, flowchart 800 is not limited to that embodiment. The steps shown in FIG. 8 do not necessarily have to occur in the order shown. The steps of FIG. 8 are described in detail below.
  • step 802 it is determined that a GPU will transition from a first state to a second state based on a detected system event. For example, in FIG. 2, configuration manager 216, based on the power source being switched from AC power to DC power, determines that slave GPU 206 will not have any graphics responsibilities. Accordingly, power manager module 220 then determines that slave GPU 206 will transition from a powered state to a sub-operational power state.
  • configuration manager 216 based on the power source being switched from DC power to AC power, determines that slave GPU 206 will be made available to handle graphics processing tasks. Accordingly, power manager module 220 determines that slave GPU 206 will transition from a sub-operational power state to a powered state.
  • step 804 a resource associated with a GPU is identified. For example, in FIG.
  • resource manager module 224 based on the power state transition determined by power manager module 220, identifies resource 5 stored in memory 210 as being a resource that is stored in memory 210 and not in memory 212. Because memory resource 5 is only stored in memory 210, it will be lost when memory 210 is switched to a sub- operational power state unless it is copied to a memory that will remain active after the state transition, e.g., memory 212. In an embodiment, resource manager module 224 identifies resource 5 by accessing the lookup table stored in memory 204.
  • resource manager module 224 based on a determined state transition that slave 206 GPU will transition to a powered state, identifies resources not stored memory 210. For example, resource manager module 224 can access the lookup table stored in memory 204 to determine that memory 210 no longer has any up- to-date resources and can direct GPUs 206 and 208 to identify all resources stored in memory 212 to memory 210.
  • step 806 the identified resource is copied.
  • resource manager module 224 through slave-specific module 226 and master-specific module 228 may direct slave GPU 206 and master GPU 208, respectively, such that memory resource 5 is copied from memory 210 to memory 212.
  • resource manager module 224 through slave-specific module
  • steps of flowchart 800 have been described with reference to the embodiment in which GPUs are transitioned to different power states. As would be appreciated by those skilled in the relevant art(s), the steps of flowchart 800 may also be applied to embodiments including multiple processing devices, where one or more processing device is transitioned to a different power state, or to a single processing device including multiple processing cores, where one or more processing core is transitioned to a different power state.
  • the present invention may be embodied in hardware, software, firmware, or any combination thereof.
  • Embodiments of the present invention or portions thereof may be encoded in many programming languages such as hardware description languages (HDL), assembly language, and C language.
  • HDL hardware description languages
  • Verilog can be used to synthesize, simulate, and manufacture a device, e.g., a processor, application specific integrated circuit (ASIC), and/or other hardware element, that implements the aspects of one or more embodiments of the present invention.
  • Verilog code can be used to model, design, verify, and/or implement a processor that can scale frames using content-aware seam carving.
  • Verilog can be used to generate a register transfer level (TL) description of logic that can be used to execute instructions so that a frame can be scaled using content-aware seam carving.
  • the RTL description of the logic can then be used to generate data, e.g., graphic design system (GDS) or GDS II data, used to manufacture the desired logic or device.
  • GDS graphic design system
  • the Verilog code, the RTL description, and/or the GDS II data can be stored on a computer readable medium.
  • the instructions executed by the logic to perform aspects of the present invention can be coded in a variety of programming languages, such as C and C++, and compiled into object code that can be executed by the logic or other device.
  • aspects of the present invention can be stored, in whole or in part, on a computer readable media.
  • the instructions stored on the computer readable media can adapt a processor to perform the invention, in whole or in part, or be adapted to generate a device, e.g., processor, ASIC, other hardware, that is specifically adapted to perform the invention in whole or in part.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Power Sources (AREA)
  • Image Processing (AREA)
  • Hardware Redundancy (AREA)

Abstract

A method of managing resources is provided. The method includes identifying a resource associated with a processor responsive to an impending transition, and copying the identified resource from a memory associated with the GPU or to the memory associated with the GPU.

Description

MANAGING RESOURCES TO FACILITATE ALTERING THE NUMBER OF
ACTIVE PROCESSORS
BACKGROUND OF THE INVENTION
Field of the Invention
[0001 ] The present invention generally relates to graphics processing and more particularly to managing aspects of a multiple processor environment.
Background Art
[0002] Some computer systems have multiple processors such as, for example, multiple coprocessors such as those found in graphics processing systems which may include multiple graphics processing units (GPUs) (which may be embodied in multiple boards, ASICs, or multiple cores) to allow for performance gains through parallel processing of graphics tasks. For example, a graphics-intensive application may be running that requires or can benefit from having the additional processing power provided by using multiple GPUs. Other applications, however, do not benefit from such increased processing power. When these applications are being run, one or more GPUs may not be used.
[0003] In some operating systems, power can be saved by turning off unused GPUs.
When GPUs are shut down, resources stored on memories associated with those GPUs can be lost or become out-of-date. Thus, unused GPUs may have to remain powered so that resources stored on their associated memories remain accessible to other GPUs of the system. Keeping unused GPUs powered results in the system using more power and, in the case of mobile systems, results in a shorter battery life.
[0004] What is needed, then, are methods and systems that allow for resources to be preserved when unused processors (such as, for example, unused GPUs) are turned off.
BRIEF SUMMARY
[0005] Embodiments described herein relate to managing resources stored in memories so that states of processors (e.g., GPUs) in a multi-processor environment can be changed to save power. For example, resources of a first processor (e.g., a slave processor) may be preserved by copying the resources to a memory associated with a second processor (e.g., a master processor) before the first processor and associated memory transitions to a sub-operational state.
[0006J In an embodiment, a method of managing resources includes identifying a resource associated with a processor responsive to an impending transition and copying the identified resource from a memory associated with the GPU or to the memory associated with the GPU.
[0007] In another embodiment, a system for managing power includes a processor and a memory in communication with the processor. The memory stores a plurality of processing instructions for directing the processor to identify a resource associated with a processor responsive to an impending transition and copy the identified resource from a memory associated with the processor or to the memory associated with the processor.
[0008] In another embodiment, a computer readable medium is provided that carries one or more sequences of one or more instructions for execution by one or more processors to perform a method of managing resources, the instructions when executed by the one or more processors, cause the one or more processors to: identify a resource associated with the processor responsive to an impending transition, and perform at least one from the group including (i) copying the identified resource from a memory associated with the processor and (ii) copying the identified resource to the memory associated with the processor.
[0009] Further features and advantages of the invention, as well as the structure and operation of various embodiments of the invention, are described in detail below with reference to the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS/FIGURES
[0010] The accompanying drawings, which are incorporated herein and form a part of the specification, illustrate the present invention and, together with the description, further serve to explain the principles of the invention and to enable a person skilled in the pertinent art to make and use the invention.
[001 1 ] FIG. 1 shows a block diagram of a conventional graphics computing environment.
[0012] FIG. 2 shows a block diagram of a graphics computing environment, according to an embodiment of the present invention. [0013] FIGS. 3-6 are simplified diagrams of the computing environment shown in FIG. 2, according to embodiments of the present invention.
[0014] FIG. 7 is a state diagram illustrating an exemplary operation of a configuration manager, according to an embodiment of the present invention.
[0015] FIG. 8 is a flowchart of an exemplary method of managing resources in multi- graphics processing unit systems, according to an embodiment of the present invention
[0016] The present invention will be described with reference to the accompanying drawings. Generally, the drawing in which an element first appears is typically indicated by the leftmost digit(s) in the corresponding reference number.
DETAILED DESCRIPTION OF EMBODIMENTS OF THE INVENTION
[0017] It is to be appreciated that the Detailed Description section, and not the Summary and Abstract sections, is intended to be used to interpret the claims. The Summary and Abstract sections may set forth one or more but not all exemplary embodiments of the present invention as contemplated by the inventors, and thus, are not intended to limit the present invention and the appended claims in any way.
[0018] The foregoing description of the specific embodiments will so fully reveal the general nature of the invention that others can, by applying knowledge within the skill of the art, readily modify and/or adapt for various applications such specific embodiments, without undue experimentation, without departing from the general concept of the present invention. Therefore, such adaptations and modifications are intended to be within the meaning and range of equivalents of the disclosed embodiments, based on the teaching and guidance presented herein. It is to be understood that the phraseology or terminology herein is for the purpose of description and not of limitation, such that the terminology or phraseology of the present specification is to be interpreted by the skilled artisan in light of the teachings and guidance.
[0019] The breadth and scope of the present invention should not be limited by any of the above-described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents.
[0020] FIG. 1 shows a computing environment 100 that includes a central processing unit
(CPU) 102, a memory 104, a master graphics processing unit (GPU) 106, first and second slave GPUs 108 and 1 10, memories 112-116, and a display 118. [0021] A driver 120 is a program that runs on CPU 102. Driver 120 includes a master- specific driver 122 that handles operations specific to master GPU 106 and slave-specific drivers 124 and 126 that handle operations specific to first and second slave GPUs 108 and 1 10, respectively. In an embodiment, driver 120 controls the operation of GPUs 106- 110. For example, driver 120 can assign graphics tasks to each of GPUs 106-1 10.
[0022] As would be understood by those skilled in the relevant arts based on the description herein, GPUs 106-110 can be used to perform a variety of graphics tasks such as rendering and driving a display. As shown in FIG. 1, computing environment 100 has two types of GPUs, a master GPU and slave GPUs. In an embodiment, a master GPU is the GPU that drives the display and slave GPUs are GPUs that do not drive a display. For example, as shown in FIG. 1 , master GPU 106 drives display 1 18. Display 118 can be a variety of different types of displays such as a monitor or other screen. In alternate embodiments, master GPU 106 can drive display 1 18 through one or more components (not shown in FIG. 1), such as a multiplexer.
[0023] In another embodiment, a slave GPU can be used to drive a display. In such an embodiment, the master GPU can be the highest power consuming GPU that has the most processing power.
[0024] GPUs 106, 108, and 1 10 are coupled to associated memories 1 12, 1 14, and 1 16, respectively. As shown in FIG. 1, each of memories 1 12-116 stores resources. For example, memory 112 stores some resources 1 , 2, 3, 4, and 6. Similarly, memories 114 and 1 16 store resources 1 , 2, 3, 4, and 5, and resources 1 , 2, 3, 4, and 7, respectively. Thus, memories 112-116 store resources that are stored in all the memories, e.g., resources 1, 2, 3, and 4, and store other resources that are only available on that particular memory, e.g., resources 5, 6, and 7. In an embodiment, one or more of resources 1-7 include a surface rendered by a respective GPU of GPUs 106-1 10 or other types of data produced by GPUs. In another embodiment, one or more of resources 1-7 include a surface or other data generated by CPU 102.
[0025] Having all of GPUs 106-1 10 complete graphics processing tasks in parallel provide enhanced performance. In other situations, however, the enhanced performance provided by having multiple GPUs active requires too much power usage or is not needed. For example, when the system is being powered by DC power, e.g., a battery, power savings may be more important than graphics performance and it may be desired to shut down power to slave GPU 108 and/or slave GPU 1 10. In another example, CPU 102 may not be running any applications, e.g., graphics-intensive games, which benefit from or require all of GPUs 106-110 to be active. In such an example, one or more of slave GPUs 108 and 1 10 may be inactive, i.e., not processing any graphics tasks. As shown in FIG. 1, slave GPUs 108 and 1 10 cannot be shut down or otherwise deactivated because their associated memories store resources that are not stored elsewhere. Thus, GPUs 108 and 1 10 may have to continue to remain powered even when they are inactive and/or when the system is being powered by a limited power source (e.g., DC power).
[0026] In embodiments described herein, methods and systems are provided that manage resources to allow one or more GPUs to be switched from a powered state to a sub- operational power state. For example, methods and systems described herein allow for resources specific to a slave GPU that will transition to a sub-operational power state to be copied to the memory associated with another (e.g., master) GPU that will remain in a powered state so that the resources will not be lost. Moreover, the resources lost while the slave was in the sub-operational power state or which have become out-of-date can be provided back to the slave GPU when it returns to powered state.
[0027] In an embodiment, a processor (e.g., a GPU) is in a powered state is state when power is supplied such that the resources in a memory associated with the processor are not lost and remain up to date. For example, a powered state can be a state where all of the circuit blocks of the GPU are fully powered and where a memory is refreshed as normal and access to the contents of the memory is enabled.
[0028] In a sub-operational power state, at least some resources stored in a memory associated with the processor are lost or become out-of-date. For example, a GPU can have its settings switched to sub-operational levels. For example, the operating frequencies of the GPU can be substantially reduced, the operating voltage of the GPU can be set just high enough to maintain the reduced operating frequencies, circuit blocks such as phase-locked loops (PLLs) and input/output (I/O) pads can be completely shutdown. Similarly, in a sub-operational power state a memory can have its setting switched to sub-operational levels. For example, memory accesses can be disabled and memory can be switched to self-refresh mode. In another embodiment, a GPU or a memory in a sub-operational power state can be completely shut down. [0029] FIG. 2 shows a computing environment 200, according to an embodiment of the present invention. Computing environment 200 includes a CPU 202, a memory 204, a slave GPU 206, a master GPU 208, memories 210 and 212, and a display 214. As will be understood by those of ordinary skill in the art, GPUs 206 and 208 may form part of other devices such as part of a single (or multiple) CPUs, part of a single device (e.g., an ASIC with multiple GPU cores), part of different devices (such as, for example, a northbridge) or combinations thereof.
[0030] Computing environment 200 is shown with only a single slave GPU 206 and a single master GPU 208 only for the sake of simplicity. As would be appreciated by those skilled in the relevant arts based on the description herein, embodiments described herein can also be applied to systems that include more than one master GPU or slave GPU. GPUs 206 and 208 can be used to perform a variety of graphics tasks such as rendering and driving a display. Master GPU 208 is coupled to a display 214. In an embodiment, display 214 is substantially similar to display 1 18, described with reference to FIG. 1.
[0031] GPUs 206 and 208 are coupled to associated memories 210 and 212, respectively.
As shown in FIG. 2, both of memories 210 and 212 store resources 1 , 2, 3, and 4, while only memory 210 stores resource 5.
[0032] CPU 202 has a configuration manager module 216 and a driver 218 running on it.
In an embodiment, CPU 202 is coupled to a memory, e.g., memory 204 or other memory not shown in FIG. 2, that stores instructions directing CPU 202 to run configuration manager 216 and/or driver 218. Configuration manager 216 receives information regarding a system event and determines a configuration for GPUs 206 and 208. In particular, configuration manager assigns graphics responsibilities to each of GPUs 206 and 208 based on system events. System events can include, for example, switching from AC power, e.g., wall socket power, to DC power, e.g., battery power. In such an embodiment, one of GPUs 206 and 208 can be switched to a sub-operational power state to save power. In another embodiment, GPU 206 is a high performance GPU and GPU 208 is a comparably lower performance GPU that also uses less power than GPU 206. In such an embodiment, when the power source is switched from AC power to DC power, high performance GPU 206 can be switched to a sub-operational power state and comparably lower performance GPU 208 can be switched to a powered state. When the power source is switched from DC power to AC power, high performance GPU 206 can be switched from the sub-operational power state to a powered state and comparably lower performance GPU 208 can be switched to a powered state.
10033 J Other system events can include the starting or stopping of an application that requires or benefits from additional graphics processing capabilities. The operation of configuration manager 216 will be described further with respect to FIGS. 3-7.
[0034] Driver 218 controls the operation of GPUs 206 and 208. Driver 218 includes a power manager module 220, a resource manager module 224, a slave-specific module 226, and a master-specific module 228. Power manager module 220 receives the GPU configuration determined by configuration manager 216 and determines a power state for each of GPUs 206 and 208. For example, power manager module 220 can determine that slave GPU 206 will transition to a sub-operational power state or a powered state based on the responsibilities assigned to it by configuration manager 216 - this can be referred to as an upcoming or impending transition. Resource manager module 224 manages the resources of memories 210 and 212 so that resources are not lost when the GPUs are transitioned to a sub-operational power state. The impending or upcoming transition may be the result of an indication received, for example, from an application or user input.
[0035] In an embodiment, resource manager module 224 accesses memory 204 to identify resources that must be copied from one memory to another. For example, resource manager module 224 can access a lookup table stored in memory 204 to identify resources that are stored in one memory and not in another. Such a lookup table can be implemented as a linked list, an array, or other data structure as would be known to those skilled in the relevant arts based on the description herein. As shown in FIG. 2, the lookup table stored in memory 204 is indexed by the GPU to which the memory holding that resource is associated. In other embodiments, the lookup table can be indexed in other ways, such as based on the resource. Slave-specific module 226 and master- specific module 228 correspond to slave GPU 206 and master GPU 208, respectively. In an embodiment, slave-specific module 226 and master-specific module 228 facilitate interactions between CPU 202 and GPUs 206 and 208. The operation of computing environment 200 with regards to managing resources in response to system events will be described further with respect to FIGS. 3-6.
[0036] FIG. 3 shows a simplified diagram of computing environment 200 when both slave GPU 206 and master GPU 208 are in powered states. As shown in FIG. 3, memory 210 (associated with slave GPU 206) stores resource 5 that is not stored in memory 212 (associated with master GPU 208).
[0037] FIG. 4 shows a simplified diagram of system 200 after configuration manager 216 determines that a system event has occurred and that all graphics responsibilities will be assigned to master GPU 208. For example, configuration 216 may receive information indicating that power source has been switched to DC power, e.g. a battery that can only provide power for a limited amount of time making power usage more of a concern than graphics processing performance.
[0038] Power manager module 220 running on CPU 202 receives the GPU configuration determined by configuration 216, and determines power states for slave GPU 206 and master GPU 208. For example, power manager module 220 determines that slave GPU 206 and its associated memory 210 will be switched to a sub-operational power state and that master GPU 208 will remain in a powered state. Resource manager module 224 receives the determined power states for GPUs 206 and 208 and determines whether memory 210 is storing resources that need to be preserved. For example, upon receiving information that slave GPU 206 and its associated memory 210 will be switched to a sub- operational power state, resource manager module 224 accesses memory 204, and specifically the lookup table stored in memory 204, and identifies resource 5 as being stored on memory 210 and not in memory 212. Resource manager module 224 then directs slave GPU 206 and master GPU 208 to copy resource 5 from memory 210 to memory 212.
[0039] FIG. 5 shows a simplified diagram of system 200 after slave GPU 206 and memory 210 have been switched to sub-operational power states. As shown in FIG. 5, the contents of memory 210 have either been lost (because power was substantially shut down to those portions of the memory) or are no longer up to date (because memory has been switched to self refresh mode and the resources have been updated through graphics processing while slave GPU 206 was in the sub-operational power state).
[0040] As shown in FIG. 5, memory 212 stores resource 5. By copying resource 5 to memory 212 before the state transition, resource 5 is preserved. Master GPU 208 can continue to receive graphics tasks from CPU 202 and update resources stored in memory 212 (including resource 5) as it normally would. In an embodiment, the lookup table stored in memory 204 is updated to reflect that memory 206 no longer stores any up-to- date resources. In a further embodiment, the lookup table is also updated to reflect any changes in the contents of memory 212, e.g., updates to an existing resource or the presence of additional resources.
[0041] FIG. 6 shows a simplified diagram system 200 when slave GPU 206 and its associated memory 210 are returned to powered states. For example, configuration manager 216 can receive information indicating that the power source has been switched to AC power, e.g., wall socket power that can provide power for an essentially unlimited period of time making graphics performance more of a concern than power usage. In response, configuration manager 216 allows graphics responsibilities to assigned both slave GPU 206 and master GPU 208. Power manager module 220 receives the determined configuration and determines the power states for slave GPU 206 and master GPU 208 and their respective associated memories.
(00421 Specifically, power manager module 220 determines that GPUs 206 and 208 and memories 210 and 212 will be in powered states. Upon receiving information indicating that slave GPU 206 and memory 210 will be returned to powered states, resource manager module 224 accesses the lookup table stored in memory 204 (which has been updated to show the memory 210 does not include any up to date resources) to determine which resources on memory 210 that should be copied to memory 210. Resource manager module 224 then directs master GPU 208 and slave GPU 206 to copy resources 1-5 to memory 210. Thus, computing environment 200 is returned to the state shown in FIG. 3 and described above. GPUs 206 and 208 can continue to process graphics tasks normally, i.e., as if slave GPU 206 and memory 210 were not transitioned to sub- operational power states.
[0043] FIG. 7 shows a state diagram 700, according to an embodiment of the present invention. State diagram 700 illustrates the operation of configuration manager 216 in response to changes in the power source and the starting or stopping of an application that benefits from or requires increased graphics performance, e.g. a 3-D graphics game. Each state of state diagram 700 corresponds to a different GPU configuration, i.e., a different allocation of graphics processing responsibilities to the GPUs in the system. Based on the allocation responsibilities, power manager module 220 determines power states for each GPU in the system. [0044] As shown in FIG. 7, state diagram 700 includes an initial decision 702 and states
704-710. When the system is initialized, configuration manager 216 makes initial decision 702 to determine whether the power source is AC power or DC power. If in initial decision step 702, it is determined that an AC power source is powering the system, configuration manager 216 enters state 704. In state 704, either a single or multi GPU configuration is used. For example, if the system is included in a desktop system, the system may immediately enter a multi-GPU state. Alternatively, if the system is included in a mobile system (e.g., a laptop), the system initially can enter a single GPU state. The other GPU(s) of the system would then be in sub-operational states. In either case, because a graphics application has not yet started, the GPU(s) in this configuration may be initially idle.
[0045] As shown in FIG. 7, once a graphics application begins, configuration manager
216 causes a transition to state 706. State 706 is substantially similar to state 704, except that the GPUs in the multi-GPU configuration are active, i.e., are processing graphics tasks. In the embodiment in which state 704 includes a single idle GPU, the system can determine whether the application would benefit from or requires multiple GPUs. In such a case, state 706 would include having multiple GPUs active. Otherwise, a single GPU would be used to process the graphics tasks.
[0046] If in initial decision step 702 configuration manager 216 determines that a DC power source is powering the system, configuration manager 216 directs the system to enter state 708. In state 708 a single GPU is made available to handle graphics processing tasks. For example, only the master GPU may be made available to handle graphics processing tasks. Power manager module 220 receives the determined responsibilities (i.e., that only the master GPU is available to handle graphics processing tasks) and determines that master GPU 208 is the only GPU that is in a powered state and the slave GPUs are in sub-operational power states. In an embodiment, state 708 can be substantially similar to state 704, except that the master GPU 208 may be in reduced power state due to DC power mode. In state 708, the master GPU 208may be idle because no graphics processing applications have begun. Once a graphics processing application begins configuration manager 216 causes a transition to state 710 in which the master GPU is active. [0047] Thus, a graphics application starting or stopping causes a transition from states
704 and 708 to states 706 and 710, respectively. A transition from DC to AC power, or vice versa, causes a transition between states 704 and 706, and states 708 and 710, respectively. Although state diagram 700 has been described with respect to system events including the switching of the power supply and the starting and stopping of a graphics processing application, those skilled in the relevant arts based on the description herein will recognize that configuration manager 216 can cause state transitions based on other system events, e.g., the level of battery power hitting a specific level, user input, etc.
[0048] FIG. 8 is a flowchart of an exemplary method 800 of managing resources in multi-
GPU systems, according to the present invention. Other structural and operational embodiments will be apparent to persons skilled in the relevant art(s) based on the following discussion. Flowchart 800 is described with reference to the embodiment of FIG. 2. However, flowchart 800 is not limited to that embodiment. The steps shown in FIG. 8 do not necessarily have to occur in the order shown. The steps of FIG. 8 are described in detail below.
[0049] In step 802, it is determined that a GPU will transition from a first state to a second state based on a detected system event. For example, in FIG. 2, configuration manager 216, based on the power source being switched from AC power to DC power, determines that slave GPU 206 will not have any graphics responsibilities. Accordingly, power manager module 220 then determines that slave GPU 206 will transition from a powered state to a sub-operational power state.
[0050] In another example, configuration manager 216, based on the power source being switched from DC power to AC power, determines that slave GPU 206 will be made available to handle graphics processing tasks. Accordingly, power manager module 220 determines that slave GPU 206 will transition from a sub-operational power state to a powered state.
[0051] In step 804, a resource associated with a GPU is identified. For example, in FIG.
2, based on the power state transition determined by power manager module 220, resource manager module 224 identifies resource 5 stored in memory 210 as being a resource that is stored in memory 210 and not in memory 212. Because memory resource 5 is only stored in memory 210, it will be lost when memory 210 is switched to a sub- operational power state unless it is copied to a memory that will remain active after the state transition, e.g., memory 212. In an embodiment, resource manager module 224 identifies resource 5 by accessing the lookup table stored in memory 204.
[0052] In another embodiment, resource manager module 224, based on a determined state transition that slave 206 GPU will transition to a powered state, identifies resources not stored memory 210. For example, resource manager module 224 can access the lookup table stored in memory 204 to determine that memory 210 no longer has any up- to-date resources and can direct GPUs 206 and 208 to identify all resources stored in memory 212 to memory 210.
[0053] In step 806, the identified resource is copied. For example, in FIG. 2, resource manager module 224 through slave-specific module 226 and master-specific module 228 may direct slave GPU 206 and master GPU 208, respectively, such that memory resource 5 is copied from memory 210 to memory 212.
[0054] In another example, resource manager module 224 through slave-specific module
226 and master-specific module 228 may direct slave GPU 206 and master GPU 208 to copy the identified contents of memory 212 to memory 210, e.g., when slave GPU 206 transitions from a sub-operational power state to a powered state.
[0055] The steps of flowchart 800 have been described with reference to the embodiment in which GPUs are transitioned to different power states. As would be appreciated by those skilled in the relevant art(s), the steps of flowchart 800 may also be applied to embodiments including multiple processing devices, where one or more processing device is transitioned to a different power state, or to a single processing device including multiple processing cores, where one or more processing core is transitioned to a different power state.
[0056] The present invention may be embodied in hardware, software, firmware, or any combination thereof. Embodiments of the present invention or portions thereof may be encoded in many programming languages such as hardware description languages (HDL), assembly language, and C language. For example, an HDL, e.g., Verilog, can be used to synthesize, simulate, and manufacture a device, e.g., a processor, application specific integrated circuit (ASIC), and/or other hardware element, that implements the aspects of one or more embodiments of the present invention. Verilog code can be used to model, design, verify, and/or implement a processor that can scale frames using content-aware seam carving. For example, Verilog can be used to generate a register transfer level ( TL) description of logic that can be used to execute instructions so that a frame can be scaled using content-aware seam carving. The RTL description of the logic can then be used to generate data, e.g., graphic design system (GDS) or GDS II data, used to manufacture the desired logic or device. The Verilog code, the RTL description, and/or the GDS II data can be stored on a computer readable medium. The instructions executed by the logic to perform aspects of the present invention can be coded in a variety of programming languages, such as C and C++, and compiled into object code that can be executed by the logic or other device.
[0057] Aspects of the present invention can be stored, in whole or in part, on a computer readable media. The instructions stored on the computer readable media can adapt a processor to perform the invention, in whole or in part, or be adapted to generate a device, e.g., processor, ASIC, other hardware, that is specifically adapted to perform the invention in whole or in part.
Conclusion
[0058] The present invention has been described above with the aid of functional building blocks illustrating the implementation of specified functions and relationships thereof. The boundaries of these functional building blocks have been arbitrarily defined herein for the convenience of the description. Alternate boundaries can be defined so long as the specified functions and relationships thereof are appropriately performed.
[0059] While various embodiments of the present invention have been described above, it should be understood that they have been presented by way of example only, and not limitation. It will be apparent to persons skilled in the relevant art that various changes in form and detail can be made therein without departing from the spirit and scope of the invention. Thus, the breadth and scope of the present invention should not be limited by any of the above-described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents.

Claims

WHAT IS CLAIMED IS:
1. A method of managing resources in a processor, comprising:
identifying a resource associated with the processor responsive to an impending transition; and
performing at least one from the group including (i) copying the identified resource from a memory associated with the processor and (ii) copying the identified resource to the memory associated with the processor.
2. The method of claim 1 , wherein the impending transition is a transition from a first state to a second state, wherein the first state is a powered state and the second state is a sub- operational power state, wherein the processor is a first processor, and wherein copying comprises: copying the identified resource from the memory associated with the first processor to a memory associated with a second processor.
3. The method of claim 2, further comprising:
determining that the second processor will be in a powered state while the first processor is in the sub-operational power state.
4. The method of claim 2, wherein the first processor is a slave GPU and the second processor is a master GPU.
5. The method of claim 1 , wherein the impending transition is a transition from a first state to a second state, wherein the first state is a sub-operational power state and the second state is a powered state, wherein the processor is a first processor, and wherein copying comprises: copying the identified resource to the memory associated with the first processor from a memory associated with a second processor.
6. The method of claim 5, wherein the first processor is a slave GPU and the second processor is a master GPU.
7. The method of claim 1 , wherein the memory is a first memory and wherein identifying comprises: accessing a second memory to determine contents of the first memory.
8. The method of claim 1 , wherein the impending transition is a transition from a first state to a second state, wherein the memory is a first memory, wherein the processor is a first processor, wherein the first processor is coupled to a second processor, wherein the second processor is associated with a second memory, wherein the first state is a powered state and the second state is a sub-operational power state, and wherein identifying comprises:
accessing a lookup table stored in a third memory to identify the resource as being stored in the first memory and not stored in the second memory.
9. The method of claim 1, further comprising:
identifying the impending transition based on a detected system event.
10. The method of claim 1 , wherein the impending transition is a transition from a first state to a second state, wherein the first state or the second state is a state in which memory refreshes for at least a portion of the memory are disabled.
11. A system for managing power, comprising: a processor; and a memory in communication with said processor, said memory for storing a plurality of processing instructions for directing said processor to: identify a resource associated with a processor responsive to an impending transition; and
perform at least one from the group including (i) copy the identified resource from a memory associated with the processor and (ii) copy the identified resource to the memory associated with the processor.
12. The system of claim 1 1 , wherein the impending transition is a transition from a first state to a second state, wherein the first state is a powered state and the second state is a sub- operational power state and wherein the processor is a first processor, further comprising the processor to: copy the identified resource from the memory associated with the first processor to a memory associated with a second processor.
13. The system of claim 12, further comprising the processor to:
determine that the second processor will be in an fully powered state while the first processor is in the sub-operational power state.
14. The system of claim 12, wherein the first processor is a slave GPU and the second processor is a master GPU.
15. The system of claim 1 1, wherein the impending transition is a transition from a first state to a second state, wherein the first state is an a sub-operational power state and the second state is an powered state, and wherein the processor is a first processor, further comprising the processor to: copy the identified resource to the memory associated with the first processor from a memory associated with a second processor.
16. The system of claim 1 1 , wherein the memory is a first memory, further comprising the processor to:
access a second memory to determine contents of the first memory.
17. The system of claim 1 1, wherein the impending transition is a transition from a first state to a second state, wherein the memory is a first memory, wherein the processor is a first processor, wherein the first processor is coupled to a second processor, wherein the second processor is associated with a second memory, wherein the first state is an fully powered state and the second state is an sub-operational power state; further comprising the processor to:
access a lookup table stored in a third memory to identify the resource as being stored in the first memory and not stored in the second memory.
18. A computer readable medium carrying one or more sequences of one or more instructions for execution by one or more processors to perform a method for of managing resources, the instructions when executed by the one or more processors, cause the one or more processors to: identify a resource associated with the processor responsive to an impending transition; and
perform at least one from the group including (i) copying the identified resource from a memory associated with the processor and (ii) copying the identified resource to the memory associated with the processor.
19. The computer readable medium of claim 18, wherein the first processor is a slave GPU and the second processor is a master GPU.
20. The computer readable medium of claim 18, further comprising:
identifying the impending transition based on a detected system event.
PCT/US2010/048093 2009-09-09 2010-09-08 Managing resources to facilitate altering the number of active processors Ceased WO2011031732A1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
IN2815DEN2012 IN2012DN02815A (en) 2009-09-09 2010-09-08
JP2012528875A JP5416842B2 (en) 2009-09-09 2010-09-08 Resource management that makes it easy to change the number of active processors
EP10754629.3A EP2476037B1 (en) 2009-09-09 2010-09-08 Managing resources to facilitate altering the number of active processors
CN201080050596.6A CN102597909B (en) 2009-09-09 2010-09-08 Management resource is to promote altering the number of active processors

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US24087209P 2009-09-09 2009-09-09
US61/240,872 2009-09-09
US12/695,863 2010-01-28
US12/695,863 US8305380B2 (en) 2009-09-09 2010-01-28 Managing resources to facilitate altering the number of active processors

Publications (1)

Publication Number Publication Date
WO2011031732A1 true WO2011031732A1 (en) 2011-03-17

Family

ID=43647397

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2010/048093 Ceased WO2011031732A1 (en) 2009-09-09 2010-09-08 Managing resources to facilitate altering the number of active processors

Country Status (7)

Country Link
US (1) US8305380B2 (en)
EP (1) EP2476037B1 (en)
JP (1) JP5416842B2 (en)
KR (1) KR101633030B1 (en)
CN (1) CN102597909B (en)
IN (1) IN2012DN02815A (en)
WO (1) WO2011031732A1 (en)

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8782190B2 (en) 2009-07-17 2014-07-15 Honeywell International, Inc. Demand response management system
US9137050B2 (en) * 2009-07-17 2015-09-15 Honeywell International Inc. Demand response system incorporating a graphical processing unit
US9818073B2 (en) 2009-07-17 2017-11-14 Honeywell International Inc. Demand response management system
US9124535B2 (en) 2009-07-17 2015-09-01 Honeywell International Inc. System for using attributes to deploy demand response resources
WO2012045191A1 (en) * 2010-10-05 2012-04-12 Intel Corporation System and method for multiple native software applications user interface composition
US9153001B2 (en) 2011-01-28 2015-10-06 Honeywell International Inc. Approach for managing distribution of automated demand response events in a multi-site enterprise
US8924752B1 (en) 2011-04-20 2014-12-30 Apple Inc. Power management for a graphics processing unit or other circuit
US10817043B2 (en) * 2011-07-26 2020-10-27 Nvidia Corporation System and method for entering and exiting sleep mode in a graphics subsystem
US8892919B2 (en) 2011-12-14 2014-11-18 Ati Technologies Ulc Method and apparatus for power management of a processor in a virtual environment
US10095295B2 (en) 2011-12-14 2018-10-09 Advanced Micro Devices, Inc. Method and apparatus for power management of a graphics processing core in a virtual environment
TWI449921B (en) * 2011-12-21 2014-08-21 Acer Inc Device and method for adjusting power consumption
US9390461B1 (en) * 2012-05-08 2016-07-12 Apple Inc. Graphics hardware mode controls
US20140081704A1 (en) 2012-09-15 2014-03-20 Honeywell International Inc. Decision support system based on energy markets
CN103793038B (en) * 2012-10-29 2016-06-01 英业达科技有限公司 Electronic installation and power control method
US9389850B2 (en) 2012-11-29 2016-07-12 Honeywell International Inc. System and approach to manage versioning of field devices in a multi-site enterprise
US9691076B2 (en) 2013-07-11 2017-06-27 Honeywell International Inc. Demand response system having a participation predictor
US10346931B2 (en) 2013-07-11 2019-07-09 Honeywell International Inc. Arrangement for communicating demand response resource incentives
US9989937B2 (en) 2013-07-11 2018-06-05 Honeywell International Inc. Predicting responses of resources to demand response signals and having comfortable demand responses
US20150091912A1 (en) * 2013-09-27 2015-04-02 Nvidia Corporation Independent memory heaps for scalable link interface technology
US9665078B2 (en) 2014-03-25 2017-05-30 Honeywell International Inc. System for propagating messages for purposes of demand response
US10776895B2 (en) * 2017-02-10 2020-09-15 Apple Inc. GPU power and performance management
US10541556B2 (en) 2017-04-27 2020-01-21 Honeywell International Inc. System and approach to integrate and manage diverse demand response specifications for multi-site enterprises
US11157064B2 (en) 2017-09-28 2021-10-26 Intel Corporation Techniques to dynamically enable and disable accelerator devices in compute environments
CN114123457B (en) * 2021-12-01 2024-11-22 新华三信息技术有限公司 Power supply method, device and equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040068620A1 (en) * 2002-10-03 2004-04-08 Van Doren Stephen R. Directory structure permitting efficient write-backs in a shared memory computer system
US20040215987A1 (en) * 2003-04-25 2004-10-28 Keith Farkas Dynamically selecting processor cores for overall power efficiency
US20070091099A1 (en) * 2005-10-18 2007-04-26 Via Technologies, Inc. Event memory assisted synchronization in multi-GPU graphics subsystem
WO2007140404A2 (en) * 2006-05-30 2007-12-06 Ati Technologies Ulc Device having multiple graphics subsystems and reduced power consumption mode, software and methods
US20080034238A1 (en) * 2006-08-03 2008-02-07 Hendry Ian C Multiplexed graphics architecture for graphics power management
WO2009038902A1 (en) * 2007-09-20 2009-03-26 Apple Inc. Switching between graphics sources to facilitate power management and/or security
US20090153528A1 (en) * 2007-12-13 2009-06-18 Orr Stephen J Settings control in devices comprising at least two graphics processors
US20090222654A1 (en) * 2008-02-29 2009-09-03 Herbert Hum Distribution of tasks among asymmetric processing elements

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11202988A (en) * 1998-01-13 1999-07-30 Hitachi Ltd System power consumption control method
US7015919B1 (en) * 2002-01-08 2006-03-21 Apple Computer, Inc. Virtualization of graphics resources
US7019752B1 (en) * 2003-06-04 2006-03-28 Apple Computer, Inc. Method and apparatus for frame buffer management
JP4402622B2 (en) 2004-07-01 2010-01-20 パナソニック株式会社 Multiprocessor control device, control method thereof, and integrated circuit
US8199155B2 (en) * 2006-11-22 2012-06-12 Nvidia Corporation System, method, and computer program product for saving power in a multi-graphics processor environment
US8487943B2 (en) * 2007-12-13 2013-07-16 Advanced Micro Devices, Inc. Driver architecture for computing device having multiple graphics subsystems, reduced power consumption modes, software and methods
KR100969322B1 (en) 2008-01-10 2010-07-09 엘지전자 주식회사 Data processing device having a multi-graphics controller and data processing method using the same
US8266398B2 (en) * 2008-05-22 2012-09-11 Oracle America, Inc. Method and apparatus for preserving memory contents during a power outage
US20100211958A1 (en) * 2009-02-17 2010-08-19 Sun Microsystems, Inc. Automated resource load balancing in a computing system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040068620A1 (en) * 2002-10-03 2004-04-08 Van Doren Stephen R. Directory structure permitting efficient write-backs in a shared memory computer system
US20040215987A1 (en) * 2003-04-25 2004-10-28 Keith Farkas Dynamically selecting processor cores for overall power efficiency
US20070091099A1 (en) * 2005-10-18 2007-04-26 Via Technologies, Inc. Event memory assisted synchronization in multi-GPU graphics subsystem
WO2007140404A2 (en) * 2006-05-30 2007-12-06 Ati Technologies Ulc Device having multiple graphics subsystems and reduced power consumption mode, software and methods
US20080034238A1 (en) * 2006-08-03 2008-02-07 Hendry Ian C Multiplexed graphics architecture for graphics power management
WO2009038902A1 (en) * 2007-09-20 2009-03-26 Apple Inc. Switching between graphics sources to facilitate power management and/or security
US20090153528A1 (en) * 2007-12-13 2009-06-18 Orr Stephen J Settings control in devices comprising at least two graphics processors
US20090222654A1 (en) * 2008-02-29 2009-09-03 Herbert Hum Distribution of tasks among asymmetric processing elements

Also Published As

Publication number Publication date
CN102597909B (en) 2016-08-03
EP2476037B1 (en) 2016-10-26
US20110057936A1 (en) 2011-03-10
IN2012DN02815A (en) 2015-07-24
EP2476037A1 (en) 2012-07-18
JP5416842B2 (en) 2014-02-12
KR20120062891A (en) 2012-06-14
KR101633030B1 (en) 2016-07-01
CN102597909A (en) 2012-07-18
JP2013504810A (en) 2013-02-07
US8305380B2 (en) 2012-11-06

Similar Documents

Publication Publication Date Title
US8305380B2 (en) Managing resources to facilitate altering the number of active processors
US8839012B2 (en) Power management in multi-GPU systems
US8316255B2 (en) Method and apparatus for responding to signals from a disabling device while in a disabled state
CN105103106B (en) Automatically adjusts display area to reduce power consumption
JP4621290B2 (en) Adaptive power management
US7698579B2 (en) Multiplexed graphics architecture for graphics power management
JP5254194B2 (en) Hybrid graphic display power management
JP5960842B2 (en) Hybrid write-through / write-back cache policy manager and related systems and methods
CN101313268B (en) Integrating display controller into low power processor
CN101978352A (en) Driver architecture, software and method for computing device with multiple graphics subsystems, reduced power consumption modes
CN105895030B (en) Controllers for Persistent Display Panels
US20230004400A1 (en) System and method for providing system level sleep state power savings
KR20090035580A (en) CPU mode-based cache allocation for image data
CN117813589A (en) Virtual processing unit for sensing workload
US7624287B2 (en) Adaptive power state management

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201080050596.6

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10754629

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2010754629

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2010754629

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2012528875

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 2815/DELNP/2012

Country of ref document: IN

ENP Entry into the national phase

Ref document number: 20127009175

Country of ref document: KR

Kind code of ref document: A