[equinox-dev] Service Lookup by GUID very Slow

2012-05-03 Thread Stanley_Poon
In an experiment to have 200K of services registered, the service lookup by GUID is exceedingly slow - more the 4 seconds per lookup. There are enough RAM (8G) and heap (2G) allocated. What would be the reason of the slowness of the lookup? Any settings to start the framework to improve this?

Re: [equinox-dev] Service Lookup by GUID very Slow

2012-05-03 Thread BJ Hargrave
ffice: +1 386 848 1781 mobile: +1 386 848 3788 From: To: , Date: 2012/05/03 16:54 Subject:[equinox-dev] Service Lookup by GUID very Slow Sent by:equinox-dev-boun...@eclipse.org In an experiment to have 200K of services registered, the service lookup by GUID is exceed

Re: [equinox-dev] Service Lookup by GUID very Slow

2012-05-04 Thread Thomas Watson
2 10:04 PM Subject:Re: [equinox-dev] Service Lookup by GUID very Slow What is service lookup by GUID? Services

Re: [equinox-dev] Service Lookup by GUID very Slow

2012-05-04 Thread Stanley_Poon
: [equinox-dev] Service Lookup by GUID very Slow I was also not sure what you meant by GUID. After some thought I think you probably mean the service id or perhaps the service pid (service.id and service.pid properties)? And by lookup I assume you are using some kind of service filter, for example

Re: [equinox-dev] Service Lookup by GUID very Slow

2012-05-04 Thread Richard S. Hall
n Behalf Of Thomas Watson Sent: Friday, May 04, 2012 5:40 AM To: Equinox development mailing list Subject: Re: [equinox-dev] Service Lookup by GUID very Slow   I was also not s

Re: [equinox-dev] Service Lookup by GUID very Slow

2012-05-04 Thread BJ Hargrave
...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: "Richard S. Hall" To: Equinox development mailing list , Date: 2012/05/04 13:16 Subject: Re: [equinox-dev] Service Lookup by GUID very Slow Sent by:equinox-dev-boun...@eclipse.org Just a side comm

Re: [equinox-dev] Service Lookup by GUID very Slow

2012-05-07 Thread Stanley_Poon
(ServiceClass, "(ID=ID001)”); Thank you, Stanley From: equinox-dev-boun...@eclipse.org [mailto:equinox-dev-boun...@eclipse.org] On Behalf Of BJ Hargrave Sent: Friday, May 04, 2012 10:19 AM To: Equinox development mailing list Subject: Re: [equinox-dev] Service Lookup by GUID very Slow Equinox

Re: [equinox-dev] Service Lookup by GUID very Slow - the Framework Scalability

2012-05-08 Thread Stanley_Poon
lf Of BJ Hargrave Sent: Friday, May 04, 2012 10:19 AM To: Equinox development mailing list Subject: Re: [equinox-dev] Service Lookup by GUID very Slow Equinox also indexes by objectClass alone. So I am not sure what the discrepancy is here. Would be nice to have the test case code to analyze. St

Re: [equinox-dev] Service Lookup by GUID very Slow - the Framework Scalability

2012-05-08 Thread Neil Bartlett
oun...@eclipse.org [mailto:equinox-dev-boun...@eclipse.org] On Behalf Of BJ HargraveSent: Friday, May 04, 2012 10:19 AMTo: Equinox development mailing listSubject: Re: [equinox-dev] Service Lookup by GUID very Slow Equinox also indexes by objectClass alone. So I am not sure what the discrepancy

Re: [equinox-dev] Service Lookup by GUID very Slow - the Framework Scalability

2012-05-08 Thread Stanley_Poon
...@eclipse.org] On Behalf Of Neil Bartlett Sent: Tuesday, May 08, 2012 11:02 AM To: Equinox development mailing list Subject: Re: [equinox-dev] Service Lookup by GUID very Slow - the Framework Scalability * No, services are not created lazily by default. You are creating the services yourself in your code

Re: [equinox-dev] Service Lookup by GUID very Slow - the Framework Scalability

2012-05-08 Thread Neil Bartlett
x-dev-boun...@eclipse.org [mailto:equinox-dev-boun...@eclipse.org] On Behalf Of Neil BartlettSent: Tuesday, May 08, 2012 11:02 AMTo: Equinox development mailing listSubject: Re: [equinox-dev] Service Lookup by GUID very Slow - the Framework Scalability * No, services are not created lazily by defaul

Re: [equinox-dev] Service Lookup by GUID very Slow - the Framework Scalability

2012-05-09 Thread Gunnar Wagenknecht
Stanly, Am 08.05.2012 20:18, schrieb stanley_p...@dell.com: > But the exact same example runs 50X faster on the other two OSGi > runtime. Any thoughts? And we observed the other runtime used more > memory. Will they be using some indexing (in memory)? I find your report very valuable. I think at

Re: [equinox-dev] Service Lookup by GUID very Slow - the Framework Scalability

2012-05-10 Thread Thomas Watson
:Re: [equinox-dev] Service Lookup by GUID very Slow - the FrameworkScalability Stanly, Am 08.05.2012 20:18, schrieb stanley_p...@dell.com: > But the exact same example runs 50X faster on the other two OSGi > r

Re: [equinox-dev] Service Lookup by GUID very Slow - the Framework Scalability

2012-05-17 Thread Stanley_Poon
[mailto:equinox-dev-boun...@eclipse.org] On Behalf Of Gunnar Wagenknecht Sent: Wednesday, May 09, 2012 11:22 PM To: equinox-dev@eclipse.org Subject: Re: [equinox-dev] Service Lookup by GUID very Slow - the Framework Scalability Stanly, Am 08.05.2012 20:18, schrieb stanley_p...@dell.com: > But

Re: [equinox-dev] Service Lookup by GUID very Slow - the Framework Scalability

2012-05-17 Thread Stanley_Poon
<mailto:equinox-dev@eclipse.org>, Date: 05/10/2012 01:23 AM Subject: Re: [equinox-dev] Service Lookup by GUID very Slow - the Framework Scalability Stanly, Am 08.05.2012 20:18, schrieb stanley_p...@dell.com<mailto:stanley_p...@dell.com>: > But