You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by 飞颜 <wi...@gmail.com> on 2015/08/03 05:24:42 UTC
Felix support rfp-153-resource-management
In my project, I want to limit bundle resource usage. such as cpu, ram,
socket, thread.
Is felix can support resource management with bundles?
Re: Felix support rfp-153-resource-management
Posted by David Bosschaert <da...@gmail.com>.
Hi Yanfei,
Yes an implementation of chapter 144 can run with a normal Java VM and
a standard OSGi Framework such as Apache Felix. So if your jamVM/Gnu
Classpath is compliant with normal VM behaviour it should work. On
thing though is that I am not aware of an easily available
implementation of chapter 144 yet. Maybe someone else know where it
can be found.
Best regards,
David
PS known OSGi spec implementations are tracked here:
https://en.wikipedia.org/wiki/OSGi_Specification_Implementations
On 4 August 2015 at 07:41, 飞颜 <wi...@gmail.com> wrote:
> Hi,
>
> The implement of the chapter 144 does not depend on vm or classpath?
>
> Now we used jamVM and GNU classpath for VM environment.
>
> Regards,
> Yanfei
>
> 2015-08-03 16:21 GMT+08:00 David Bosschaert <da...@gmail.com>:
>
>> Hi,
>>
>> In the end the 'management' portion of RFP 153 was discontinued
>> because it is impossible to implement this with an ordinary VM (you
>> need a special type of VM). The monitoring part of RFP 153 is now
>> available in the Proposed Final Draft of the OSGi Residential R6
>> specification (chapter 144) [1].
>>
>> So Felix does not support the management part of RFP 153. I guess an
>> implementation of the chapter 144 should work in Felix.
>>
>> David
>>
>> [1] http://www.osgi.org/Specifications/Drafts
>>
>> On 3 August 2015 at 04:24, 飞颜 <wi...@gmail.com> wrote:
>> > In my project, I want to limit bundle resource usage. such as cpu, ram,
>> > socket, thread.
>> >
>> > Is felix can support resource management with bundles?
>>
Re: Felix support rfp-153-resource-management
Posted by 飞颜 <wi...@gmail.com>.
Hi,
The implement of the chapter 144 does not depend on vm or classpath?
Now we used jamVM and GNU classpath for VM environment.
Regards,
Yanfei
2015-08-03 16:21 GMT+08:00 David Bosschaert <da...@gmail.com>:
> Hi,
>
> In the end the 'management' portion of RFP 153 was discontinued
> because it is impossible to implement this with an ordinary VM (you
> need a special type of VM). The monitoring part of RFP 153 is now
> available in the Proposed Final Draft of the OSGi Residential R6
> specification (chapter 144) [1].
>
> So Felix does not support the management part of RFP 153. I guess an
> implementation of the chapter 144 should work in Felix.
>
> David
>
> [1] http://www.osgi.org/Specifications/Drafts
>
> On 3 August 2015 at 04:24, 飞颜 <wi...@gmail.com> wrote:
> > In my project, I want to limit bundle resource usage. such as cpu, ram,
> > socket, thread.
> >
> > Is felix can support resource management with bundles?
>
Re: Felix support rfp-153-resource-management
Posted by David Bosschaert <da...@gmail.com>.
Hi,
In the end the 'management' portion of RFP 153 was discontinued
because it is impossible to implement this with an ordinary VM (you
need a special type of VM). The monitoring part of RFP 153 is now
available in the Proposed Final Draft of the OSGi Residential R6
specification (chapter 144) [1].
So Felix does not support the management part of RFP 153. I guess an
implementation of the chapter 144 should work in Felix.
David
[1] http://www.osgi.org/Specifications/Drafts
On 3 August 2015 at 04:24, 飞颜 <wi...@gmail.com> wrote:
> In my project, I want to limit bundle resource usage. such as cpu, ram,
> socket, thread.
>
> Is felix can support resource management with bundles?