Thread affinity

classic Classic list List threaded Threaded
4 messages Options
RS
Reply | Threaded
Open this post in threaded view
|

Thread affinity

RS
Hello,
 
   Is there a gstreamer feature available where I can attach a plug-in to a
particular core?
 
Regards
KV

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Thread affinity

michael smith-6-3
No.

If it's a plugin you control, you can add whatever thread affinity
stuff you want to it. GStreamer in general doesn't have this - and it
doesn't really make sense, since any given element might use any
number of threads - and gstreamer doesn't necessarily control all of
them.

Mike


On Sun, Jul 31, 2011 at 11:11 PM, Vijayalakshmi Krishnamoorthy
<[hidden email]> wrote:

> Hello,
>
>    Is there a gstreamer feature available where I can attach a plug-in to a
> particular core?
>
> Regards
> KV
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
RS
Reply | Threaded
Open this post in threaded view
|

Re: Thread affinity

RS
Thanks Mike. This is a plug-in developed by us. In this case, can you
indicate how to have this thread affinity added to our plug-in?
We would like to measure the performance of the plug-in with and
without thread affinity to a core.
 
Regards
KV

On Mon, Aug 1, 2011 at 12:30 PM, Michael Smith <[hidden email]> wrote:
No.

If it's a plugin you control, you can add whatever thread affinity
stuff you want to it. GStreamer in general doesn't have this - and it
doesn't really make sense, since any given element might use any
number of threads - and gstreamer doesn't necessarily control all of
them.

Mike


On Sun, Jul 31, 2011 at 11:11 PM, Vijayalakshmi Krishnamoorthy
<[hidden email]> wrote:
> Hello,
>
>    Is there a gstreamer feature available where I can attach a plug-in to a
> particular core?
>
> Regards
> KV
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Thread affinity

michael smith-6-3
You'll need to create your own threads inside the plugin, and use
whatever thread affinity APIs are appropriate for your platform.
GStreamer has nothing to make this easier for you, like I said.

Mike


On Mon, Aug 1, 2011 at 12:29 AM, Vijayalakshmi Krishnamoorthy
<[hidden email]> wrote:

> Thanks Mike. This is a plug-in developed by us. In this case, can you
> indicate how to have this thread affinity added to our plug-in?
> We would like to measure the performance of the plug-in with and
> without thread affinity to a core.
>
> Regards
> KV
>
> On Mon, Aug 1, 2011 at 12:30 PM, Michael Smith <[hidden email]> wrote:
>>
>> No.
>>
>> If it's a plugin you control, you can add whatever thread affinity
>> stuff you want to it. GStreamer in general doesn't have this - and it
>> doesn't really make sense, since any given element might use any
>> number of threads - and gstreamer doesn't necessarily control all of
>> them.
>>
>> Mike
>>
>>
>> On Sun, Jul 31, 2011 at 11:11 PM, Vijayalakshmi Krishnamoorthy
>> <[hidden email]> wrote:
>> > Hello,
>> >
>> >    Is there a gstreamer feature available where I can attach a plug-in
>> > to a
>> > particular core?
>> >
>> > Regards
>> > KV
>> > _______________________________________________
>> > gstreamer-devel mailing list
>> > [hidden email]
>> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>> >
>> >
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel