Objet : Developers list for StarPU
Archives de la liste
- From: Xavier Lacoste <xavier.lacoste@inria.fr>
- To: starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] Performance decreasing by adding empty tasks
- Date: Tue, 21 Feb 2012 10:25:34 +0100
- 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>
Hello again,
I found a workaround, by managing this buffer MySelf, copying it on all CUDA
devices at the begining of the run and getting the good one in the CUDA
kernel (I give it an array d_blocktab of ndevices cuda ptr, and choose the
right one in the kernel with cudaGetDevice).
With this workaround I loose no time adding my global READ-Only buffer.
XL.
Le 17 févr. 2012 à 09:44, Xavier Lacoste a écrit :
> I runned with gprof on a smaller test case : my read only array is 329968
> integers.
> I can understand that most of the time is spent with data management, but
> that's all i can say...
>
> I attached the gprof output.
>
> <gprof2.out>
>
> Le 16 févr. 2012 à 16:35, Samuel Thibault a écrit :
>
>> Xavier Lacoste, le Thu 16 Feb 2012 16:28:54 +0100, a écrit :
>>> This is not good either, I though that as the buffer is read-only on
>>> all tasks that uses it, it wouldn't cost much to manage but when I look
>>> to my Gantt diagram I spend much time "PushingOutput". Why do StarPU have
>>> to push that read-only buffer ?
>>
>> Just for the record: it should not ever be doing that for a read-only
>> buffer. Unless something is perhaps keeping the spinlock of the data for
>> a long time for some reason. Maybe using gprof to know where most of the
>> cpu time is spent would help.
>>
>> Samuel
>
> _______________________________________________
> Starpu-devel mailing list
> Starpu-devel@lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/starpu-devel
- [Starpu-devel] Performance decreasing by adding empty tasks, Xavier Lacoste, 08/02/2012
- <Suite(s) possible(s)>
- Re: [Starpu-devel] Performance decreasing by adding empty tasks, Samuel Thibault, 13/02/2012
- Re: [Starpu-devel] Performance decreasing by adding empty tasks, Samuel Thibault, 13/02/2012
- Re: [Starpu-devel] Performance decreasing by adding empty tasks, Samuel Thibault, 13/02/2012
- Re: [Starpu-devel] Performance decreasing by adding empty tasks, Xavier Lacoste, 13/02/2012
- Re: [Starpu-devel] Performance decreasing by adding empty tasks, Samuel Thibault, 13/02/2012
- Re: [Starpu-devel] Performance decreasing by adding empty tasks, Samuel Thibault, 13/02/2012
- Re: [Starpu-devel] Performance decreasing by adding empty tasks, Samuel Thibault, 13/02/2012
- Re: [Starpu-devel] Performance decreasing by adding empty tasks, Xavier Lacoste, 15/02/2012
- Re: [Starpu-devel] Performance decreasing by adding empty tasks, Xavier Lacoste, 16/02/2012
- Message indisponible
- Re: [Starpu-devel] Performance decreasing by adding empty tasks, Samuel Thibault, 16/02/2012
- Re: [Starpu-devel] Performance decreasing by adding empty tasks, Xavier Lacoste, 17/02/2012
- Re: [Starpu-devel] Performance decreasing by adding empty tasks, Xavier Lacoste, 21/02/2012
- Message indisponible
- Re: [Starpu-devel] Performance decreasing by adding empty tasks, Samuel Thibault, 23/02/2012
- Re: [Starpu-devel] Performance decreasing by adding empty tasks, Xavier Lacoste, 24/02/2012
- Re: [Starpu-devel] Performance decreasing by adding empty tasks, Xavier Lacoste, 24/02/2012
- Re: [Starpu-devel] Performance decreasing by adding empty tasks, Samuel Thibault, 23/02/2012
- Re: [Starpu-devel] Performance decreasing by adding empty tasks, Xavier Lacoste, 17/02/2012
- Re: [Starpu-devel] Performance decreasing by adding empty tasks, Samuel Thibault, 16/02/2012
Archives gérées par MHonArc 2.6.19+.