oar-team / batsim

Batsim: Infrastructure simulator for job and I/O scheduling
GNU Lesser General Public License v3.0
30 stars 15 forks source link

Communicate all events for a time step T in the same message #48

Closed RaMdsC closed 5 years ago

RaMdsC commented 5 years ago

Previously, Batsim server communicated with the Decision System whenever this one was ready and at least one event needed to be notified of. This caused the first event to be sent in a separate message before the rest of events. A guard which checks for more events in the server's mailbox has been added, which guarantees all events for a time step T to travel in the same message.

mpoquet commented 5 years ago

Merged in 7473d00, thanks!