Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] [trace interpretation]

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] [trace interpretation]


Chronologique Discussions 
  • From: Maxim Abalenkov <maxim.abalenkov@gmail.com>
  • To: Samuel Thibault <samuel.thibault@inria.fr>
  • Cc: starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] [trace interpretation]
  • Date: Thu, 26 Jul 2018 17:53:32 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=maxim.abalenkov@gmail.com; spf=Pass smtp.mailfrom=maxim.abalenkov@gmail.com; spf=None smtp.helo=postmaster@mail-wr1-f45.google.com
  • Ironport-phdr: 9a23:KKyOMRCwgR7xYkMWthieUyQJP3N1i/DPJgcQr6AfoPdwSPTzpsbcNUDSrc9gkEXOFd2Cra4c1ayO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglUhTexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Qiqp4bt1RxD0iScHLz85/3/Risxsl6JQvRatqwViz4LIfI2ZMfxzdb7fc9wHX2pMRsZfWS9dDYyzcoUBAegOM/hWr4f6vFYBtweyBQy2CePv1jNFhHn71rA63eQ7FgHG2RQtEdUUv3XbrdX1MboZXPyuw6bSyTXMcfVW2TT66IjWbxsspvSMUqh/cMrQzEkjDRnKgU6KpozhITyV0OcNs2+F7+d7WuKvjnQoqwB1ojS12sgsjYzJi5sTx1vZ+yt5x4M1Kse5SE59edOkH5pQtz2eN4RsWcwuWWBouCE8x7YbupC7ZDAHxIo7yxPbcfCKcIiF7gj9WOqPPDt0nn1odbKnixqv/0Ws1vfwW8q33VpQsCZIncXAumoO2hHQ7MWMV+Fz8V272TmV0gDe8uFELl4wlarcM5Mhx6Q/lpsXsUjaEC72glj6gLaYdkgr+uWk8evnYrLhpp+TM497lBvyPbgpmsy6Geg4Mw4OUHaH+emkyrHv4Un0TK9Jg/A2iKXVro7WKdkBqqO2AwJZyoMj5Ay+Dzei3tQYh34HLFdddRKClYfoNFDOIPXiAfilmFujijNryO7APr3iBZXNMGPOkLjkfbln6k5czBA/wsxY55JREr0BOu78WlfttNzECR80Kxe0w/r9B9VnzoMeRHuDDbKHP6PMr1CI4vkiI+2NZI8OpDb9MOIp5/HgjX8+g18dcrem0YEWaHC+BPRmIl+WbWDigtcbQi82uV8FRen3hVnKbT5SbX+vW750sioyDZ+rCcHfRoGniaGFwA+6GIdXbyZIEAbfP23vctChUucNbWq7KMZlnzoHUqbpH4ooxRCr8gbwwr5qKOnT5AUXsJvi0J5+4OiFxkJ6ziB9E8nIizLFdGpzhG5dAmZuhPku83w48U+K1O1Du9IdENVS4/1TVQJjbMzTyuV7D5b5XQeTJ47VGmbjec2vBHQKdvx028UHOh8vFNCrjxSF1C2vUedMyu67Qacs+6eZ5EDfYsZwz3GcifskhlgiB9RVbCio2vM5+A/UCIrE1U6ekvTyeA==
  • 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>

Dear all,

I came to a conclusion that my low performance might be caused by very fine task granularity that I have created and too many data transfers between tasks. I’m on a mission to merge some of the tasks together. I would like to ask a question: I know subtasks are not supported in StarPU, but would it be possible to dedicate a certain subset of tasks to perform some computation and let other threads "jump over” this computation and get busy with the subsequent work? For example, if I had 20 threads and 3 algorithmic parts, could I dedicate 4 threads to work on part 1 and let 16 threads proceed with parts 2 and 3? Thank you and have a good evening!

Best wishes,
Maxim

Maxim Abalenkov \\ maxim.abalenkov@gmail.com
+44 7 486 486 505 \\ http://mabalenk.gitlab.io

On 24 Jul 2018, at 16:44, Samuel Thibault <samuel.thibault@inria.fr> wrote:

Maxim Abalenkov, le mar. 24 juil. 2018 15:41:10 +0100, a ecrit:
Do I understand correctly, that the green coloured bars are
good—threads are working, red are bad—threads are waiting,

Yes. Double-click on the to get more info.

white arrows are the task dependencies?

They are rather data transfers. Which happen to match task dependencies.

We should probably write down these in some guide in the documentation.

Any hints on how to improve performance in this particular case would be very welcome.

Well, without knowing the algorithm it's quite hard :)

It can however at least be seen at the bottom that task submission is
still happening during the execution, which is probably not what you
want, you probably have undesired synchronization steps in your main()
function.

Samuel




Archives gérées par MHonArc 2.6.19+.

Haut de le page