As technology advances in the semiconductor field, devices such as processors incorporate ever-increasing amounts of circuitry. Over time, processor designs have evolved from a collection of independent integrated circuits (ICs), to a single integrated circuit, to multicore processors that include multiple processor cores within a single IC package. As time goes on, ever greater numbers of cores and related circuitry are being incorporated into processors and other semiconductors.
Multicore processors are being extended to include additional functionality by incorporation of other functional units within the processor. One issue that arises is that the different circuitry can have differing needs with regard to frequency of operation based on their workloads. However, suitable mechanisms to ensure that these different units operate at an appropriate frequency are not available. Further, the different units can have a shared interface to access a shared cache or system memory. Typically, this interface to the cache and system memory is either operated at a constant fixed frequency or is tied to the frequency of the processor cores.
A multi-domain processor including multiple domains such as a core domain, a non-core domain and a system agent domain can enable the non-core domain to control memory bandwidth available to it. As will be described herein, in various embodiments this memory bandwidth can be realized by an interconnect structure, namely a ring interconnect that is part of the core domain. However, although described herein as being part of the core domain, understand that in other implementations a multi-domain processor can include an independent interconnect domain. By allowing a non-core domain to have control over an interconnect frequency and thus bandwidth, memory bandwidth used by non-core domain can be more efficient.
As will be discussed further below, in a multi-domain processor, a non-core domain can be coupled to a shared memory such as a last level cache and system main memory via an interconnect structure. By default, the interconnect frequency can be at the maximum frequency of all active cores of the core domain. If however the processor is power and/or thermally limited, the interconnect frequency drops along with the cores' frequency. Since the interconnect frequency impacts the effective memory bandwidth available to the non-core domain, the interconnect frequency has a significant impact on non-core domain performance. However, higher interconnect frequency comes at a cost of higher power consumption in the core domain. Embodiments may use a mailbox interface to dynamically optimize power/performance for a workload executing on a non-core domain.
In the particular implementation described herein, the non-core domain can be a graphics domain that includes one or more graphics engines. By enabling this domain to control its memory bandwidth via an interconnect to a memory hierarchy, performance of this domain can be improved, since particularly for a graphics workload performance is a strong function of bandwidth available to it. Although different manners of providing this control to the graphics domain are possible, embodiments described herein enable this ability by a mechanism that maps non-core domain frequency to a corresponding interconnect frequency. This mapping can be maintained in a table, which may be located in a power controller of the processor such as a power control unit (PCU). As will be described herein, this table can be configured during initialization by the non-core domain and furthermore, the table can be dynamically updated based on a workload being executed by the non-core domain. In this way, a close association between the workload being handled in the non-core domain and the bandwidth of the path to the memory subsystem can be achieved.
Referring now to
Accordingly, during normal operation control passes to block 130 where the interconnect frequency can be controlled using the mapping table. More specifically, responsive to the non-core domain operating frequency, which the PCU itself configures, a corresponding interconnect frequency is also configured. For example, when a graphics frequency changes, the PCU can use the updated graphics frequency value as an index into the table to access a table entry that includes a corresponding interconnect frequency for that graphics domain frequency. Accordingly, the PCU can take appropriate action to cause that interconnect frequency to be provided. As an example, the interconnect frequency can be changed by the same mechanism used to change core domain frequency, namely requesting core and non-core domains to pause generating cache bound or memory bound requests, draining the interconnect domain of all outstanding requests, effecting a frequency change and enabling the core and non-core domains to resume generating cache or memory traffic.
In the particular implementation described herein, note that the interconnect structure can be within the core domain and thus the core domain frequency itself is controlled. Note also that the frequency thus read from the table is a minimum frequency at which the interconnect is to operate and accordingly if the core domain is operating at a higher frequency than this value, the update to the interconnect frequency does not occur. And, when the processor is power/thermally limited, this frequency is not guaranteed. Further understand that in embodiments in which the interconnect frequency is also the operating frequency of the core domain, the PCU may select a maximum of the interconnect frequency from the appropriate mapping table entry and the core operating frequency requested by the operating system. Although shown at this high level in the embodiment of
As discussed above, the actual values stored in the mapping table can originate with the driver for the non-core domain. In one embodiment, this driver may include different tables, each associated with a particular type of workload to be executed on the non-core domain. These tables may include a base table that can be written to the mapping table in the PCU upon system initialization. However, due to changes in the workload, the table can be updated dynamically. This update may be to one or more values the table, or a complete update of the table to a new set of values can occur. Note that these different table configurations can be stored in connection with the driver, and each can be based on characterization testing of different workloads executing on the non-core domain. In a graphics domain example, different workload types can be different graphics resolution modes, 3D mode, multiple monitor configurations, and so forth. Also, different table entries may be provided depending on whether a gaming workload is performed (e.g., increasing interconnect frequency) or whether video playback on a portable device is executing (e.g., decreasing interconnect frequency) to reduce battery consumption.
Referring now to
As seen, method 200 begins by determining whether a characteristic of a workload executing on the non-core domain has changed (diamond 210). If not, the remainder of the flow does not proceed for this iteration. Note that the analysis of the workload change may be based on a video mode being executed, e.g., video resolution, the presence of multiple monitors, a 3D mode, a type of media being played back, or so forth.
If instead it is determined at diamond 210 that the workload characteristic has changed, control passes to block 220. There, a determination may be made as to the memory boundedness of the workload (block 220). Although the scope of the present invention is not limited in this regard, in one embodiment the determination of memory boundedness can be based on statistics gathered for a given time interval as to the status of certain operations of the workload. For example, in one embodiment memory boundedness can be determined based on a number of misses from low level caches (e.g., of the non-core domain) that require access to a last level cache (LLC) or system memory. In other implementations, memory boundedness can be determined as a ratio with regard to the residency of outstanding loads from memory of instructions in an order buffer such as a memory order buffer (MOB) as compared to time spent in an active (e.g., a C0) state. Or the boundedness can be determined by a ratio of non-core domain read and write transactions on the memory interconnect to the total transactions. Memory boundedness can also be inferred by analyzing the number of memory read/write or commands being sent out to each of the memory modules.
This determination of memory boundedness can thus take some amount of time to obtain. Upon its completion, the driver can send an update for the mapping table to the PCU (block 230). In one embodiment, the driver can use the mailbox interface to update the mapping table. As discussed, this update can be to one or more (up to all) entries of the mapping table. For example, assume that the workload is memory bounded, the driver can cause updated values to be sent to the PCU to thus enable the table to be updated with increased interconnect frequency values for the same corresponding non-core domain frequency values. Accordingly, control passes to block 240, where the PCU can then use this updated mapping table to select an appropriate interconnect frequency for the corresponding non-core domain frequency. While described with this particular implementation in the embodiment of
As seen in the example of Table 1, the mapping table can include a plurality of entries each having two parameters namely non-core domain frequency and corresponding minimum interconnect frequency, which in the Table 1 embodiment may be in terms of megahertz (MHz). However in other embodiments the table can store entries that associate frequencies by ratios, offsets or so forth. In an embodiment, the non-core domain driver during run time can use the mailbox interface to set up this table in PCU memory. This configuration may be via specification of pairwise entries to identify a target interconnect frequency for a corresponding non-core domain frequency. Then after configuration, the PCU can access the table based on a frequency at which the non-core domain is operating to obtain the corresponding target interconnect frequency, and in turn control the core domain to operate at this frequency (assuming it is higher than the current operating frequency of the core domain). Note that when the core domain is operating at an increased frequency due to the non-core domain control, and the non-core domain thereafter enters into a sleep state, the PCU can update the core domain frequency to a lower, OS-requested level to reduce power consumption.
Referring now to
In various embodiments, power control unit 355 may include a frequency control logic 359, which may be a logic to perform dynamic control of interconnect frequency responsive to a request of a given domain (which can be one of the core domains or a non-core domain). In the embodiment of
With further reference to
Referring now to
Note that while only shown with three domains, understand the scope of the present invention is not limited in this regard and additional domains can be present in other embodiments. For example, multiple core domains may be present each including at least one core.
In general, each core 410 may further include low level caches in addition to various execution units and additional processing elements. In turn, the various cores may be coupled to each other and to a shared cache memory formed of a plurality of units of a last level cache (LLC) 4400-440n. In various embodiments, LLC 450 may be shared amongst the cores and the graphics engine, as well as various media processing circuitry. As seen, a ring interconnect 430 thus couples the cores together, and provides interconnection between the cores, graphics domain 420 and system agent circuitry 450. In one embodiment, interconnect 430 can be part of the core domain. However in other embodiments the ring interconnect can be of its own domain. In any event, the interconnect frequency can be controlled via system agent circuitry as described herein.
In the embodiment of
To enable configuration of such table, which can be in a RAM of system agent domain 450, a mailbox interface 456 can be present. In general, interface 456 can include a first register 456a and a second register 456b. Such registers provide an interface for handshake-based communications between the PCU and other domains. In one embodiment, first register 456a can include a flag field to store a flag, a command field to store a command, and an address field to store an address, e.g., of an entry within mapping table 457. Second register 456b may be a data storage register. In one embodiment, graphics domain 420 can write an entry into a corresponding location within mapping table 457 by setting the flag field of first register 456a high, providing a write command for the command field, and providing an address corresponding to the entry in the table to be written to the address field, and further providing the data to be written to second register 456b. In turn, responsive to the active flag field, PCU 455 can thus write the data to the corresponding entry and reset the flag field to indicate to the graphics domain that it can write the next entry. While described with this particular protocol in the embodiment of
As further seen in
Embodiments may be implemented in many different system types. Referring now to
Still referring to
Furthermore, chipset 590 includes an interface 592 to couple chipset 590 with a high performance graphics engine 538, by a P-P interconnect 539. In turn, chipset 590 may be coupled to a first bus 516 via an interface 596. As shown in
Embodiments may be implemented in code and may be stored on a non-transitory storage medium having stored thereon instructions which can be used to program a system to perform the instructions. The storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, solid state drives (SSDs), compact disk read-only memories (CD-ROMs), compact disk rewritables (CD-RWs), and magneto-optical disks, semiconductor devices such as read-only memories (ROMs), random access memories (RAMs) such as dynamic random access memories (DRAMs), static random access memories (SRAMs), erasable programmable read-only memories (EPROMs), flash memories, electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, or any other type of media suitable for storing electronic instructions.
While the present invention has been described with respect to a limited number of embodiments, those skilled in the art will appreciate numerous modifications and variations therefrom. It is intended that the appended claims cover all such modifications and variations as fall within the true spirit and scope of this present invention.
This application is a continuation of U.S. patent application Ser. No. 15/138,505, filed Apr. 26, 2016, which is a continuation of U.S. patent application Ser. No. 14/451,807, filed Aug. 5, 2014, now U.S. Pat. No. 9,354,692, issued May 31, 2016, which is a continuation of U.S. patent application Ser. No. 13/282,896, filed Oct. 27, 2011, now U.S. Pat. No. 8,832,478, issued Sep. 9, 2014, the content of which is hereby incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
5163153 | Cole et al. | Nov 1992 | A |
5287292 | Kenny et al. | Feb 1994 | A |
5522087 | Hsiang | May 1996 | A |
5590341 | Matter | Dec 1996 | A |
5621250 | Kim | Apr 1997 | A |
5931950 | Hsu | Aug 1999 | A |
6748546 | Mirov et al. | Jun 2004 | B1 |
6792392 | Knight | Sep 2004 | B1 |
6823516 | Cooper | Nov 2004 | B1 |
6829713 | Cooper et al. | Dec 2004 | B2 |
6908227 | Fusu et al. | Jun 2005 | B2 |
6983389 | Filippo | Jan 2006 | B1 |
6996728 | Singh | Feb 2006 | B2 |
7010708 | Ma | Mar 2006 | B2 |
7043649 | Terrell | May 2006 | B2 |
7093147 | Farkas et al. | Aug 2006 | B2 |
7111179 | Girson et al. | Sep 2006 | B1 |
7146514 | Kaushik et al. | Dec 2006 | B2 |
7194643 | Gonzalez et al. | Mar 2007 | B2 |
7263457 | White et al. | Aug 2007 | B2 |
7272730 | Acquaviva et al. | Sep 2007 | B1 |
7412615 | Yokota et al. | Aug 2008 | B2 |
7434073 | Magklis | Oct 2008 | B2 |
7437270 | Song et al. | Oct 2008 | B2 |
7454632 | Kardach et al. | Nov 2008 | B2 |
7529956 | Stufflebeam | May 2009 | B2 |
7539885 | Ma | May 2009 | B2 |
7574321 | Kernahan et al. | Aug 2009 | B2 |
7596464 | Hermerding et al. | Sep 2009 | B2 |
7603577 | Yamaji et al. | Oct 2009 | B2 |
7624215 | Axford et al. | Nov 2009 | B2 |
7730340 | Hu et al. | Jun 2010 | B2 |
7752467 | Tokue | Jul 2010 | B2 |
7797512 | Cheng et al. | Sep 2010 | B1 |
7949887 | Gunther et al. | May 2011 | B2 |
7966511 | Naveh et al. | Jun 2011 | B2 |
8015427 | Miller et al. | Sep 2011 | B2 |
8370551 | Ohmacht et al. | Feb 2013 | B2 |
8381004 | Elnozahy | Feb 2013 | B2 |
8407319 | Chiu et al. | Mar 2013 | B1 |
8601288 | Brinks et al. | Dec 2013 | B2 |
8631262 | Park | Jan 2014 | B2 |
8832478 | Ananthakrishnan et al. | Sep 2014 | B2 |
20010044909 | Oh et al. | Nov 2001 | A1 |
20020194509 | Plante et al. | Dec 2002 | A1 |
20030061383 | Zilka | Mar 2003 | A1 |
20040030940 | Espinoza-Ibarra et al. | Feb 2004 | A1 |
20040064752 | Kazachinsky et al. | Apr 2004 | A1 |
20040098560 | Storvik et al. | May 2004 | A1 |
20040139356 | Ma | Jul 2004 | A1 |
20040268166 | Farkas et al. | Dec 2004 | A1 |
20050022038 | Kaushik et al. | Jan 2005 | A1 |
20050033881 | Yao | Feb 2005 | A1 |
20050046400 | Rotem | Mar 2005 | A1 |
20050132238 | Nanja | Jun 2005 | A1 |
20050223258 | Watts | Oct 2005 | A1 |
20050288886 | Therien et al. | Dec 2005 | A1 |
20060006166 | Chen et al. | Jan 2006 | A1 |
20060041766 | Adachi | Feb 2006 | A1 |
20060050670 | Hillyard et al. | Mar 2006 | A1 |
20060053326 | Naveh et al. | Mar 2006 | A1 |
20060059286 | Bertone et al. | Mar 2006 | A1 |
20060069936 | Lint et al. | Mar 2006 | A1 |
20060117202 | Magklis et al. | Jun 2006 | A1 |
20060184287 | Belady et al. | Aug 2006 | A1 |
20070005995 | Kardach et al. | Jan 2007 | A1 |
20070016817 | Albonesi et al. | Jan 2007 | A1 |
20070079294 | Knight | Apr 2007 | A1 |
20070101174 | Tsukimori et al. | May 2007 | A1 |
20070106428 | Omizo et al. | May 2007 | A1 |
20070106827 | Boatright et al. | May 2007 | A1 |
20070156992 | Jahagirdar | Jul 2007 | A1 |
20070168151 | Kernahan et al. | Jul 2007 | A1 |
20070214342 | Newburn | Sep 2007 | A1 |
20070234083 | Lee | Oct 2007 | A1 |
20070239398 | Song et al. | Oct 2007 | A1 |
20070245163 | Lu et al. | Oct 2007 | A1 |
20070260895 | Aguilar et al. | Nov 2007 | A1 |
20080005603 | Deep et al. | Jan 2008 | A1 |
20080028240 | Arai et al. | Jan 2008 | A1 |
20080028778 | Millet | Feb 2008 | A1 |
20080077282 | Hartman et al. | Mar 2008 | A1 |
20080077813 | Keller et al. | Mar 2008 | A1 |
20080136397 | Gunther et al. | Jun 2008 | A1 |
20080168287 | Berry et al. | Jul 2008 | A1 |
20080250260 | Tomita | Oct 2008 | A1 |
20080307240 | Dahan et al. | Dec 2008 | A1 |
20080316950 | Damnjanovic | Dec 2008 | A1 |
20090006871 | Liu et al. | Jan 2009 | A1 |
20090070605 | Nijhawan et al. | Mar 2009 | A1 |
20090150695 | Song et al. | Jun 2009 | A1 |
20090150696 | Song et al. | Jun 2009 | A1 |
20090158061 | Schmitz et al. | Jun 2009 | A1 |
20090158067 | Bodas et al. | Jun 2009 | A1 |
20090172375 | Rotem et al. | Jul 2009 | A1 |
20090172428 | Lee | Jul 2009 | A1 |
20090235105 | Branover et al. | Sep 2009 | A1 |
20090235108 | Gold et al. | Sep 2009 | A1 |
20090271141 | Coskun et al. | Oct 2009 | A1 |
20090271646 | Talwar et al. | Oct 2009 | A1 |
20090292935 | Hallnor et al. | Nov 2009 | A1 |
20090313489 | Gunther et al. | Dec 2009 | A1 |
20100058078 | Branover et al. | Mar 2010 | A1 |
20100115304 | Finkelstein et al. | May 2010 | A1 |
20100115309 | Carvalho et al. | May 2010 | A1 |
20100146513 | Song | Jun 2010 | A1 |
20100191997 | Dodeja et al. | Jul 2010 | A1 |
20100238693 | Jeddeloh | Sep 2010 | A1 |
20100250856 | Owen et al. | Sep 2010 | A1 |
20100332927 | Kurts et al. | Dec 2010 | A1 |
20110022865 | Gunther et al. | Jan 2011 | A1 |
20110072429 | Celeskey et al. | Mar 2011 | A1 |
20110093733 | Kruglick | Apr 2011 | A1 |
20110154090 | Dixon et al. | Jun 2011 | A1 |
20110283124 | Branover et al. | Nov 2011 | A1 |
20120053897 | Naffziger | Mar 2012 | A1 |
20120066535 | Naffziger | Mar 2012 | A1 |
20120096288 | Bates et al. | Apr 2012 | A1 |
20120110352 | Branover et al. | May 2012 | A1 |
20120114010 | Branch | May 2012 | A1 |
20120116599 | Amdt et al. | May 2012 | A1 |
20120173907 | Moses et al. | Jul 2012 | A1 |
20130246825 | Shannon | Sep 2013 | A1 |
20140146630 | Xie | May 2014 | A1 |
20140324245 | Kwon | Oct 2014 | A1 |
Number | Date | Country |
---|---|---|
101351759 | Jan 2009 | CN |
101403944 | Apr 2009 | CN |
101010655 | May 2010 | CN |
1 282 030 | May 2003 | EP |
10-2006-012846 | Dec 2006 | KR |
200839497 | Oct 2008 | TW |
200917694 | Apr 2009 | TW |
201009567 | Mar 2010 | TW |
201022923 | Jun 2010 | TW |
201040701 | Nov 2010 | TW |
201040962 | Nov 2010 | TW |
I342498 | May 2011 | TW |
201120628 | Jun 2011 | TW |
I344793 | Jul 2011 | TW |
Entry |
---|
Taiwan Intellectual Property Office, Office Action dated Nov. 2, 2015 in Taiwan Patent Application No. 103146274. |
U.S. Appl. No. 12/889,121, “Providing Per Core Voltage and Frequency Control,” filed Sep. 23, 2010, by Pakaj Kumar. |
SPEC-Power and Performance, Design Overview V1.10, Standard Performance Information Corp., Oct. 21, 2008, 6 pages. |
U.S. Appl. No. 13/070,700, “Obtaining Power Profile Information With Low Overhead,” filed Mar. 24, 2011, by Robert Knight. |
Anoop Iyer, et al., “Power and Performance Evaluation of Globally Asynchronous Locally Synchronous Processors,” 2002, pp. 1-11. |
Greg Semeraro, et al., “Hiding Synchronization Delays in A GALS Processor Microarchitecture,” 2004, pp. 1-13. |
Joan-Manuel Parcerisa, et al., “Efficient Interconnects for Clustered Microarchitectures,” 2002, pp. 1-10. |
Grigorios Magklis, et al., “Profile-Based Dynamic Voltage and Frequency Scalling for a Multiple Clock Domain Microprocessor,” 2003, pp. 1-12. |
Greg Semeraro, et al., “Dynamic Frequency and Voltage Control for a Multiple Clock Domain Architecture,” 2002, pp. 1-12. |
Greg Semeraro, “Energy-Efficient Processor Design Using Multiple Clock Domains with Dynamic Voltage and Frequency Scaling,” 2002, pp. 29-40. |
Diana Marculescu, “Application Adaptive Energy Efficient Clustered Architectures,” 2004, pp. 344-349. |
L. Benini, et al., “System-Level Dynamic Power Management,” 1999, pp. 23-31. |
Ravindra Jejurikar, et al., “Leakage Aware Dynamic Voltage Scaling for Real-Time Embedded Systems,” 2004, pp. 275-280. |
Ravindra Jejurikar, et al., “Dynamic Slack Reclamation With Procrastination Scheduling in Real-Time Embedded Systems,” 2005, pp. 13-17. |
R. Todling, et al., “Some Strategies for Kalman Filtering and Smoothing,” 1996, pp. 1-21. |
R.E. Kalman, “A New Approach to Linear Filtering and Prediction Problems,” 1960, pp. 1-12. |
Intel Technology Journal, “Power and Thermal Management in the Intel Core Duo Processor,” May 15, 2006, pp. 109-122. |
U.S. Appl. No. 13/285,414, filed Oct. 31, 2011, entitled “Controlling a Turbo Mode Frequency of a Processor,” by Avinash N. Ananthakrishnan, et al. |
U.S. Appl. No. 13/225,677, filed Sep. 6, 2011, entitled “Dynamically Allocating a Power Budget Over Multiple Domains of a Processor,” by Avinash N. Ananthakrishnan, et al. |
U.S. Appl. No. 13/247,580, filed Sep. 28, 2011, entitled “Controlling Temperature of Multiple Domains of a Multi-Domain Processor,” by Avinash N. Ananthakrishnan, et al. |
U.S. Appl. No. 13/285,465, filed Oct. 31, 2011, entitled “Dynamically Controlling Cache Size to Maximize Energy Efficiency,” by Avinash N. Ananthakrishnan, et al. |
U.S. Appl. No. 13/282,947, filed Oct. 27, 2011, entitled “Controlling Operating Frequency of a Core Domain via a Non-Core Domain of a Multi-Domain Processor,” by Avinash N. Ananthakrishnan, et al. |
U.S. Patent and Trademark Office, Office Action dated Jul. 31, 2014, in U.S. Appl. No. 13/247,564. |
U.S. Patent and Trademark Office, Office Action dated Jan. 16, 2014, with Reply filed Apr. 9, 2014, in U.S. Appl. No. 13/247,564. |
U.S. Patent and Trademark Office, Office Action dated Jun. 6, 2014, with Reply filed Sep. 4, 2014, in U.S. Appl. No. 13/282,947. |
U.S. Patent and Trademark Office, Office Action dated May 16, 2014, with Reply filed Aug. 12, 2014, in U.S. Appl. No. 13/285,414. |
U.S. Patent and Trademark Office, Final Office Action dated May 14, 2014, with Request for Continued Examination filed Aug. 13, 2014, in U.S. Appl. No. 13/247,580. |
U.S. Patent and Trademark Office, Office Action dated Aug. 18, 2014, in U.S. Appl. No. 13/285,465. |
David L. Hill, et al., “The Uncore: A Modular Approach to Feeding the High-Performance Cores,” Intel Technology Journal, 2010, vol. 14, Issue 3, pp. 30-49. |
International Searching Authority, “Notification of Transmittal of the Interpational Search Report and the Written Opinion of the International Searching Authority,” dated Mar. 28, 2013, in International application No. PCT/US2012/057655. |
Taiwan Patent Office, Office action dated Aug. 21, 2014, in Taiwan application No. 101135884. |
Taiwan Intellectual Property Office, First Office Action dated Jan. 8, 2018 in Taiwanese Patent Application No. 105140882. (Translation Redacted). |
Number | Date | Country | |
---|---|---|---|
20170097668 A1 | Apr 2017 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 15138505 | Apr 2016 | US |
Child | 15381241 | US | |
Parent | 14451807 | Aug 2014 | US |
Child | 15138505 | US | |
Parent | 13282896 | Oct 2011 | US |
Child | 14451807 | US |