# US 2015/0106649 A1 · Dynamic scaling of memory and bus frequencies

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0106649 A1
- Document ID: US20150106649A1
- Status: Published application
- Kind: A1
- Application number: 14/176,268
- Filed: 2014-02-10
- Published: 2015-04-16
- Earliest claimed: 2013-10-11
- Assignees: Qualcomm Innovation Center, Inc.
- Applicants: Qualcomm Innovation Center, Inc.
- Inventors: Saravana Krishnan Kannan
- Web page: https://patentgrep.com/patent/US20150106649A1

## CPC

- G06F 1/08: Clock generators with changeable or programmable clock frequency
- G06F 1/324: by lowering clock frequency
- G06F 1/3253: {Power saving in bus}
- G06F 1/3275: {Power saving in memory, e.g. RAM, cache}
- G06F 11/3034: {where the computing system component is a storage system, e.g. DASD based or network based (digital input from or digital output to record carriers G06F3/06; digital recording or reproducing G11B20/18; for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS], H04L67/1097)}
- G06F 11/3037: {where the computing system component is a memory, e.g. virtual memory, cache (accessing, addressing or allocating within memory systems or architectures G06F12/00; checking stores for correct operation G11C29/00)}
- G06F 12/0802: Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F 13/24: using interrupt (G06F13/32 takes precedence)
- G06F 21/6281: {at program execution time, where the protection is within the operating system}
- G06F 21/85: interconnection devices, e.g. bus-connected or in-line devices
- G06F 11/3409: {for performance assessment}
- G06F 2201/81: Threshold
- G06F 2201/88: Monitoring involving counting
- G06F 2221/2113: Multi-level security, e.g. mandatory access control
- G06F 2221/2141: Access rights, e.g. capability lists, access control lists, access tables, access matrices
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

Systems and methods for controlling a frequency of system memory and/or system bus on a computing device are disclosed. The method may include monitoring a number of read/write events occurring in connection with a hardware device during a length of time with a performance counter and calculating an effective data transfer rate based upon the amount of data transferred. The method also includes periodically adjusting a frequency of at least one of the system memory and the system bus based upon the effective data transfer rate and dynamically tuning a threshold number of events that trigger an interrupt based upon a history of the number of read/write events. In addition, the method includes receiving the interrupt from the performance counter when the threshold number of read/write events occurs and adjusting the frequency of at least one of the system memory and the system bus when the interrupt occurs.

## Claims

### Claim 1

A method for controlling frequency of at least one of system memory and a system bus on a computing device, the method comprising:
monitoring a number of read/write events occurring between a hardware device and the system memory via the system bus during a length of time with a performance counter;
calculating an effective data transfer rate based upon an amount of data transferred between the hardware device and the system memory in connection with the read/write events during the length of time;
periodically adjusting a frequency of at least one of the system memory and the system bus based upon the effective data transfer rate;
dynamically tuning a threshold number of events that trigger an interrupt based upon a history of the number of read/write events;
receiving the interrupt from the performance counter when the threshold number of read/write events occur; and
adjusting the frequency of at least one of the system memory and the system bus when the interrupt occurs.

### Claim 2 (depends on 1)

The method of claim 1 including monitoring a plurality of performance counters, each of the performance counters providing an output indicative of a number of read/write events that occur when data is transferred between at least one hardware device and the system memory.

### Claim 3 (depends on 2)

The method of claim 2, wherein one or more of the plurality of performance counters each monitors read/write events associated with a plurality of hardware devices.

### Claim 4 (depends on 2)

The method of claim 2, including aggregating data transfer information from the plurality of performance counters and adjusting the frequency based upon aggregated data transfer information.

### Claim 5 (depends on 1)

The method of claim 1, wherein calculating the effective data transfer rate includes utilizing a decay rate percentage that is based upon previous changes in the effective data transfer rate over time.

### Claim 6 (depends on 1)

The method of claim 1, wherein calculating the effective data transfer rate includes adding a guard band value to the effective data transfer rate.

### Claim 7 (depends on 1)

The method of claim 1, including:
establishing an RW_Percent value to define bandwidth requirements for the system memory; and
utilizing the RW_Percent value in connection with adjusting the frequency of the system memory.

### Claim 8 (depends on 7)

The method of claim 7, wherein the RW_Percent value is dynamically calculated based upon the extent to which the hardware device is utilizing the system memory in connection with its operations.

### Claim 9 (depends on 8)

The method of claim 8, wherein the RW_Percent value is dynamically calculated by calculating a ratio of a number of read/write requests that are made to cache memory to a number of read/write requests that are made from cache memory to system memory.

### Claim 10 (depends on 1)

The method of claim 1 including reconfiguring the performance counter so an overflow interrupt of the performance counter operates as the interrupt that occurs when the threshold number of read/write events occur.

### Claim 11

A computing device comprising:
a hardware device;
cache memory coupled to the hardware device;
system memory;
a system bus to couple the system memory to the cache memory;
means for monitoring a number of read/write events occurring between a hardware device and the system memory via the system bus during a length of time with a performance counter;
means for calculating an effective data transfer rate based upon an amount of data transferred between the hardware device and the system memory in connection with the read/write events during the length of time;
means for periodically adjusting a frequency of at least one of the system memory and the system bus based upon the effective data transfer rate;
means for dynamically tuning a threshold number of events that trigger an interrupt based upon a history of the number of read/write events;
means for receiving the interrupt from the performance counter when the threshold number of read/write events occur; and
means for adjusting the frequency of at least one of the system memory and the system bus when the interrupt occurs.

### Claim 12 (depends on 11)

The computing device of claim 11 including means for monitoring a plurality of performance counters, each of the performance counters providing an output indicative of a number of read/write events that occur when data is transferred between at least one hardware device and the system memory.

### Claim 13 (depends on 12)

The computing device of claim 12, wherein one or more of the plurality of performance counters each monitors read/write events associated with a plurality of hardware devices.

### Claim 14 (depends on 12)

The computing device of claim 12, including means for aggregating data transfer information from the plurality of performance counters and means for adjusting the frequency based upon aggregated data transfer information.

### Claim 15 (depends on 11)

The computing device of claim 11 including means for reconfiguring the performance counter so an overflow interrupt of the performance counter operates as the interrupt that occurs when the threshold number of read/write events occur.

### Claim 16

A non-transitory, tangible processor readable storage medium, encoded with processor readable instructions to perform a method for controlling frequency of at least one of system memory and a system bus on a computing device, the method comprising:
monitoring a number of read/write events occurring between a hardware device and the system memory via the system bus during a length of time with a performance counter;
calculating an effective data transfer rate based upon an amount of data transferred between the hardware device and the system memory in connection with the read/write events during the length of time;
periodically adjusting a frequency of at least one of the system memory and the system bus based upon the effective data transfer rate;
dynamically tuning a threshold number of events that trigger an interrupt based upon a history of the number of read/write events;
receiving the interrupt from the performance counter when the threshold number of read/write events occur; and
adjusting the frequency of at least one of the system memory and the system bus when the interrupt occurs.

### Claim 17 (depends on 16)

The non-transitory, tangible processor readable storage medium of claim 16, the method including monitoring a plurality of performance counters, each of the performance counters providing an output indicative of a number of read/write events that occur when data is transferred between at least one hardware device and the system memory.

### Claim 18 (depends on 17)

The non-transitory, tangible processor readable storage medium of claim 17, wherein one or more of the plurality of performance counters each monitors read/write events associated with a plurality of hardware devices.

### Claim 19 (depends on 17)

The non-transitory, tangible processor readable storage medium of claim 17, the method including aggregating data transfer information from the plurality of performance counters and adjusting the frequency based upon aggregated data transfer information.

### Claim 20 (depends on 16)

The non-transitory, tangible processor readable storage medium of claim 16, the method including reconfiguring the performance counter so an overflow interrupt of the performance counter operates as the interrupt that occurs when the threshold number of read/write events occur.
