Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Disk: Non-linear contraints
authorBruno Donassolo <bruno.donassolo@inria.fr>
Thu, 10 Jun 2021 16:31:38 +0000 (18:31 +0200)
committerBruno Donassolo <bruno.donassolo@inria.fr>
Thu, 15 Jul 2021 09:31:49 +0000 (11:31 +0200)
commit36fccba5f4f2b4c32e97c4e56911eb5bd804f7c9
treeb87d55478c1c72bcd97ff069fea3ee2daff972fc
parentcbe46a9832568cd892e82d3f81abb841ad2f4705
Disk: Non-linear contraints

Users can now define a callback to set the capacity of the resource
during the system solve. The callback receives the current capacity and
number of activities/flows currently sharing the resource.

The capacity is defined once at the beginning of the system solve.

- Disk:
  - Add API to set sharing_policy by type: read/write/read-write
  - Example: io-degradation: simulates the degradation in read/write
operation on disks.
13 files changed:
MANIFEST.in
examples/cpp/CMakeLists.txt
examples/cpp/io-degradation/s4u-io-degradation.cpp [new file with mode: 0644]
examples/cpp/io-degradation/s4u-io-degradation.tesh [new file with mode: 0644]
include/simgrid/forward.h
include/simgrid/s4u/Disk.hpp
src/kernel/lmm/maxmin.cpp
src/kernel/lmm/maxmin.hpp
src/kernel/lmm/maxmin_test.cpp
src/kernel/resource/DiskImpl.cpp
src/kernel/resource/DiskImpl.hpp
src/s4u/s4u_Disk.cpp
src/surf/LinkImpl.cpp