Objet : Developers list for StarPU
Archives de la liste
- From: Alfredo Buttari <alfredo.buttari@enseeiht.fr>
- To: Samuel Thibault <samuel.thibault@inria.fr>, Alfredo Buttari <alfredo.buttari@enseeiht.fr>, starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] hwloc CUDA plugin missing
- Date: Mon, 11 Feb 2019 10:16:38 +0100
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=alfredo.buttari@enseeiht.fr; spf=Pass smtp.mailfrom=alfredo.buttari@gmail.com; spf=None smtp.helo=postmaster@mail-ua1-f47.google.com
- Ironport-phdr: 9a23:JZP+WRFe62Kdyau8ou7H8Z1GYnF86YWxBRYc798ds5kLTJ7yo8iwAkXT6L1XgUPTWs2DsrQY07qQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmDmwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VC+85Kl3VhDnlCYHNyY48G7JjMxwkLlbqw+lqxBm3oLYfJ2ZOP94c6jAf90VWHBBU95eWCxPAIyyb4UBAekcM+hGs4bwvEEBoQekCAS2GO/j1j1Fi3nr1qM6yeQhFgTG0RQ8EtIKvnTUtsv6O7oVUeuo0aTI0CnDb+9M1jfn6YjDbxcsruuIXbJ+a8re11QgFwTfglqLtIzlIy+V2f4Xs2ia9OdvS+Svi3U5pA5vozivxtsshpPHhoIP013J8zhyzogyJd29UkF7YNikHYNOuCGcLIt5XN0tQ2BouCYm0LEGt4S7cS4Xw5ok3x7Sc+KLf5SM7x75V+ucIS10iGx7dL6hnRq//kqtx+vhXceuyllKtDBKktzUu3ANyRPT7s+HR+N4/ki72DaP0xnf6vxeLkwpjKbbJZEsz7wqmpoctkTDGSD2mEHog6OMakok/e2o5/zmYrXguJCcK5d5hh/iPqkqgMCyAuQ1PhIQU2SF5+iwzrLu8E/hTLVPlPI2k63ZsJ7AJcQco660GxVa0oIt6xalETipzdMYkWMcI1JYZBKHk5LmO0vPIP3jAve/hk6jkDZvx/zcIrLhBZDNImDZkLj9ZbZ991JcyA0rwNBE+5JbEKsBIOruWkPoqdPXEAE5PBKww+v8DNV915geWX6UAqODP6PSv1iI5vggI+aSfoMVuTD9K+Ik5/H0l3M5l0UdLuGV2s4sYXWlE/AuH0WYa3PxhstJRXwDuxczSKr2iFyIWCNXe16zWbg973c1EtTiRa7HSJqgjLvJ9jqnApRMZygSA1SCC3rkcMOORusQYTiTCsJniTEJVLi9DYE7g1XmrxPz0aJ6a+bZ5CAcnZbiz8RuoeLdkgs9+Hp1Cd6c2ieDVTJahGQNEhYy0rpyrUs14EqfzaFigrQMHNhd/f5FVUEwKILAxvZ7I930QQ/Mf9eVDli8FIb1SQotR848loddK312HM+v21Wah3LzUu0l0oeTDZlxyZrymn34JsJz0XHDjfBzgFwvQ88JPmqj1Pcmq1rjQrXRmkDcrJ6EMLwG1XeWpmqF1meDvUFEFgBqA/2cACIvI3DOpNG83XvsCr+jDbN9b1lEwM+Gb7ZDM5jn0QoAS/DkN9DTJWm2njXoCA==
- 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>
I do not know if there is an easy way to figure out whether a GPU is closer to another GPU or to another core. As far as I understand this information (essentially the existence of an nvlink interconnect between GPUs) is not provided by hwloc. Without this information, I believe the fill_tree does not have much choice.
If I get it right, the bindid for a CUDA worker is the CPU id of the core that drives the GPU and the binding of workers is done (by default) in a round-robin way in topology.c . As a result, in the output in my previous email the CUDA workers are bound to cores 20-23 which is a suboptimal choice looking at the topology of the machine; a better choice would be, for example, to bind them to cores 0, 1, 12, 13. Is the idea to leave it completely to the user to specify the binding or is there something better that can be done automatically?
In this respect, I have tried to set the STARPU_WORKERS_CPUID to have a better binding but that didn't really work; I did
export STARPU_WORKERS_CPUID="0 1 12 13 2-11 14-23"
but the output was exactly the same as the one in my previous email.
On Thu, Feb 7, 2019 at 4:30 PM Samuel Thibault <samuel.thibault@inria.fr> wrote:
Alfredo Buttari, le jeu. 07 févr. 2019 15:46:51 +0100, a ecrit:
> I'm trying to figure out how proxylists are built in the lws scheduler
Apparently it is just following starpu_tree, which is initialized by
_fill_tree in src/core/workers. That does not seem to be taking into
account CUDA workers, so that'd need fixing.
Samuel
-----------------------------------------
Alfredo Buttari, PhD
CNRS-IRIT
2 rue Camichel, 31071 Toulouse, France
http://buttari.perso.enseeiht.fr
Alfredo Buttari, PhD
CNRS-IRIT
2 rue Camichel, 31071 Toulouse, France
http://buttari.perso.enseeiht.fr
- [Starpu-devel] hwloc CUDA plugin missing, Alfredo Buttari, 07/02/2019
- Re: [Starpu-devel] hwloc CUDA plugin missing, Samuel Thibault, 07/02/2019
- Re: [Starpu-devel] hwloc CUDA plugin missing, Alfredo Buttari, 07/02/2019
- Re: [Starpu-devel] hwloc CUDA plugin missing, Samuel Thibault, 07/02/2019
- Re: [Starpu-devel] hwloc CUDA plugin missing, Alfredo Buttari, 11/02/2019
- Re: [Starpu-devel] hwloc CUDA plugin missing, Brice Goglin, 11/02/2019
- Re: [Starpu-devel] hwloc CUDA plugin missing, Alfredo Buttari, 11/02/2019
- Re: [Starpu-devel] hwloc CUDA plugin missing, Samuel Thibault, 11/02/2019
- Re: [Starpu-devel] hwloc CUDA plugin missing, Alfredo Buttari, 11/02/2019
- Re: [Starpu-devel] hwloc CUDA plugin missing, Samuel Thibault, 15/02/2019
- Re: [Starpu-devel] hwloc CUDA plugin missing, Samuel Thibault, 15/02/2019
- Re: [Starpu-devel] hwloc CUDA plugin missing, Alfredo Buttari, 11/02/2019
- Re: [Starpu-devel] hwloc CUDA plugin missing, Brice Goglin, 11/02/2019
- Re: [Starpu-devel] hwloc CUDA plugin missing, Alfredo Buttari, 11/02/2019
- Re: [Starpu-devel] hwloc CUDA plugin missing, Samuel Thibault, 07/02/2019
- Re: [Starpu-devel] hwloc CUDA plugin missing, Samuel Thibault, 15/02/2019
- Re: [Starpu-devel] hwloc CUDA plugin missing, Alfredo Buttari, 07/02/2019
- Re: [Starpu-devel] hwloc CUDA plugin missing, Samuel Thibault, 07/02/2019
Archives gérées par MHonArc 2.6.19+.