Home » Eclipse Projects » Mylyn » Startup time inacceptable
| |
Re: Startup time inacceptable [message #538593 is a reply to message #538465] |
Tue, 08 June 2010 07:46 |
Jörg Thönnes Messages: 229 Registered: July 2009 |
Senior Member |
|
|
On 06/07/10 18:45, Steffen Pingel wrote:
> Eike, can you try the latest weekly build? We interned a few changes strings
> to reduce memory overhead which could affect some loading that happens on
> startup but there was also a bug related to focusing in the Project Explorer
> that could trigger expensive refreshes.
>
> It would very helpful if you could take a couple of thread dumps when
> starting up and post them here or send them to me directly!
Here is a small bash script I use to do such thread dumps (on UNIX-like systems only):
----- jstackSeries -----
#!/bin/bash
if [ $# -eq 0 ]; then
echo >&2 "Usage: jstackSeries <pid> [ <count> [ <delay> ] ]"
echo >&2 " Defaults: count = 10, delay = 0.5 (seconds)"
exit 1
fi
pid=$1 # required
count=${2:-10} # defaults to 10 times
delay=${3:-0.5} # defaults to 0.5 seconds
while [ $count -gt 0 ]
do
jstack $pid >jstack.$pid.$(date +%H%M%S.%N)
sleep $delay
let count--
echo -n "."
done
----- EOF -----
Hope that helps.
Would this be something for the wiki, Steffen?
Cheers, Jörg
>
> Thanks.
>
> Steffen
>
>
> Eike Stepper wrote:
>
>> Hi Mylyn Gurus,
>>
>> Recently my IDE startet to let me wait almost indefinitely when starting
>> up. Usually it was about 6 seconds. But now the
>> org.eclipse.mylyn.context.ui is busy in the spash screen for additional
>> *2:20* minutes.
>>
>> I already exported the mylyn data to a zip file, deleted (moved) the
>> .metadata/.mylyn folder and tried again. No change, the startup time is
>> still 2:30 minutes, waiting most of the time
>> inorg.eclipse.mylyn.context.ui.
>>
>> Any ideas what can cause this and what I can do against it?
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>
|
|
| |
Re: Startup time inacceptable [message #538826 is a reply to message #538593] |
Tue, 08 June 2010 17:41 |
Steffen Pingel Messages: 706 Registered: July 2009 |
Senior Member |
|
|
Good idea. I have created this FAQ entry as a start:
http://wiki.eclipse.org/Mylyn/FAQ#How_can_I_report_a_dead-
lock_or_a_problem_about_a_stalled_UI.3F
Please feel free to amend that and link to your script.
Steffen
Jörg Thönnes wrote:
> On 06/07/10 18:45, Steffen Pingel wrote:
>> Eike, can you try the latest weekly build? We interned a few changes
>> strings to reduce memory overhead which could affect some loading that
>> happens on startup but there was also a bug related to focusing in the
>> Project Explorer that could trigger expensive refreshes.
>>
>> It would very helpful if you could take a couple of thread dumps when
>> starting up and post them here or send them to me directly!
>
> Here is a small bash script I use to do such thread dumps (on UNIX-like
> systems only):
>
> ----- jstackSeries -----
> #!/bin/bash
>
> if [ $# -eq 0 ]; then
> echo >&2 "Usage: jstackSeries <pid> [ <count> [ <delay> ] ]"
> echo >&2 " Defaults: count = 10, delay = 0.5 (seconds)"
> exit 1
> fi
>
> pid=$1 # required
> count=${2:-10} # defaults to 10 times
> delay=${3:-0.5} # defaults to 0.5 seconds
>
> while [ $count -gt 0 ]
> do
> jstack $pid >jstack.$pid.$(date +%H%M%S.%N)
> sleep $delay
> let count--
> echo -n "."
> done
> ----- EOF -----
>
> Hope that helps.
>
> Would this be something for the wiki, Steffen?
>
> Cheers, Jörg
>
>>
>> Thanks.
>>
>> Steffen
>>
>>
>> Eike Stepper wrote:
>>
>>> Hi Mylyn Gurus,
>>>
>>> Recently my IDE startet to let me wait almost indefinitely when starting
>>> up. Usually it was about 6 seconds. But now the
>>> org.eclipse.mylyn.context.ui is busy in the spash screen for additional
>>> *2:20* minutes.
>>>
>>> I already exported the mylyn data to a zip file, deleted (moved) the
>>> .metadata/.mylyn folder and tried again. No change, the startup time is
>>> still 2:30 minutes, waiting most of the time
>>> inorg.eclipse.mylyn.context.ui.
>>>
>>> Any ideas what can cause this and what I can do against it?
>>>
>>> Cheers
>>> /Eike
>>>
>>> ----
>>> http://thegordian.blogspot.com
>>> http://twitter.com/eikestepper
>>
--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com
|
|
|
Re: Startup time inacceptable [message #539013 is a reply to message #538826] |
Wed, 09 June 2010 10:26 |
Jörg Thönnes Messages: 229 Registered: July 2009 |
Senior Member |
|
|
On 06/08/10 19:41, Steffen Pingel wrote:
> Good idea. I have created this FAQ entry as a start:
>
> http://wiki.eclipse.org/Mylyn/FAQ#How_can_I_report_a_dead-
> lock_or_a_problem_about_a_stalled_UI.3F
>
> Please feel free to amend that and link to your script.
Done. Look here:
http://wiki.eclipse.org/How_to_report_a_deadlock#jstackSerie s_--_jstack_sampling_in_fixed_time_intervals_.28tested_on_Li nux.29
Cheers, Jörg
> Steffen
>
>
> Jörg Thönnes wrote:
>
>> On 06/07/10 18:45, Steffen Pingel wrote:
>>> Eike, can you try the latest weekly build? We interned a few changes
>>> strings to reduce memory overhead which could affect some loading that
>>> happens on startup but there was also a bug related to focusing in the
>>> Project Explorer that could trigger expensive refreshes.
>>>
>>> It would very helpful if you could take a couple of thread dumps when
>>> starting up and post them here or send them to me directly!
>> Here is a small bash script I use to do such thread dumps (on UNIX-like
>> systems only):
>>
>> ----- jstackSeries -----
>> #!/bin/bash
>>
>> if [ $# -eq 0 ]; then
>> echo >&2 "Usage: jstackSeries <pid> [ <count> [ <delay> ] ]"
>> echo >&2 " Defaults: count = 10, delay = 0.5 (seconds)"
>> exit 1
>> fi
>>
>> pid=$1 # required
>> count=${2:-10} # defaults to 10 times
>> delay=${3:-0.5} # defaults to 0.5 seconds
>>
>> while [ $count -gt 0 ]
>> do
>> jstack $pid >jstack.$pid.$(date +%H%M%S.%N)
>> sleep $delay
>> let count--
>> echo -n "."
>> done
>> ----- EOF -----
>>
>> Hope that helps.
>>
>> Would this be something for the wiki, Steffen?
>>
>> Cheers, Jörg
>>
>>> Thanks.
>>>
>>> Steffen
>>>
>>>
>>> Eike Stepper wrote:
>>>
>>>> Hi Mylyn Gurus,
>>>>
>>>> Recently my IDE startet to let me wait almost indefinitely when starting
>>>> up. Usually it was about 6 seconds. But now the
>>>> org.eclipse.mylyn.context.ui is busy in the spash screen for additional
>>>> *2:20* minutes.
>>>>
>>>> I already exported the mylyn data to a zip file, deleted (moved) the
>>>> .metadata/.mylyn folder and tried again. No change, the startup time is
>>>> still 2:30 minutes, waiting most of the time
>>>> inorg.eclipse.mylyn.context.ui.
>>>>
>>>> Any ideas what can cause this and what I can do against it?
>>>>
>>>> Cheers
>>>> /Eike
>>>>
>>>> ----
>>>> http://thegordian.blogspot.com
>>>> http://twitter.com/eikestepper
>
|
|
| |
Re: Startup time inacceptable [message #601464 is a reply to message #538465] |
Tue, 08 June 2010 07:46 |
Jörg Thönnes Messages: 229 Registered: July 2009 |
Senior Member |
|
|
On 06/07/10 18:45, Steffen Pingel wrote:
> Eike, can you try the latest weekly build? We interned a few changes strings
> to reduce memory overhead which could affect some loading that happens on
> startup but there was also a bug related to focusing in the Project Explorer
> that could trigger expensive refreshes.
>
> It would very helpful if you could take a couple of thread dumps when
> starting up and post them here or send them to me directly!
Here is a small bash script I use to do such thread dumps (on UNIX-like systems only):
----- jstackSeries -----
#!/bin/bash
if [ $# -eq 0 ]; then
echo >&2 "Usage: jstackSeries <pid> [ <count> [ <delay> ] ]"
echo >&2 " Defaults: count = 10, delay = 0.5 (seconds)"
exit 1
fi
pid=$1 # required
count=${2:-10} # defaults to 10 times
delay=${3:-0.5} # defaults to 0.5 seconds
while [ $count -gt 0 ]
do
jstack $pid >jstack.$pid.$(date +%H%M%S.%N)
sleep $delay
let count--
echo -n "."
done
----- EOF -----
Hope that helps.
Would this be something for the wiki, Steffen?
Cheers, Jörg
>
> Thanks.
>
> Steffen
>
>
> Eike Stepper wrote:
>
>> Hi Mylyn Gurus,
>>
>> Recently my IDE startet to let me wait almost indefinitely when starting
>> up. Usually it was about 6 seconds. But now the
>> org.eclipse.mylyn.context.ui is busy in the spash screen for additional
>> *2:20* minutes.
>>
>> I already exported the mylyn data to a zip file, deleted (moved) the
>> .metadata/.mylyn folder and tried again. No change, the startup time is
>> still 2:30 minutes, waiting most of the time
>> inorg.eclipse.mylyn.context.ui.
>>
>> Any ideas what can cause this and what I can do against it?
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>
|
|
| |
Re: Startup time inacceptable [message #601471 is a reply to message #538593] |
Tue, 08 June 2010 17:41 |
Steffen Pingel Messages: 706 Registered: July 2009 |
Senior Member |
|
|
Good idea. I have created this FAQ entry as a start:
http://wiki.eclipse.org/Mylyn/FAQ#How_can_I_report_a_dead-
lock_or_a_problem_about_a_stalled_UI.3F
Please feel free to amend that and link to your script.
Steffen
Jörg Thönnes wrote:
> On 06/07/10 18:45, Steffen Pingel wrote:
>> Eike, can you try the latest weekly build? We interned a few changes
>> strings to reduce memory overhead which could affect some loading that
>> happens on startup but there was also a bug related to focusing in the
>> Project Explorer that could trigger expensive refreshes.
>>
>> It would very helpful if you could take a couple of thread dumps when
>> starting up and post them here or send them to me directly!
>
> Here is a small bash script I use to do such thread dumps (on UNIX-like
> systems only):
>
> ----- jstackSeries -----
> #!/bin/bash
>
> if [ $# -eq 0 ]; then
> echo >&2 "Usage: jstackSeries <pid> [ <count> [ <delay> ] ]"
> echo >&2 " Defaults: count = 10, delay = 0.5 (seconds)"
> exit 1
> fi
>
> pid=$1 # required
> count=${2:-10} # defaults to 10 times
> delay=${3:-0.5} # defaults to 0.5 seconds
>
> while [ $count -gt 0 ]
> do
> jstack $pid >jstack.$pid.$(date +%H%M%S.%N)
> sleep $delay
> let count--
> echo -n "."
> done
> ----- EOF -----
>
> Hope that helps.
>
> Would this be something for the wiki, Steffen?
>
> Cheers, Jörg
>
>>
>> Thanks.
>>
>> Steffen
>>
>>
>> Eike Stepper wrote:
>>
>>> Hi Mylyn Gurus,
>>>
>>> Recently my IDE startet to let me wait almost indefinitely when starting
>>> up. Usually it was about 6 seconds. But now the
>>> org.eclipse.mylyn.context.ui is busy in the spash screen for additional
>>> *2:20* minutes.
>>>
>>> I already exported the mylyn data to a zip file, deleted (moved) the
>>> .metadata/.mylyn folder and tried again. No change, the startup time is
>>> still 2:30 minutes, waiting most of the time
>>> inorg.eclipse.mylyn.context.ui.
>>>
>>> Any ideas what can cause this and what I can do against it?
>>>
>>> Cheers
>>> /Eike
>>>
>>> ----
>>> http://thegordian.blogspot.com
>>> http://twitter.com/eikestepper
>>
--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com
|
|
|
Re: Startup time inacceptable [message #601474 is a reply to message #538826] |
Wed, 09 June 2010 10:26 |
Jörg Thönnes Messages: 229 Registered: July 2009 |
Senior Member |
|
|
On 06/08/10 19:41, Steffen Pingel wrote:
> Good idea. I have created this FAQ entry as a start:
>
> http://wiki.eclipse.org/Mylyn/FAQ#How_can_I_report_a_dead-
> lock_or_a_problem_about_a_stalled_UI.3F
>
> Please feel free to amend that and link to your script.
Done. Look here:
http://wiki.eclipse.org/How_to_report_a_deadlock#jstackSerie s_--_jstack_sampling_in_fixed_time_intervals_.28tested_on_Li nux.29
Cheers, Jörg
> Steffen
>
>
> Jörg Thönnes wrote:
>
>> On 06/07/10 18:45, Steffen Pingel wrote:
>>> Eike, can you try the latest weekly build? We interned a few changes
>>> strings to reduce memory overhead which could affect some loading that
>>> happens on startup but there was also a bug related to focusing in the
>>> Project Explorer that could trigger expensive refreshes.
>>>
>>> It would very helpful if you could take a couple of thread dumps when
>>> starting up and post them here or send them to me directly!
>> Here is a small bash script I use to do such thread dumps (on UNIX-like
>> systems only):
>>
>> ----- jstackSeries -----
>> #!/bin/bash
>>
>> if [ $# -eq 0 ]; then
>> echo >&2 "Usage: jstackSeries <pid> [ <count> [ <delay> ] ]"
>> echo >&2 " Defaults: count = 10, delay = 0.5 (seconds)"
>> exit 1
>> fi
>>
>> pid=$1 # required
>> count=${2:-10} # defaults to 10 times
>> delay=${3:-0.5} # defaults to 0.5 seconds
>>
>> while [ $count -gt 0 ]
>> do
>> jstack $pid >jstack.$pid.$(date +%H%M%S.%N)
>> sleep $delay
>> let count--
>> echo -n "."
>> done
>> ----- EOF -----
>>
>> Hope that helps.
>>
>> Would this be something for the wiki, Steffen?
>>
>> Cheers, Jörg
>>
>>> Thanks.
>>>
>>> Steffen
>>>
>>>
>>> Eike Stepper wrote:
>>>
>>>> Hi Mylyn Gurus,
>>>>
>>>> Recently my IDE startet to let me wait almost indefinitely when starting
>>>> up. Usually it was about 6 seconds. But now the
>>>> org.eclipse.mylyn.context.ui is busy in the spash screen for additional
>>>> *2:20* minutes.
>>>>
>>>> I already exported the mylyn data to a zip file, deleted (moved) the
>>>> .metadata/.mylyn folder and tried again. No change, the startup time is
>>>> still 2:30 minutes, waiting most of the time
>>>> inorg.eclipse.mylyn.context.ui.
>>>>
>>>> Any ideas what can cause this and what I can do against it?
>>>>
>>>> Cheers
>>>> /Eike
>>>>
>>>> ----
>>>> http://thegordian.blogspot.com
>>>> http://twitter.com/eikestepper
>
|
|
|
Goto Forum:
Current Time: Sat Sep 21 00:43:55 GMT 2024
Powered by FUDForum. Page generated in 0.04660 seconds
|