[VM] Method Lookup
Andreas Raab
andreas.raab at gmx.de
Sat May 24 11:34:18 UTC 2003
Hi Alexandre,
Impossible to say what's going on without knowing how exactly you've been
changing the lookup. My best guess is cache trashing - did you try to
increase the mcache size (possibly to some truly unreasonable amount)? It
might be worthwhile to add a primitive for resizing the mcache dynamically
and see if that has any implications.
Cheers,
- Andreas
> -----Original Message-----
> From: squeak-dev-bounces at lists.squeakfoundation.org
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org] On
> Behalf Of Alexandre Bergel
> Sent: Friday, May 23, 2003 4:54 PM
> To: squeak-dev at lists.squeakfoundation.org
> Subject: [VM] Method Lookup
>
>
> Hello,
>
> For the Classbox Model I have implemented a new method
> lookup. I have a strange result I could not explain. The new
> algorithm is 25% slower (according some personnal benchmarks
> for testing monomorphic and polymorphic messages). But the
> whole environment is 5 times slower (benchmarks for opening
> and closing Scamper, Celeste)...
>
> Anyone has any idea why with a lookup mechanism 25% slower I
> get an environment 500% slower ?
> It seems to be related to the cache mechanism...
>
> Cheers,
> Alexandre
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel http://www.iam.unibe.ch/~bergel
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
More information about the Squeak-dev
mailing list
|