1.0
closed
gaixas1
None
2015-02-03
2014-11-13
gaixas1
No

We want to do:
Be able to notify the scheduler of changes in the state of a queue in order to adapt its behavior accordingly.

Problems that we currently find in RinaSim:
We do not see how to do it in the current version of RinaSim.

Proposed modifications/extensions:
Be able to connect an RMT Queue to its respective scheduling instance and notify it each time a push/pop action is performed in that queue. When notifying, a pointer to that queue should be sent as a parameter.

Discussion

  • gaixas1
    gaixas1
    2014-11-13

    • assigned_to: gaixas1
     
  • Tomáš Hykel
    Tomáš Hykel
    2014-11-29

    I'm a bit confused by this. Isn't this the purpose of monitoring policy...? In another words, I thought that any scheduling policy adjustments should happen indirectly via RA policies + monitoring, such as on https://wiki.ict-pristine.eu/uploads/SchedulingArch_v2.png.

     
  • gaixas1
    gaixas1
    2014-11-29

    Yes. We simply didn't saw where that should be done in the simulator.
    If the monitoring policy has access to the scheduling policy to adjust its values, then no problem.

     
  • Tomáš Hykel
    Tomáš Hykel
    2015-02-03

    The monitoring policy base class in the current stable version contains event hook methods onMessageArrival(queue) and onMessageDeparture(queue). These are noop by default, but they can of course be overriden by policy writers.

    The monitoring policy base class also contains a pointer to a scheduling policy module so it may adjust its variables.

     
  • Tomáš Hykel
    Tomáš Hykel
    2015-02-03

    • status: open --> closed