Re: Startup timing Windows vs. Mac

2018-12-09 Thread James Carman
Silly question, but are we talking about comparable hardware (or identical) between the two? On Tue, Nov 20, 2018 at 10:36 PM Oleg Cohen wrote: > Hi JB, > > I don’t think the antivirus is an issue in my case. > > I did disable Windows Defender. My test case is with a single bundle that > is

Re: Startup timing Windows vs. Mac

2018-12-09 Thread chris . gray
id Jencks >> >> Sent from my iPhone >> >> On Nov 21, 2018, at 6:59 AM, Leschke, Scott >> wrote: >> >> It still begs the question as to why you saw such a difference in times >> between Windows and Mac. >> >> >> >> *From

Re: Startup timing Windows vs. Mac

2018-12-05 Thread Ryan Moquin
gs the question as to why you saw such a difference in times > between Windows and Mac. > > > > *From:* Oleg Cohen > *Sent:* Tuesday, November 20, 2018 11:34 PM > *To:* user@karaf.apache.org > *Subject:* Re: Startup timing Windows vs. Mac > > > > Hi JB, > > &

Re: Startup timing Windows vs. Mac

2018-11-21 Thread David Jencks
iPhone > On Nov 21, 2018, at 6:59 AM, Leschke, Scott wrote: > > It still begs the question as to why you saw such a difference in times > between Windows and Mac. > > From: Oleg Cohen > Sent: Tuesday, November 20, 2018 11:34 PM > To: user@karaf.apache.org > Subject:

RE: Startup timing Windows vs. Mac

2018-11-21 Thread Leschke, Scott
It still begs the question as to why you saw such a difference in times between Windows and Mac. From: Oleg Cohen Sent: Tuesday, November 20, 2018 11:34 PM To: user@karaf.apache.org Subject: Re: Startup timing Windows vs. Mac Hi JB, Thank you for the clarification. I think the bundle load

Re: Startup timing Windows vs. Mac

2018-11-20 Thread Oleg Cohen
Hi JB, Thank you for the clarification. I think the bundle load time on Windows was affected by a large number of services in the component. I don’t know exactly the reason, but how the OSGi container processes the bundle on startup was much slower on Windows because I had a large number of

Re: Startup timing Windows vs. Mac

2018-11-20 Thread Jean-Baptiste Onofré
Hi Oleg, bundle:update is roughly equivalent to bundle:stop, bundle:uninstall, bundle:install, bundle:start. It gets the "new" bundle version from the bundle location (that you can see with bundle:list -l). Nothing suspicious in the bundle activator that could explain it takes time to stop/start

Re: Startup timing Windows vs. Mac

2018-11-20 Thread Oleg Cohen
I’d like to add that this bundle has many classes and a large number of services. > On Nov 20, 2018, at 10:36 PM, Oleg Cohen wrote: > > Hi JB, > > I don’t think the antivirus is an issue in my case. > > I did disable Windows Defender. My test case is with a single bundle that is > installed

Re: Startup timing Windows vs. Mac

2018-11-20 Thread Oleg Cohen
Hi JB, I don’t think the antivirus is an issue in my case. I did disable Windows Defender. My test case is with a single bundle that is installed via this command: install reference:file://$eclipse_projects/sample.bundle.a The location $eclipse_projects points to the local file system where

RE: Startup timing Windows vs. Mac

2018-11-20 Thread Leschke, Scott
that I no longer use with a hard drive that became effectively unusable. -Original Message- From: Jean-Baptiste Onofré [mailto:j...@nanthrax.net] Sent: Tuesday, November 20, 2018 9:57 AM To: user@karaf.apache.org Subject: Re: Startup timing Windows vs. Mac Yes, first, please try

Re: Startup timing Windows vs. Mac

2018-11-20 Thread Jean-Baptiste Onofré
Yes, first, please try with the antivirus disabled. Regards JB On 20/11/2018 16:26, Oleg Cohen wrote: > Hi JB, > > Yes, it is Windows. It is exactly the same set of bundles and the same Maven > repository. Yes, there is Antivirus. I can try testing with disabling it > temporarily. > > How

Re: Startup timing Windows vs. Mac

2018-11-20 Thread Oleg Cohen
Hi JB, Yes, it is Windows. It is exactly the same set of bundles and the same Maven repository. Yes, there is Antivirus. I can try testing with disabling it temporarily. How can I see what is being resolved/checked/updated/downloaded? I do notice that Karaf has these long pauses. I am sure I

Re: Startup timing Windows vs. Mac

2018-11-19 Thread Jean-Baptiste Onofré
Hi Oleg, So Windows is longer than Mac (not surprising ;)). Did you check in term of bundles resolution ? Do the two systems use the same Maven repository and network to resolve the artifacts. I already saw such issue due to the Windows antivirus: it verified any artifacts downloaded by Karaf

Re: Startup timing Windows vs. Mac

2018-11-19 Thread Tadayoshi Sato
I suspect you're hitting this known Mac issue: https://thoeni.io/post/macos-sierra-java/ On Tue, Nov 20, 2018 at 5:12 AM Oleg Cohen wrote: > Greetings, > > I have two systems: one Mac and one Windows. I have noticed that exactly > the same application with a number of bundles, both 3rd party

Startup timing Windows vs. Mac

2018-11-19 Thread Oleg Cohen
Greetings, I have two systems: one Mac and one Windows. I have noticed that exactly the same application with a number of bundles, both 3rd party and my own, take significantly longer (1.5 vs 6 mins) on Windows compared to Mac. Both systems are pretty powerful and have similar resources. I was