Accéder au contenu.
Menu Sympa

starpu-devel - Re: [starpu-devel] Creating thread partitions

Objet : Developers list for StarPU

Archives de la liste

Re: [starpu-devel] Creating thread partitions


Chronologique Discussions 
  • From: Samuel Thibault <samuel.thibault@inria.fr>
  • To: Doru Adrian Thom Popovici <dtpopovici@lbl.gov>
  • Cc: starpu-devel@inria.fr
  • Subject: Re: [starpu-devel] Creating thread partitions
  • Date: Wed, 29 Nov 2023 10:55:12 +0100
  • Authentication-results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=samuel.thibault@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr
  • Organization: I am not organized

Hello,

Doru Adrian Thom Popovici, le mar. 28 nov. 2023 23:52:59 -0800, a ecrit:
> I was reading the documentation, and in there it was said that if a context
> is
> created without a scheduling policy, then that context basically is a
> parallel
> worker.
>
> Based on my understanding, I got all the cpus on the system. From there I
> create some sub-contexts that do not have any scheduling policy. Basically I
> partition the CPUs in p groups. Each group having t cpus.
>
> Then I create a master context that has a policy. 
>
> If I submit tasks to the big_sched_ctx context, each task is transmitted to
> the
> sub-contexts? Is this  assumption correct? I just want p parallel workers
> with
> t threads each. I hope I got the documentation correctly.

That is the idea, yes. That simplifies managing parallel tasks: you
just statically partition the machine and the scheduler only sees
more-powerful "workers".

Samuel



Archives gérées par MHonArc 2.6.19+.

Haut de le page