Hi edgar and pavel
I removed a lot of classes from Squeak3.9 and I arrived to something like 1400. however after several GC and cache flushing I only gained a couple of MB. From 17Mb to 16Mb. I wanted to know where you got a big win to get down to 6 Mb Stef |
On 11.02.2006, at 13:41, stéphane ducasse wrote: > Hi edgar and pavel > > I removed a lot of classes from Squeak3.9 and I arrived to > something like 1400. > however after several GC and cache flushing I only gained a couple > of MB. From 17Mb to 16Mb. > I wanted to know where you got a big win to get down to 6 Mb > You should clean out the changesets... they hold on to the compiledmethods, which is huge... Another thing to do is to run the releasebuilder scripts, e.g. remove undeclareds, compact Symboltable and things like that. Marcus |
On 11.02.2006, at 13:50, Marcus Denker wrote: > > On 11.02.2006, at 13:41, stéphane ducasse wrote: > > You should clean out the changesets... they hold on to the > compiledmethods, which is huge... > Another thing to do is to run the releasebuilder scripts, e.g. > remove undeclareds, compact > Symboltable and things like that. > The current squeak 3.9 is 14.3MB after running most of the cleanup scripts. 3.8 is 12.4 So 3.9a is 2MB larger, in the state that it is right now. Marcus |
Ok this is interesting
I will try to come up with a first automatic way. >> You should clean out the changesets... they hold on to the >> compiledmethods, which is huge... OK I was stupid to forget that. >> Another thing to do is to run the releasebuilder scripts, e.g. >> remove undeclareds, compact >> Symboltable and things like that. > > The current squeak 3.9 is 14.3MB after running most of the cleanup > scripts. 3.8 is 12.4 > So 3.9a is 2MB larger, in the state that it is right now. So this means that we could go much further since lot of classes can be removed out of the current 3.9. stef |
In reply to this post by stéphane ducasse-2
What is important is not only to be able to remove code but to learn
what are the missing infrastructure. For example, removing lot of classes was easy even in 2.8 or 3.0 but you had the file list which had a lot of references to existing classes. This is why the filelist registration was introduced this way when you unload a package such as sound, then the file list does not have reference to obsolete classes anymore. So this is really what I would like to learn from your experiments. What are the changes that we should do to help unloading code? Stef >> But marcus is right. However, shrinking 3.9 is possible and we will >> start to do it slowly. > > No in 15 days >> If you give a try at building shrink scripts for 3.9 we will have a >> look at them. >> I think that for 3.9Basic we should be able to arrive below 10Mb. > Could start with my sending of how rip Speech, Balloon MMFlash. > No idea how could shrink once what all interim stuff was cleaned as > Markus > said, but 10 Mb seems razonable. > > Still waiting Yoshiki for unload Nebraska, but could rip anyway. > If you look at list, I send a post to find someone what could adopt > that > nice orphan and offer what if nobody wants it, I could take. > Off course if Yoshiki agree > > This Monday , with students start to see how could have Nebraska on > SqueakLight. > And experimenting if works . > > You know what .cs and .mcz don't could used as exist today in a > system what > don't have that "module" ? > And what you have to edit via external Text Editor (BBEdit in my > case) for > fix the class initialization order ? > > Edgar > > > > > ________________________________________________ > ¡Llamá a todo el mundo con las mejores tarifas! > Comprá tus tarjetas de llamadas en tres simples pasos > en Yahoo! Telefonía: http://yahoo.tarjetastelefonicas.com > |
Free forum by Nabble | Edit this page |