From 1fdf576ec73f676c1bfa2e2524293deab0f5cd68 Mon Sep 17 00:00:00 2001 From: Giacomo Travaglini Date: Fri, 17 Aug 2018 10:17:59 +0100 Subject: mem: Implement QoS Proportional Fair policy Providing a configurable fair scheduling policy based on utilization; utilization is directly proportional to a score which is inversely proportional to the QoS priority. It is meant to avoid starvation of low priority packets. Users can tune the policy by adjusting the weight parameter (weight of the following formula) new_score = ((1.0 - weight) * old_score) + (weight * served_bytes) Change-Id: I7679e234b916c57ebed06cec0ff3cff3cf2aef22 Signed-off-by: Giacomo Travaglini Reviewed-on: https://gem5-review.googlesource.com/12359 Reviewed-by: Daniel Carvalho Reviewed-by: Anthony Gutierrez Maintainer: Anthony Gutierrez --- src/mem/qos/SConscript | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mem/qos/SConscript') diff --git a/src/mem/qos/SConscript b/src/mem/qos/SConscript index 23351ca4f..7c895cead 100644 --- a/src/mem/qos/SConscript +++ b/src/mem/qos/SConscript @@ -44,6 +44,7 @@ SimObject('QoSTurnaround.py') Source('policy.cc') Source('policy_fixed_prio.cc') +Source('policy_pf.cc') Source('turnaround_policy_ideal.cc') Source('q_policy.cc') Source('mem_ctrl.cc') -- cgit v1.2.3