[Newbies] Why Squeak is so sloooow?

cummij at rpi.edu cummij at rpi.edu
Fri Sep 22 01:48:36 UTC 2006


hi-

Brad Fuller also wrote:
> Brad Fuller wrote:
>> Yoshiki Ohshima wrote:
>>   
>>> Antonio,
>>>
>>> If you evaluate the following (and print-it):
>>>
>>> | a b |
>>> a := FloatArray new: (16 * 1024*1024).
>>> b := FloatArray new: (16 * 1024*1024).
>>> [a += b] timeToRun.
>>>
>>> you probably get a number around 100 or 200. This means that Squeak
>>> can add two 32-bit float arrays with 16M entries in 100 milliseconds
>>> or such. This is basicaly comparable Java-performance.
>>>     
>> Ouch! I just did this (twice, just to make sure) in the 7058 imagine and
>> squeak bombed with the output below.
>> This was with the latest Linux 3.9 VM. I tried with the 3.7-7 VM and it
>> bombed too.
>> kernel: 2.6.16-1.2080.16.rrt.rhfc5.ccrma (realtime kernel from Stanford
>> - for audio)
>>   
> just a note to say that I tried it on kernel:
> 2.6.17-1.2174_FC5
> with no difference.... same problem.
> Anyone have an idea for this?
> 

no ideas, but same thing happens here, with debian unstable:

% grep squeak /etc/apt/sources.list
deb http://ftp.squeak.org/debian/ unstable main contrib non-free
% cat /proc/version
Linux version 2.6.15.2 (jpc at krazykat) (gcc version 4.0.3 20060128 (prerelease) (Debian 4.0.2-8)) #1 PREEMPT Fri Feb 3 16:48:19 EST 2006
% squeak -version
3.9-7 #1 Sat Aug  5 23:08:06 CEST 2006 gcc 3.3.5
Squeak3.9alpha of 4 July 2005 [latest update: #7021]
Linux shire 2.6.8-3-686 #1 Sat Jul 15 10:32:25 UTC 2006 i686 GNU/Linux
default plugin location: /usr/lib/squeak/3.9-7/*.so
% ls -l /usr/share/squeak/squeak3.9.image.gz 
-rw-r--r-- 1 root root 7616104 Sep 11 02:47 /usr/share/squeak/squeak3.9.image.gz

john




More information about the Squeak-dev mailing list