Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a test program to see multicore behaviors.
authorTakahiro Hirofuchi <t.hirofuchi+sg@aist.go.jp>
Tue, 22 Oct 2013 10:45:30 +0000 (12:45 +0200)
committerTakahiro Hirofuchi <t.hirofuchi+sg@aist.go.jp>
Tue, 22 Oct 2013 10:45:30 +0000 (12:45 +0200)
commit16acdf4bdfb9dbf9adf8456aa3665cd3d4f63ad5
tree9644c1aef853d23cf73a235e96c1663ef2bc3e56
parentcab169aceb66e0f811bab83b83743bc21795d524
Add a test program to see multicore behaviors.

As far as tested through this test program, it looks that the current
support of multicore in SimGrid correctly works for physical and virtual
machines. The CPU share of a task or a VM never exceeds the capacity of
one of the CPU cores. The total CPU share of all tasks and VMs on a PM
never exceeds the product of the number of cores and the capacity of a core.
(But, it is not possible to pin a task to a specific core.)

TODO: use this program for regression test.
examples/msg/cloud/CMakeLists.txt
examples/msg/cloud/multicore.c [new file with mode: 0644]
examples/msg/cloud/multicore_plat.xml [new file with mode: 0644]