Accéder au contenu.
Menu Sympa

starpu-devel - [Starpu-devel] [PATCH 0/5] Merge heft and dmda.

Objet : Developers list for StarPU

Archives de la liste

[Starpu-devel] [PATCH 0/5] Merge heft and dmda.


Chronologique Discussions 
  • From: Cyril Roelandt <cyril.roelandt@inria.fr>
  • To: starpu-devel@lists.gforge.inria.fr
  • Subject: [Starpu-devel] [PATCH 0/5] Merge heft and dmda.
  • Date: Wed, 28 Nov 2012 00:35:07 +0100
  • List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel>
  • List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>

Hi,

The following five patches merge heft and dmda. They work well on my machine,
I
just haven't run any benchmark. Samuel, the last time I hacked the
schedulers,
you ran a benchmark on Plafrim, could you run it again and tell me if these
patches affect the performance ?

The patches mostly consist in moving pieces of code from heft.c to
deque_modeling_policy_data_aware.c. In the second patch, you may notice this
code in _starpu_fifo_pop_first_ready_task:


if (STARPU_UNLIKELY(!task))
return NULL;

It is a workaround for a bug I discovered recently (and probably introduced
myself) that I will be bothering you with soon enough. Anyway, I do not think
it is a bad thing to check whether the task is NULL, plus it should not cost
much CPU cycles if the compiler is good at branch prediction.

I have not tested the StarPU-Top support, but, well, it should be working.

Cyril Roelandt.


---
Cyril Roelandt (5):
dmda*: Add a pre_exec_hook, taken from heft.
dmda*: add a push_task_notify method, taken from heft.
dmda*: take into account the data transfer time.
dm*: Add StarPU-Top support.
Remove heft.

trunk/doc/chapters/advanced-examples.texi | 10 +-
trunk/doc/chapters/benchmarks.texi | 2 +-
trunk/doc/chapters/configuration.texi | 2 +-
trunk/doc/chapters/perf-feedback.texi | 4 +-
trunk/doc/chapters/perf-optimization.texi | 3 +-
trunk/gcc-plugin/examples/cholesky/cholesky.c | 2 +-
trunk/src/Makefile.am | 1 -
trunk/src/core/sched_policy.c | 7 +-
trunk/src/core/sched_policy.h | 1 -
.../deque_modeling_policy_data_aware.c | 169 ++++++-
trunk/src/sched_policies/eager_central_policy.c | 2 +-
trunk/src/sched_policies/heft.c | 523
--------------------
trunk/tests/sched_policies/data_locality.c | 4 +-
trunk/tests/sched_policies/execute_all_tasks.c | 2 -
trunk/tests/sched_policies/simple_cpu_gpu_sched.c | 8 +-
trunk/tests/sched_policies/simple_deps.c | 2 -
16 files changed, 180 insertions(+), 562 deletions(-)
delete mode 100644 trunk/src/sched_policies/heft.c

--
1.7.10.4






Archives gérées par MHonArc 2.6.19+.

Haut de le page