Re: [Pharo-users] PharoLauncher eventual slowdown

2016-03-06 Thread Peter Uhnák
On Sun, Mar 6, 2016 at 6:13 PM, stepharo  wrote:

>
>
> Le 5/3/16 10:57, Peter Uhnák a écrit :
>
> > Same here.
> > 3 min to launch
>
> Stef, try to disable write access on a fresh install to the
> PharoLauncher.changes and PharoLauncher.image
>
> You mean with Unix?
> chmod a-w PharoLauncher.changes?
>

Yes, and both files (image + changes).


Re: [Pharo-users] PharoLauncher eventual slowdown

2016-03-06 Thread stepharo



Le 5/3/16 10:57, Peter Uhnák a écrit :

> Same here.
> 3 min to launch

Stef, try to disable write access on a fresh install to the 
PharoLauncher.changes and PharoLauncher.image

You mean with Unix?
chmod a-w PharoLauncher.changes?


Oki I will try :)




At least for me it seems that it stays fast now.


>Do you notice the slow down by launching images or do you use the 
PharoLauncher image for anything else?


I use it just for images management (downloading, removing, renaming, 
recreating), I don't run actual programs from there. But `chmod a-w 
PharoLauncher.*` seems to work well for now.



On Sat, Mar 5, 2016 at 10:38 AM, stepharo > wrote:


Hi nicolai

what you use it for?
I'm intrigued.
Stef

Le 4/3/16 18:59, Nicolai Hess a écrit :



2016-03-04 17:15 GMT+01:00 Ben Coman mailto:b...@openinworld.com>>:

Hi Peter, I see you had this problem 12 months ago.

http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/2015-February/017026.html

What you can try is in development mode, closing the
PharoLauncher
window, nil out class variables and garbage collect, then
check what
instances remain of PharoLauncher classes.

cheers -ben



I use pharo launcer a lot (on windows) and I did not see any slow
down.
But I don't use it for anything else then launching the images.
Do you notice the slow down by launching images or do you use the
PharoLauncher image for anything else?


On Fri, Mar 4, 2016 at 6:42 PM, Peter Uhnák
mailto:i.uh...@gmail.com>> wrote:
> Yeah I saw that when he was in Prague (incidentally that's
where my launcher
> slowdown started :)).
>
> I've removed write access and will report back in couple of
days. :)
>
> Thanks,
> Peter
>
> On Fri, Mar 4, 2016 at 11:24 AM, Damien Cassou
mailto:damien.cas...@inria.fr>>
> wrote:
>>
>> Hi Peter,
>>
>> Peter Uhnák mailto:i.uh...@gmail.com>>
writes:
>> > I've been using Pharo Launcher for quite a while and
problem that I am
>> > constantly encountering is that launching of it becomes
slower and
>> > slower.
>>
>> Stéphane, in CC, reported the same months ago on OS X. I
don't know if
>> Stéphane still experiences the problem. Could you please
try to remove
>> write access to the .image and .changes files?
>>
>> --
>> Damien Cassou
>> http://damiencassou.seasidehosting.st
>>
>> "Success is the ability to go from one failure to another
without
>> losing enthusiasm." --Winston Churchill
>
>









Re: [Pharo-users] PharoLauncher eventual slowdown

2016-03-05 Thread Peter Uhnák
> Same here.
> 3 min to launch

Stef, try to disable write access on a fresh install to the
PharoLauncher.changes and PharoLauncher.image

At least for me it seems that it stays fast now.


> Do you notice the slow down by launching images or do you use the
PharoLauncher image for anything else?

I use it just for images management (downloading, removing, renaming,
recreating), I don't run actual programs from there. But `chmod a-w
PharoLauncher.*` seems to work well for now.


On Sat, Mar 5, 2016 at 10:38 AM, stepharo  wrote:

> Hi nicolai
>
> what you use it for?
> I'm intrigued.
> Stef
>
> Le 4/3/16 18:59, Nicolai Hess a écrit :
>
>
>
> 2016-03-04 17:15 GMT+01:00 Ben Coman :
>
>> Hi Peter, I see you had this problem 12 months ago.
>>
>> http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/2015-February/017026.html
>>
>> What you can try is in development mode, closing the PharoLauncher
>> window, nil out class variables and garbage collect, then check what
>> instances remain of PharoLauncher classes.
>>
>> cheers -ben
>>
>
>
> I use pharo launcer a lot (on windows) and I did not see any slow down.
> But I don't use it for anything else then launching the images.
> Do you notice the slow down by launching images or do you use the
> PharoLauncher image for anything else?
>
>
>>
>> On Fri, Mar 4, 2016 at 6:42 PM, Peter Uhnák < 
>> i.uh...@gmail.com> wrote:
>> > Yeah I saw that when he was in Prague (incidentally that's where my
>> launcher
>> > slowdown started :)).
>> >
>> > I've removed write access and will report back in couple of days. :)
>> >
>> > Thanks,
>> > Peter
>> >
>> > On Fri, Mar 4, 2016 at 11:24 AM, Damien Cassou 
>> > wrote:
>> >>
>> >> Hi Peter,
>> >>
>> >> Peter Uhnák  writes:
>> >> > I've been using Pharo Launcher for quite a while and problem that I
>> am
>> >> > constantly encountering is that launching of it becomes slower and
>> >> > slower.
>> >>
>> >> Stéphane, in CC, reported the same months ago on OS X. I don't know if
>> >> Stéphane still experiences the problem. Could you please try to remove
>> >> write access to the .image and .changes files?
>> >>
>> >> --
>> >> Damien Cassou
>> >> http://damiencassou.seasidehosting.st
>> >>
>> >> "Success is the ability to go from one failure to another without
>> >> losing enthusiasm." --Winston Churchill
>> >
>> >
>>
>>
>
>


Re: [Pharo-users] PharoLauncher eventual slowdown

2016-03-05 Thread stepharo

Hi nicolai

what you use it for?
I'm intrigued.
Stef

Le 4/3/16 18:59, Nicolai Hess a écrit :



2016-03-04 17:15 GMT+01:00 Ben Coman >:


Hi Peter, I see you had this problem 12 months ago.

http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/2015-February/017026.html

What you can try is in development mode, closing the PharoLauncher
window, nil out class variables and garbage collect, then check what
instances remain of PharoLauncher classes.

cheers -ben



I use pharo launcer a lot (on windows) and I did not see any slow down.
But I don't use it for anything else then launching the images.
Do you notice the slow down by launching images or do you use the 
PharoLauncher image for anything else?



On Fri, Mar 4, 2016 at 6:42 PM, Peter Uhnák mailto:i.uh...@gmail.com>> wrote:
> Yeah I saw that when he was in Prague (incidentally that's where
my launcher
> slowdown started :)).
>
> I've removed write access and will report back in couple of days. :)
>
> Thanks,
> Peter
>
> On Fri, Mar 4, 2016 at 11:24 AM, Damien Cassou
mailto:damien.cas...@inria.fr>>
> wrote:
>>
>> Hi Peter,
>>
>> Peter Uhnák mailto:i.uh...@gmail.com>> writes:
>> > I've been using Pharo Launcher for quite a while and problem
that I am
>> > constantly encountering is that launching of it becomes
slower and
>> > slower.
>>
>> Stéphane, in CC, reported the same months ago on OS X. I don't
know if
>> Stéphane still experiences the problem. Could you please try to
remove
>> write access to the .image and .changes files?
>>
>> --
>> Damien Cassou
>> http://damiencassou.seasidehosting.st
>>
>> "Success is the ability to go from one failure to another without
>> losing enthusiasm." --Winston Churchill
>
>






Re: [Pharo-users] PharoLauncher eventual slowdown

2016-03-05 Thread stepharo


Yeah I saw that when he was in Prague (incidentally that's where my 
launcher slowdown started :)).


I'm a bug attractor. I can crash yosemite in 0.5 s: drag and drop two 
files on the desktop and bam you get the loggin screen :)


I've removed write access and will report back in couple of days. :)

Thanks,
Peter

On Fri, Mar 4, 2016 at 11:24 AM, Damien Cassou > wrote:


Hi Peter,

Peter Uhnák mailto:i.uh...@gmail.com>> writes:
> I've been using Pharo Launcher for quite a while and problem
that I am
> constantly encountering is that launching of it becomes slower and
> slower.

Stéphane, in CC, reported the same months ago on OS X. I don't know if
Stéphane still experiences the problem. Could you please try to remove
write access to the .image and .changes files?

--
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill






Re: [Pharo-users] PharoLauncher eventual slowdown

2016-03-05 Thread stepharo

Same here.
3 min to launch
So I cloned the laucnher from time to time and it is a mess :)

Stef

Le 3/3/16 21:56, Peter Uhnák a écrit :

Hi,

I've been using Pharo Launcher for quite a while and problem that I am 
constantly encountering is that launching of it becomes slower and slower.


Up until now I've solved it by writing a bash script that downloads 
the launcher fresh and reconfigures it. And then I've executed the 
script about once a week.


But I am little bit fed-up by it… is this a common behavior? Or is it 
constrained to my machine?


For example, if I execute the following (so I can time it)
time /opt/pharo-vm/cog/pharo --nodisplay --textenc UTF-8 
/opt/pharo-launcher/PharoLauncher.image eval '1+1'


(also I have right now about ~27 images in the Launcher)

fresh download (yesterday): ~0.49s
today: 0.91s (almost double)

and in a week it will be be maybe 10 seconds.

I can just setup cronjob that resets pharo launcher every day, but a 
systemic solution would be better.


Thanks,
Peter





Re: [Pharo-users] PharoLauncher eventual slowdown

2016-03-04 Thread Ben Coman
On Sat, Mar 5, 2016 at 1:59 AM, Nicolai Hess  wrote:
>
>
> 2016-03-04 17:15 GMT+01:00 Ben Coman :
>>
>> Hi Peter, I see you had this problem 12 months ago.
>>
>> http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/2015-February/017026.html
>>
>> What you can try is in development mode, closing the PharoLauncher
>> window, nil out class variables and garbage collect, then check what
>> instances remain of PharoLauncher classes.
>>
>> cheers -ben
>
>
>
> I use pharo launcer a lot (on windows) and I did not see any slow down.
> But I don't use it for anything else then launching the images.
> Do you notice the slow down by launching images or do you use the
> PharoLauncher image for anything else?

I think it was more when I was helping with PharoLauncher development
and would close down/open it a lot.  Since I've been mostly only using
it I haven't noticed the problem.  Or the root of that particular
issue was fixed.
cheers -ben



>
>>
>>
>> On Fri, Mar 4, 2016 at 6:42 PM, Peter Uhnák  wrote:
>> > Yeah I saw that when he was in Prague (incidentally that's where my
>> > launcher
>> > slowdown started :)).
>> >
>> > I've removed write access and will report back in couple of days. :)
>> >
>> > Thanks,
>> > Peter
>> >
>> > On Fri, Mar 4, 2016 at 11:24 AM, Damien Cassou 
>> > wrote:
>> >>
>> >> Hi Peter,
>> >>
>> >> Peter Uhnák  writes:
>> >> > I've been using Pharo Launcher for quite a while and problem that I
>> >> > am
>> >> > constantly encountering is that launching of it becomes slower and
>> >> > slower.
>> >>
>> >> Stéphane, in CC, reported the same months ago on OS X. I don't know if
>> >> Stéphane still experiences the problem. Could you please try to remove
>> >> write access to the .image and .changes files?
>> >>
>> >> --
>> >> Damien Cassou
>> >> http://damiencassou.seasidehosting.st
>> >>
>> >> "Success is the ability to go from one failure to another without
>> >> losing enthusiasm." --Winston Churchill
>> >
>> >
>>
>



Re: [Pharo-users] PharoLauncher eventual slowdown

2016-03-04 Thread Nicolai Hess
2016-03-04 17:15 GMT+01:00 Ben Coman :

> Hi Peter, I see you had this problem 12 months ago.
>
> http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/2015-February/017026.html
>
> What you can try is in development mode, closing the PharoLauncher
> window, nil out class variables and garbage collect, then check what
> instances remain of PharoLauncher classes.
>
> cheers -ben
>


I use pharo launcer a lot (on windows) and I did not see any slow down.
But I don't use it for anything else then launching the images.
Do you notice the slow down by launching images or do you use the
PharoLauncher image for anything else?


>
> On Fri, Mar 4, 2016 at 6:42 PM, Peter Uhnák  wrote:
> > Yeah I saw that when he was in Prague (incidentally that's where my
> launcher
> > slowdown started :)).
> >
> > I've removed write access and will report back in couple of days. :)
> >
> > Thanks,
> > Peter
> >
> > On Fri, Mar 4, 2016 at 11:24 AM, Damien Cassou 
> > wrote:
> >>
> >> Hi Peter,
> >>
> >> Peter Uhnák  writes:
> >> > I've been using Pharo Launcher for quite a while and problem that I am
> >> > constantly encountering is that launching of it becomes slower and
> >> > slower.
> >>
> >> Stéphane, in CC, reported the same months ago on OS X. I don't know if
> >> Stéphane still experiences the problem. Could you please try to remove
> >> write access to the .image and .changes files?
> >>
> >> --
> >> Damien Cassou
> >> http://damiencassou.seasidehosting.st
> >>
> >> "Success is the ability to go from one failure to another without
> >> losing enthusiasm." --Winston Churchill
> >
> >
>
>


Re: [Pharo-users] PharoLauncher eventual slowdown

2016-03-04 Thread Ben Coman
Hi Peter, I see you had this problem 12 months ago.
http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/2015-February/017026.html

What you can try is in development mode, closing the PharoLauncher
window, nil out class variables and garbage collect, then check what
instances remain of PharoLauncher classes.

cheers -ben

On Fri, Mar 4, 2016 at 6:42 PM, Peter Uhnák  wrote:
> Yeah I saw that when he was in Prague (incidentally that's where my launcher
> slowdown started :)).
>
> I've removed write access and will report back in couple of days. :)
>
> Thanks,
> Peter
>
> On Fri, Mar 4, 2016 at 11:24 AM, Damien Cassou 
> wrote:
>>
>> Hi Peter,
>>
>> Peter Uhnák  writes:
>> > I've been using Pharo Launcher for quite a while and problem that I am
>> > constantly encountering is that launching of it becomes slower and
>> > slower.
>>
>> Stéphane, in CC, reported the same months ago on OS X. I don't know if
>> Stéphane still experiences the problem. Could you please try to remove
>> write access to the .image and .changes files?
>>
>> --
>> Damien Cassou
>> http://damiencassou.seasidehosting.st
>>
>> "Success is the ability to go from one failure to another without
>> losing enthusiasm." --Winston Churchill
>
>



Re: [Pharo-users] PharoLauncher eventual slowdown

2016-03-04 Thread Peter Uhnák
Yeah I saw that when he was in Prague (incidentally that's where my
launcher slowdown started :)).

I've removed write access and will report back in couple of days. :)

Thanks,
Peter

On Fri, Mar 4, 2016 at 11:24 AM, Damien Cassou 
wrote:

> Hi Peter,
>
> Peter Uhnák  writes:
> > I've been using Pharo Launcher for quite a while and problem that I am
> > constantly encountering is that launching of it becomes slower and
> > slower.
>
> Stéphane, in CC, reported the same months ago on OS X. I don't know if
> Stéphane still experiences the problem. Could you please try to remove
> write access to the .image and .changes files?
>
> --
> Damien Cassou
> http://damiencassou.seasidehosting.st
>
> "Success is the ability to go from one failure to another without
> losing enthusiasm." --Winston Churchill
>


Re: [Pharo-users] PharoLauncher eventual slowdown

2016-03-04 Thread Damien Cassou
Hi Peter,

Peter Uhnák  writes:
> I've been using Pharo Launcher for quite a while and problem that I am
> constantly encountering is that launching of it becomes slower and
> slower.

Stéphane, in CC, reported the same months ago on OS X. I don't know if
Stéphane still experiences the problem. Could you please try to remove
write access to the .image and .changes files?

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill



Re: [Pharo-users] PharoLauncher eventual slowdown

2016-03-03 Thread Stephan Eggermont

On 03/03/16 21:56, Peter Uhnák wrote:

I've been using Pharo Launcher for quite a while and problem that I am
constantly encountering is that launching of it becomes slower and slower.

But I am little bit fed-up by it… is this a common behavior? Or is it
constrained to my machine?


I'm not aware of a slowdown on linux, using PharoLauncher all the time.
On my MBP,  it always starts within one bounce.

Stephan





[Pharo-users] PharoLauncher eventual slowdown

2016-03-03 Thread Peter Uhnák
Hi,

I've been using Pharo Launcher for quite a while and problem that I am
constantly encountering is that launching of it becomes slower and slower.

Up until now I've solved it by writing a bash script that downloads the
launcher fresh and reconfigures it. And then I've executed the script about
once a week.

But I am little bit fed-up by it… is this a common behavior? Or is it
constrained to my machine?

For example, if I execute the following (so I can time it)
time /opt/pharo-vm/cog/pharo --nodisplay --textenc UTF-8
/opt/pharo-launcher/PharoLauncher.image eval '1+1'

(also I have right now about ~27 images in the Launcher)

fresh download (yesterday): ~0.49s
today: 0.91s (almost double)

and in a week it will be be maybe 10 seconds.

I can just setup cronjob that resets pharo launcher every day, but a
systemic solution would be better.

Thanks,
Peter