summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLee Susman <lsusman@codeaurora.org>2013-04-23 17:59:26 +0300
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-31 15:25:47 -0700
commitbca5c01383ae6bd9345a506a139d7fa8bd462b81 (patch)
tree9bedc9242d1f36231389c9d950e28818b88e5a0b /include
parentb4b98fb480f72639d3a4166cdb2f1015b4c331f9 (diff)
mmc: add dynamic trigger for packed control
In the current implementation packing is enabled according to a statically defined trigger. This patch updates the packing control mechanism to use a dynamically defined trigger. The trigger's value is calculated by the relation between the number of potential packed write requests and the mean value of all previous potential values: If the current potential is greater than the mean potential then the heuristic is that the following workload will contain many write requests, therefore we lower the packed trigger. In the opposite case we want to increase the trigger in order to get less packing events. In case we get an urgent request we 'punish' the packing control by increasing the trigger. Change-Id: I775e1582ad32a8f798e8b2bd2b3178aef357e747 Signed-off-by: Lee Susman <lsusman@codeaurora.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions