mac vm 3.7.0b2
John M McIntosh
johnmci at smalltalkconsulting.com
Mon Dec 8 07:25:40 UTC 2003
Mmm I'll bet it's tied to aioPoll() calling frequency.
In the carbon VM, this is called either at event processing fetch time,
or at idle time.
When you turn off the uiProcess and have a busy image that doesn't get
idle time, then
then no calls to aioPoll(). However the EventSensor process does make a
call to get next event every 500 ms
giving you I suspect your 2 rps per second you see when you've
If you set Preferences higherPerformance on, do you get a better rate?
If this is true we'll need to think about a better way to call aioPoll()
On Dec 7, 2003, at 9:31 PM, Avi Bryant wrote:
> On Dec 7, 2003, at 5:06 PM, John M McIntosh wrote:
>> The current mac vm's use the unix network code so they should exhibit
>> the same behavior as the the unix VM.
> I'm comparing 3.7.0Beta2 (Carbon) to 3.6g-2 (Unix). With the UI
> process running, they both get similar results (the particular test I
> was doing got about 28 requests per second with the Carbon VM, 32 rps
> with the Unix VM, but that difference may not be meaningful).
> If I suspend the UI process, I get about 45 rps with the Unix VM, but
> the Carbon VM drops to 2.00 rps.
> So it may not be the network code, exactly, but there's something
> wonky in the event handling.
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
More information about the Squeak-dev