Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] Questions about StarPU worker recongnization

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] Questions about StarPU worker recongnization


Chronologique Discussions 
  • From: Fangli Pi <hpcfapix@hlrs.de>
  • To: Samuel Thibault <samuel.thibault@inria.fr>
  • Cc: starpu-devel <starpu-devel@lists.gforge.inria.fr>
  • Subject: Re: [Starpu-devel] Questions about StarPU worker recongnization
  • Date: Wed, 20 Jan 2016 14:47:30 +0100 (CET)
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=hpcfapix@hlrs.de; spf=None smtp.mailfrom=hpcfapix@hlrs.de; spf=None smtp.helo=postmaster@mail.hlrs.de
  • Dkim-filter: OpenDKIM Filter v2.9.2 mail.hlrs.de 590EF4279
  • Ironport-phdr: 9a23:hphglx34fPDVUMA9smDT+DRfVm0co7zxezQtwd8ZsegRIvad9pjvdHbS+e9qxAeQG96LtbQd07Od7/CocFdDyKjCmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TWM5DIfUi/yKRBybrysXNWC0YLuj7n5p82bSj4LrQT+SIs6FA+xowTVu5teqqpZAYF19CH0pGBVcf9d32JiKAHbtR/94sCt4MwrqHwI6LoJvvRNWqTifqk+UacQTHF/azh0t4XXskz4RA6S639UbmUXmBNVBxSNuArzW4r8tm3mtut30TSeIeX3S6o1UHKs9fE4ZgXvjXIpPjg29GCfss042KJDqxyovx1v647QeprTOPcoLfCVRs8TWWcUBpUZbCdGGI7pKtJXV+c=
  • 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>

Hello,

For example, I have a parallel task (codelet with power model and performance
model), and I feed, in my application, energy consumption values to the task,
during calibrating period.
And then when the task is really executed (conf.calibrate = -1;), will the
scheduler (pheft) consider the consumption value to chose the number of
worker size?
In another word, as you said the parallel worker size is chosen by the
scheduler, I am interested in how the scheduler choose the worker size? Is it
only the all available workers, or could depend on some other values?

Besides, for a non-parallel task, I can simply get info about which cpu core
executed the task by looking at starpu_profiling_task_info : workerid.
But for parallel task, how could I get info about the combined workers? What
is the output of the starpu_profiling_task_info : workerid?

Best regards,
Fangli

----- Original Message -----
From: "Samuel Thibault" <samuel.thibault@inria.fr>
To: "Fangli Pi" <hpcfapix@hlrs.de>
Cc: "starpu-devel" <starpu-devel@lists.gforge.inria.fr>
Sent: Wednesday, January 20, 2016 1:11:54 PM
Subject: Re: [Starpu-devel] Questions about StarPU worker recongnization

Hello,

Fangli Pi, on Wed 20 Jan 2016 13:09:21 +0100, wrote:
> For example of the "vector_scal_spmd.c". Inside the cpu function, number of
> available cpu cores are get by:
> int nb_workers = starpu_combined_worker_get_size();
>
> then how could i keep this number for later usage?

Which kind of usage are you thinking about? The parallel worker size
can be different for different tasks, chosen by the scheduler.

Samuel
--
High Performance Computing Center (HLRS)
University of Stuttgart
Nobelstr. 19
D-70569 Stuttgart, Germany

phone: ++49-711-685-60442




Archives gérées par MHonArc 2.6.19+.

Haut de le page