Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
I/O factors: noise for disks.
authorBruno Donassolo <bruno.donassolo@inria.fr>
Tue, 27 Jul 2021 08:23:30 +0000 (10:23 +0200)
committerBruno Donassolo <bruno.donassolo@inria.fr>
Fri, 30 Jul 2021 12:54:11 +0000 (14:54 +0200)
commit555ebc2e544437445450239b48e7df9b4f371460
tree5334c978f6c9edfc8a1672a2485bdd99dbc5908a
parent33b78d7e844a73b33f4a7ea6563943cbab516606
I/O factors: noise for disks.

Implements variability in disk operations.
Similarly to network factors, the effective amount of bytes read/written
in disk operations is scaled by a factor defined by the user.

Users can define a different callback for each disk. The callback is
called when SimGrid updates the remaining amount of bytes in disk
operations.
include/simgrid/s4u/Disk.hpp
src/kernel/activity/IoImpl.cpp
src/kernel/resource/DiskImpl.cpp
src/kernel/resource/DiskImpl.hpp
src/s4u/s4u_Disk.cpp