US 12,030,510 B2
Method for operating a processing unit
Arne Hamann, Ludwigsburg (DE); Dakshina Narahari Dasari, Boeblingen (DE); and Falk Rehm, Renningen (DE)
Assigned to ROBERT BOSCH GMBH, Stuttgart (DE)
Filed by Robert Bosch GmbH, Stuttgart (DE)
Filed on Mar. 15, 2022, as Appl. No. 17/695,235.
Claims priority of application No. 10 2021 203 061.0 (DE), filed on Mar. 26, 2021.
Prior Publication US 2022/0306135 A1, Sep. 29, 2022
Int. Cl. B60W 50/06 (2006.01); G06F 9/50 (2006.01)
CPC B60W 50/06 (2013.01) [G06F 9/5027 (2013.01)] 16 Claims
OG exemplary drawing
 
1. A method of a processing system that includes (a) a plurality of hardware processors, in which a plurality of processes are executed and (b) a hardware resource shared by the plurality of processes executed by the plurality of hardware processors, the method dynamically adapting a distribution of accesses of the shared hardware resource to the plurality of processes, wherein the distribution is in accordance with a combination of a plurality of resource allocation parameters, the method comprising performing the following steps in each respective iteration of a plurality of adaptation iterations of an iterative procedure during runtime of the plurality of processes on the plurality of hardware processors:
for each respective one of at least one of the plurality of processes:
at a respective point in time, determining, by the processing system, an instantaneous actual processing time of the respective one of the at least one of the plurality of processes until the respective point in time; and
comparing, by the processing system, the actual processing time of the respective one of the at least one of the processes determined in the respective iteration a with a sum of (a) a setpoint processing time assigned specifically to the respective one of the at least one of the plurality of processes and (b) a processing time extension assigned specifically to the respective one of the at least one of the plurality of processes to determine whether there is a variation state in which the compared actual processing time is longer than a tolerated processing time, wherein the setpoint processing times and the processing time extensions each differs between two or more of the plurality of processes; and
until a final one of the iterations of the iterative procedure, performing, by the processing system, an adaptation by which to reduce an extent of the variation state in an immediately following one of the iterations;
wherein:
in each of at least a subset of the iterations, the adaptation includes modifying a respective one or more of the resource allocation parameters; and
the resource allocation parameters include at least one of a memory bandwidth allocation parameter, a parameter of allocation of numbers of transactions to different ones of the hardware processors, and a cache partition control parameter.