[Pharo-project] Bigger than Squeak?
Hi, according to stats I did about Squeak and Pharo (http://damiencassou.dabbledb.com/publish/dev-imagesdownloads), Pharo images are always bigger than Squeak images. This does not seem to be related to the dev-images themselves because the latest base Pharo image is bigger (8.79 MB) than Squeak 3.10.2 (7.1MB) and Squeak 3.9.1 (also 7.1MB). Is there any method to call to clean the image? Would be interesting to systematically clean the releases you build. Bye -- Damien Cassou Peter von der Ahé: «I'm beginning to see why Gilad wished us good luck». (http://blogs.sun.com/ahe/entry/override_snafu)
Pharo images should be smaller than 3.9.1 images since code was removed. The Pharo image 10061 that I build from the very beginning through the update stream is 14.2 MB after I did the following cleanup (can you try if it helps? I guess MC holds versions in its cache). Squeak 3.9.1 final is 15.6 MB. I don't understand how you get images that are smaller than 10MB? Adrian RequiredSelectors initialize. ProvidedSelectors initialize. LocalSends initialize. Utilities cleanseOtherworldlySteppers. Smalltalk organization removeEmptyCategories. SystemBrowser removeObsolete. TheWorldMenu removeObsolete. AppRegistry removeObsolete. SystemNavigation default obsoleteBehaviors. MCFileBasedRepository flushAllCaches. MCDefinition clearInstances. Symbol compactSymbolTable. Set rehashAllSets. Smalltalk garbageCollect. On Aug 20, 2008, at 14:54 , Damien Cassou wrote:
Hi,
according to stats I did about Squeak and Pharo (http://damiencassou.dabbledb.com/publish/dev-imagesdownloads), Pharo images are always bigger than Squeak images. This does not seem to be related to the dev-images themselves because the latest base Pharo image is bigger (8.79 MB) than Squeak 3.10.2 (7.1MB) and Squeak 3.9.1 (also 7.1MB).
Is there any method to call to clean the image? Would be interesting to systematically clean the releases you build.
Bye
-- Damien Cassou Peter von der Ahé: «I'm beginning to see why Gilad wished us good luck». (http://blogs.sun.com/ahe/entry/override_snafu) _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Wed, Aug 20, 2008 at 3:13 PM, Adrian Lienhard <adi@netstyle.ch> wrote:
Pharo images should be smaller than 3.9.1 images since code was removed. The Pharo image 10061 that I build from the very beginning through the update stream is 14.2 MB after I did the following cleanup (can you try if it helps? I guess MC holds versions in its cache). Squeak 3.9.1 final is 15.6 MB. I don't understand how you get images that are smaller than 10MB?
Are you including the sources file? My numbers come from http://ftp.squeak.org/3.9 and https://gforge.inria.fr/frs/?group_id=1299. -- Damien Cassou Peter von der Ahé: «I'm beginning to see why Gilad wished us good luck». (http://blogs.sun.com/ahe/entry/override_snafu)
On Wed, Aug 20, 2008 at 3:13 PM, Adrian Lienhard <adi@netstyle.ch> wrote:
I did the following cleanup (can you try if it helps?
It does not change much the result. -- Damien Cassou Peter von der Ahé: «I'm beginning to see why Gilad wished us good luck». (http://blogs.sun.com/ahe/entry/override_snafu)
Ah, you are comparing compressed files! I think its more meaningful to compare uncompressed images. Adrian On Aug 20, 2008, at 15:19 , Damien Cassou wrote:
On Wed, Aug 20, 2008 at 3:13 PM, Adrian Lienhard <adi@netstyle.ch> wrote:
Pharo images should be smaller than 3.9.1 images since code was removed. The Pharo image 10061 that I build from the very beginning through the update stream is 14.2 MB after I did the following cleanup (can you try if it helps? I guess MC holds versions in its cache). Squeak 3.9.1 final is 15.6 MB. I don't understand how you get images that are smaller than 10MB?
Are you including the sources file? My numbers come from http://ftp.squeak.org/3.9 and https://gforge.inria.fr/frs/?group_id=1299.
-- Damien Cassou Peter von der Ahé: «I'm beginning to see why Gilad wished us good luck». (http://blogs.sun.com/ahe/entry/override_snafu) _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On 20.08.2008, at 15:13, Adrian Lienhard wrote:
Pharo images should be smaller than 3.9.1 images since code was removed. The Pharo image 10061 that I build from the very beginning through the update stream is 14.2 MB after I did the following cleanup (can you try if it helps? I guess MC holds versions in its cache). Squeak 3.9.1 final is 15.6 MB. I don't understand how you get images that are smaller than 10MB?
Didyou try to remove all changesets? I think these take quite some space... Marcus
Adrian
RequiredSelectors initialize.
ProvidedSelectors initialize.
LocalSends initialize.
Utilities cleanseOtherworldlySteppers.
Smalltalk organization removeEmptyCategories.
SystemBrowser removeObsolete.
TheWorldMenu removeObsolete.
AppRegistry removeObsolete.
SystemNavigation default obsoleteBehaviors.
MCFileBasedRepository flushAllCaches.
MCDefinition clearInstances.
Symbol compactSymbolTable.
Set rehashAllSets.
Smalltalk garbageCollect.
On Aug 20, 2008, at 14:54 , Damien Cassou wrote:
Hi,
according to stats I did about Squeak and Pharo (http://damiencassou.dabbledb.com/publish/dev-imagesdownloads), Pharo images are always bigger than Squeak images. This does not seem to be related to the dev-images themselves because the latest base Pharo image is bigger (8.79 MB) than Squeak 3.10.2 (7.1MB) and Squeak 3.9.1 (also 7.1MB).
Is there any method to call to clean the image? Would be interesting to systematically clean the releases you build.
Bye
-- Damien Cassou Peter von der Ahé: «I'm beginning to see why Gilad wished us good luck». (http://blogs.sun.com/ahe/entry/override_snafu) _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Marcus Denker -- denker@iam.unibe.ch http://www.iam.unibe.ch/~denker
Thanks, I forgot about the changesets! After "ScriptLoader new cleaningCS" the size of my Pharo 10061 image drops to 13.3MB on disk. Not bad. Adrian ___________________ http://www.adrian-lienhard.ch/ On Aug 20, 2008, at 16:38 , Marcus Denker wrote:
On 20.08.2008, at 15:13, Adrian Lienhard wrote:
Pharo images should be smaller than 3.9.1 images since code was removed. The Pharo image 10061 that I build from the very beginning through the update stream is 14.2 MB after I did the following cleanup (can you try if it helps? I guess MC holds versions in its cache). Squeak 3.9.1 final is 15.6 MB. I don't understand how you get images that are smaller than 10MB?
Didyou try to remove all changesets? I think these take quite some space...
Marcus
Adrian
RequiredSelectors initialize.
ProvidedSelectors initialize.
LocalSends initialize.
Utilities cleanseOtherworldlySteppers.
Smalltalk organization removeEmptyCategories.
SystemBrowser removeObsolete.
TheWorldMenu removeObsolete.
AppRegistry removeObsolete.
SystemNavigation default obsoleteBehaviors.
MCFileBasedRepository flushAllCaches.
MCDefinition clearInstances.
Symbol compactSymbolTable.
Set rehashAllSets.
Smalltalk garbageCollect.
On Aug 20, 2008, at 14:54 , Damien Cassou wrote:
Hi,
according to stats I did about Squeak and Pharo (http://damiencassou.dabbledb.com/publish/dev-imagesdownloads), Pharo images are always bigger than Squeak images. This does not seem to be related to the dev-images themselves because the latest base Pharo image is bigger (8.79 MB) than Squeak 3.10.2 (7.1MB) and Squeak 3.9.1 (also 7.1MB).
Is there any method to call to clean the image? Would be interesting to systematically clean the releases you build.
Bye
-- Damien Cassou Peter von der Ahé: «I'm beginning to see why Gilad wished us good luck». (http://blogs.sun.com/ahe/entry/override_snafu) _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Marcus Denker -- denker@iam.unibe.ch http://www.iam.unibe.ch/~denker
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (3)
-
Adrian Lienhard -
Damien Cassou -
Marcus Denker