Squeak slows to start up in Windows

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Squeak slows to start up in Windows

Hilaire Fernandes-3
I am pretty sure I read it somewhere in the Squeak mailing list why
Squeak can be slow to start in Windows... but I cannot find the information.

I have just rename the image and executable with the same name, located
in the same directory, but it start a bit slowly, about 20s.

What is the trick?

Hilaire

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Squeak slows to start up in Windows

Herbert König
Hello Hilaire,

HF> I am pretty sure I read it somewhere in the Squeak mailing list why
HF> Squeak can be slow to start in Windows... but I cannot find the information.

one thing to speed it up is to have only one image and changes in the
folder. Dunno the exakt explanation myself.

HF> I have just rename the image and executable with the same name, located
HF> in the same directory, but it start a bit slowly, about 20s.
That surely doesn't help if you have several image.

HF> What is the trick?

Personally I always put a batch into the folder containing exe and
image name like:
squeak.exe 3_8start_dev.image

I haven't found a reliable way of fast startups while the batch
solution is always fast.

Cheers
Herbert                            mailto:[hidden email]

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

RE: Squeak slows to start up in Windows

Emilio Oca
In reply to this post by Hilaire Fernandes-3
Hilaire

I think the reason is something like that Squeaks queries Windows to now if
an image is available in its directory, if there are more than one it opens
a file chooser.
If you create a shortcut and within you state the appropriate image as a
parameter the time to start-up is greatly reduced.

        Emilio



> -----Mensaje original-----
> De: [hidden email]
> [mailto:[hidden email]]En nombre de
> Hilaire Fernandes
> Enviado el: Martes, 06 de Marzo de 2007 12:39
> Para: [hidden email]
> Asunto: [Newbies] Squeak slows to start up in Windows
>
>
> I am pretty sure I read it somewhere in the Squeak mailing list why
> Squeak can be slow to start in Windows... but I cannot find the
> information.
>
> I have just rename the image and executable with the same name, located
> in the same directory, but it start a bit slowly, about 20s.
>
> What is the trick?
>
> Hilaire
>
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

RE: Squeak slows to start up in Windows

Ron Teitelbaum
In reply to this post by Hilaire Fernandes-3
I remember also Andreas saying something about the VM is slow to start
because it is checking to see if it is running as a service.  He also
mentioned that the new VM removes that option so that it is faster to start
up.  I haven't tried the new VM yet but I've been meaning too.

The removal of that feature in the VM means that you will need to manually
register squeak as a service if that is how you are running it.

I usually just wait for it to start, and I have multiple images in the
directory.  It's odd that sometimes it is very quick, sometimes not so
quick.  It is also much faster starting an image if one is already running
(I run a squeakSource image also) but I have no idea why.

Ron

> -----Original Message-----
> From: [hidden email] [mailto:beginners-
> [hidden email]] On Behalf Of Hilaire Fernandes
> Sent: Tuesday, March 06, 2007 10:39 AM
> To: [hidden email]
> Subject: [Newbies] Squeak slows to start up in Windows
>
> I am pretty sure I read it somewhere in the Squeak mailing list why
> Squeak can be slow to start in Windows... but I cannot find the
> information.
>
> I have just rename the image and executable with the same name, located
> in the same directory, but it start a bit slowly, about 20s.
>
> What is the trick?
>
> Hilaire
>
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Squeak slows to start up in Windows

Brad Fuller-3
In reply to this post by Hilaire Fernandes-3
Hilaire Fernandes wrote:
> I am pretty sure I read it somewhere in the Squeak mailing list why
> Squeak can be slow to start in Windows... but I cannot find the
> information.
>
> I have just rename the image and executable with the same name, located
> in the same directory, but it start a bit slowly, about 20s.
>
> What is the trick?

It's much faster if you drop the image file on a shortcut of the VM
(.exe). You can have the shortcut on your desktop and then drag whatever
image you'd like to start. It starts up pretty fast this way.

--
brad fuller
www.bradfuller.com
+1 (408) 799-6124
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Squeak slows to start up in Windows

Blake-5
In reply to this post by Hilaire Fernandes-3
Takes about 3 seconds here, with image in different directory from VM.

On Tue, 06 Mar 2007 07:39:08 -0800, Hilaire Fernandes  
<[hidden email]> wrote:

> I am pretty sure I read it somewhere in the Squeak mailing list why  
> Squeak can be slow to start in Windows... but I cannot find the  
> information.
>
> I have just rename the image and executable with the same name, located  
> in the same directory, but it start a bit slowly, about 20s.
>
> What is the trick?
>
> Hilaire
>
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Squeak slows to start up in Windows

Raymond Asselin
>Takes about 3 seconds here, with image in different directory
from VM.
>
>On Tue, 06 Mar 2007 07:39:08 -0800, Hilaire Fernandes  
><[hidden email]> wrote:
>
>> I am pretty sure I read it somewhere in the Squeak mailing list
why  
>> Squeak can be slow to start in Windows... but I cannot find the  
>> information.

Bonjour Hilaire,
    si je me souviens bien (IIRC) the problem was that windows look
lot of places to find the .image and this is long.  If you drop the
.image directly ont the squeak.exec you’ll have a fast start, I
think.

Salut
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Squeak slows to start up in Windows

Hilaire Fernandes-3
Asselin Raymond a écrit :

>> Takes about 3 seconds here, with image in different directory
> from VM.
>> On Tue, 06 Mar 2007 07:39:08 -0800, Hilaire Fernandes  
>> <[hidden email]> wrote:
>>
>>> I am pretty sure I read it somewhere in the Squeak mailing list
> why  
>>> Squeak can be slow to start in Windows... but I cannot find the  
>>> information.
>
> Bonjour Hilaire,
>     si je me souviens bien (IIRC) the problem was that windows look
> lot of places to find the .image and this is long.  If you drop the
> .image directly ont the squeak.exec you’ll have a fast start, I
> think.
>
> Salut

Thanks for the tips. I finally took the Herbert option, as this is for a
deployment in a school for experimentation test, starting the batch is
simpler for kids. Also it will probably prevent the kids from starting
several time the VM executable.

Hilaire

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners