Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] Performance decline from StarPU 1.2.3 to 1.2.4

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] Performance decline from StarPU 1.2.3 to 1.2.4


Chronologique Discussions 
  • From: Mirko Myllykoski <mirkom@cs.umu.se>
  • To: samuel.thibault@inria.fr
  • Cc: Starpu Devel <starpu-devel@lists.gforge.inria.fr>
  • Subject: Re: [Starpu-devel] Performance decline from StarPU 1.2.3 to 1.2.4
  • Date: Thu, 27 Sep 2018 16:18:26 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=mirkom@cs.umu.se; spf=Pass smtp.mailfrom=mirkom@cs.umu.se; spf=None smtp.helo=postmaster@mail.cs.umu.se
  • Ironport-phdr: 9a23:DyHNVh2M3UfYk8dismDT+DRfVm0co7zxezQtwd8Zse0eKfad9pjvdHbS+e9qxAeQG9mDtLQc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q99pHPYQhEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb7Vq4/Vyi84Kh3SR/okCYHOCA/8GHLkcx7kaZXrAu8qxBj34LYZYeYP+d8cKzAZ9MXXWVOUdpeWSJPAo2ycZYBAOgPPehboIjyqUADrQe8CAmuGO/j1iVFimHw0KYn0+ohCwbG3Ak4EtwJsXTUttb1NKAPWu6yzKjIyTHDbvNV2Tf684jIcREhquyLULJ1cMrR00ovFwTAjliLtYPlJCmZ1vkIs2iG9eZgTvyghnchpgpsoTav3t8hhpTHi44J0FzI6yt0zYIvKdC3VEJ3e8CoHZtIuy2EK4d6Xt4uTmRptSkh1rELvIC0cS0FxZg7yBPTd/mKfo2J7x/gUuuaPC12i2h/eL2lgha/6UigxfP4VsmzyFtKqzBKktjItnwXyxPT8dKLSuZ4/ke8wzqPzB7c5vlFIUAyi6XbN4YszqM+m5YPq0jPACH7lUHsgKKZakko4Pak5uT/brXjvJCcNot0ig/kMqQpn8yyGeE4MgkUX2iY/uS80abu8lHiQLlQk/02l7TZvIrBJcsFvqK5GRNa0p4/6xajCDeryM8YnWUdI1JfYBKHkpHlNEzQL/DmE/i/h0+hkDNqx/DdIr3hGY/BLnfNkLfmZ7Z95FBTxBAyzdBZ/ZJUC6sOLOj9Wk/r55TkCUoiOgmpzuKhFNV83IoDXX6nA6mDMaqUv0XbyPgoJrypZZUWv37YOvwh9v3plnw40QsYfLOq2p4/Y2v+A/F7ZV6UNym/yuwdGHsH61JtBNfhj0ePBHsKPy7rDvAMowojAYfjNr/tA4WkgbiPxiC+R8QEbXsAF1WRV2zlJdzdB6U8LRmKK8okqQQqEKC7QtZ4hxq18hL/1vx8I7iMo3BKhdfYzNFwotbru1Qy+DhzVprP1miMSyd/hSUVQiJwx60t+UE=
  • 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,

Thank you for taking look at the problem.

I modified StarPU 1.2.4 such that CHUNKS_NFREE was set to 1. No change. StarPU 1.2.3 gives a median runtime of 1635 MS and StarPU 1.2.4 + CHUNKS_NFREE set to 1 gives a median runtime of 2341 MS.

It also looks like StarPU 1.2.4 is struggling to calibrate the performance models. In the end, I get modelled_task_cnt = 695 (94.7%) but it seems to take more calibration runs.

I also experimented with STARPU_REGRESSION_BASED but it did not change anything.

- Mirko

On 2018-09-27 15:45, Samuel Thibault wrote:
Hello,

Mirko Myllykoski, le jeu. 27 sept. 2018 15:21:01 +0200, a ecrit:
noted that the performance worsens
significantly when I move from StarPU 1.2.3 to StarPU 1.2.4. I appears that
the performance of StarPU 1.3.xx is similar to StarPU 1.2.4.

Has something significant changed in StarPU 1.2.4?

Not big changes, but there can be subttle changes which could make a
difference. Ideally using a git bisect would pinpoint the culprit
change.

I notably see in the traces that the Allocating and Freeing states for
the main ram are way longer in 1.2.4, I don't see any reason why this
should be so, malloc.c doesn't have really changed so much. There is
just one thing: in src/datawizard/malloc.c, CHUNKS_NFREE was set to 4,
while it was 1 in StarPU 1.2.3, you could check whether setting it back
to 1 fixes the issue.

Thanks,
Samuel




Archives gérées par MHonArc 2.6.19+.

Haut de le page