[GemStone-Smalltalk] [GBS] How often does this error affect you?

Martin McClure martin.mcclure at gemtalksystems.com
Wed May 21 10:30:14 PDT 2014


On 05/21/2014 10:15 AM, Richard Sargent wrote:
> Richard Sargent wrote
>> I have looked into this, and it appears to be a failing of how the
>> connectors are meant to be hooked up. There is a "bulk resolution"
>> mechanism, but it doesn't seem to be used for application classes.
>> Consequently, each class connector requires (on my equipment) about 2ms
>> for a round-trip to the server. So, 2 seconds per 1,000 classes to
>> connect. Do these numbers seem to match your experience?
>
> I ran a test with a development branch of GBS against a 3.2 server. I like
> these results much better.
>
> Logged in with 9 extra class connectors in 0.115372 seconds
> Logged in with 19 extra class connectors in 0.097572 seconds
> Logged in with 29 extra class connectors in 0.082155 seconds
> Logged in with 99 extra class connectors in 0.093118 seconds
> Logged in with 199 extra class connectors in 0.107003 seconds
> Logged in with 299 extra class connectors in 0.143217 seconds
> Logged in with 999 extra class connectors in 0.201468 seconds
> Logged in with 1999 extra class connectors in 0.393284 seconds
> Logged in with 2999 extra class connectors in 0.60691 seconds
> Logged in with 9999 extra class connectors in 1.43287 seconds
>
> If my math is right, that works out to about 0.14ms per class connector for
> the last example, more like 0.2 in the smaller examples.

And note that while there's some fixed overhead, the *incremental* cost 
of each new class connector is only about 118 microseconds.

Regards,

-Martin


More information about the GemStone-Smalltalk mailing list