Phil,
> On 05 Mar 2015, at 11:44, [email protected] wrote:
>
> Images are starting slow, that's my experience. Here, a Pharo3 on
> Windows with quite a bunch of things in it takes six seconds to load
> on first launch and three after that.
>
> And that's on a i7 4770K clocked 3.85GHz with SSD drives.
>
> It takes less time to revive a VMWare VM :-(
Maybe it is Windows ? Or certain extra stuff that you have in your image that
does work at startup ? Because you should see sub second startup times.
(This is on the smallest Digital Ocean instance, 1 virtual CPU, 512 Mb RAM, SSD)
root@stfx:~/experiments/pharo4# curl get.pharo.org/40+vm | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2885 100 2885 0 0 17974 0 --:--:-- --:--:-- --:--:-- 18031
Downloading the latest 40 Image:
http://files.pharo.org/image/40/latest.zip
Pharo.image
Downloading the latest pharoVM:
http://files.pharo.org/vm/pharo/linux/stable.zip
pharo-vm/pharo
Downloading PharoV10.sources:
http://files.pharo.org/sources//PharoV10.sources.zip
Downloading PharoV20.sources:
http://files.pharo.org/sources//PharoV20.sources.zip
Downloading PharoV30.sources:
http://files.pharo.org/sources//PharoV30.sources.zip
Creating starter scripts pharo and pharo-ui
root@stfx:~/experiments/pharo4# ./pharo Pharo.image printVersion
[version] 4.0 #40535
root@stfx:~/experiments/pharo4# ls -lah Pharo.image
-rw-rw-r-- 1 root root 22M Mar 4 14:51 Pharo.image
root@stfx:~/experiments/pharo4# time ./pharo Pharo.image eval '100 factorial'
93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000
real 0m0.386s
user 0m0.184s
sys 0m0.028s
root@stfx:~/experiments/pharo4# time ./pharo Pharo.image eval '100 factorial'
93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000
real 0m0.422s
user 0m0.192s
sys 0m0.032s
root@stfx:~/experiments/pharo4# time ./pharo Pharo.image eval '100 factorial'
93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000
real 0m0.863s
user 0m0.404s
sys 0m0.064s
It is the latest (smaller) image, but that should not make much difference.
Sven
--
Sven Van Caekenberghe
Proudly supporting Pharo
http://pharo.org
http://association.pharo.org
http://consortium.pharo.org