Accéder au contenu.
Menu Sympa

starpu-devel - [Starpu-devel] question on CPU/GPU tasks distribution

Objet : Developers list for StarPU

Archives de la liste

[Starpu-devel] question on CPU/GPU tasks distribution


Chronologique Discussions 
  • From: "philippe.helluy@unistra.fr" <philippe.helluy@unistra.fr>
  • To: starpu-devel@lists.gforge.inria.fr
  • Subject: [Starpu-devel] question on CPU/GPU tasks distribution
  • Date: Fri, 31 Aug 2018 11:19:59 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=philippe.helluy@unistra.fr; spf=Pass smtp.mailfrom=philippe.helluy@unistra.fr; spf=None smtp.helo=postmaster@mailhost.u-strasbg.fr
  • Ironport-phdr: 9a23:KiMWFRA9/j2fqmTU36O5UyQJP3N1i/DPJgcQr6AfoPdwSPT4r8bcNUDSrc9gkEXOFd2Cra4c1KyO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglUhjexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Xymp4aV2Rx/ykCoJKiA38G/XhMJzgqxUrh2uqB5jzIDbe4yVKPhzc7nBcd8GS2dMXMBcXDFBDIOmaIsPCvIMMehAr4n9plsOqRq+BRG0BOzx0DNIhmH53ak+0+Q8EQDLxxEgH9QPsHTPsNX1Lr0dXfq7zKnSwznIcvRb2S/96IjJdhAhoOmMXapufsbLyUkgCQfFjlGNqY3lJD6Vy+INs2mA7+p8T+KgkXQrqw9rojW2wMonl4rHhpoNx1zZ+yh13Jw5KN+8RUJhf9KoDoVcuzuEO4drQM4uW3xktSgmxrEcu5O2eDIGxZs9yxLBdfCKdZWD7Aj5W+aLOzh4gWpoeLKhiBa29kit0uj8WdO10FZOripFlcLMtmwX2xzO88SHUed9/l271jaUzA/T5ftIIU4ulabDKp4hxKA/loYLvEjeECL6hF/6ga2Se0k+5OSk9frrbq/4qpOBNYJ4kgT+Pb4vmsy7D+Q4KA8OX22D9OSk1L3j/En5QLRSjv0ujKbVqpDaKtofpq69Hg9U0p0u6wu5Dzeny9QYgWMHI0hfdBKJlYjlI0vOL+zgDfejn1Ssly9mx+vaPrL7GJXNNmXDnK78crlj9U5T1g4zwMtb55JVEbEBPOnzVlX+tNzWCR85KQO0zPj9BNV80IMeQ2OPDbWDPKPcq1/brt4odvKQbZUNpXPxJuYo49bqjGQlghkSc66z0pZRaXaiH/0gLV/KT2Drh4JLCWcLugsmVOGsiFCGVSNCT2u0Xrkg/Dh9BpjsRdPbRoGpgaSZ0WG7E5lSe3FuF1aNCmvyfsOKQaFfO2qpPsZ9n2lcBvCaQIg72ET27V6o+/9cNuPRvxYgm9fm3dlx6ffUkEhopyFyDt+ByWjLQXsmxzpUFQ9z57h2pAlG8nnGybJx2qYKCNpS/O9TW0E0L8yElrEoO5XJQgvEO+yxZhOmT9GhW2pjS9swx98JeFo7BpC5kgrKxCClRbEPxeSG
  • 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,

we have written a Discontinous Galerkin code for solving Maxwell's equation.
We have codelets with CPU and OpenCL functions, we activated the perf. model.

On small test cases and dmdar scheduler StarPU does a perfect job: ideal scaling for CPU-only runs and more than ideal speedup with CPU+GPU runs.

Things are worse on bigger tests. The code is faster with GPU-only runs (STARPU_NCPU=0) than with CPU+GPU runs. It seems that the dmdar scheduler is not able to take the decision to put all the computations on the GPU only, even when this is the better choice (I tried to change the beta to beta=2, with no effect). In this particular case, the whole data could be put entirely in the GPU memory.

Do you have hints on this behavior ?

Of course, I can provide more details if you are interested.

Best regards,

Philippe.




Archives gérées par MHonArc 2.6.19+.

Haut de le page