> On 17 Oct 2016, at 8:43 , Sven Van Caekenberghe <s...@stfx.eu> wrote:
> 
> Hi,
> 
> Does a (faster) Cog VM for the Raspberry Pi actually exist ?
> 
> I tried comparing the latest OpenSmalltalk VM with some older ones, only to 
> find that they are all equally fast (slow actually):
> 
> pi@raspberrypi ~/Pharo $ ./pharo -nodisplay Pharo.image printVersion
> [version] 5.0 #50581
> 
> "http://files.pharo.org/vm/pharoS/raspbian/latest.zip";
> 
> pi@raspberrypi ~/Pharo $ ./pharo -nodisplay Pharo.image eval '1 
> tinyBenchmarks'
> '167429692 bytecodes/sec; 11160247 sends/sec'
> 
> "http://www.mirandabanda.org/files/Cog/VM/VM.r3427/cogspurlinuxhtARM-15.33.3427.tgz";
> 
> pi@raspberrypi ~/Pharo $ ./products/phcogspurlinuxhtRPi/pharo -nodisplay 
> Pharo.image eval '1 tinyBenchmarks'
> '166992824 bytecodes/sec; 11337746 sends/sec'
> 
> "https://bintray.com/opensmalltalk/vm/download_file?file_path=cog_linux32ARMv6_pharo.cog.spur_201610142319.tar.gz";
> 
> pi@raspberrypi ~/Pharo $ ./products/phcogspurlinuxhtRPi/pharo -nodisplay 
> Pharo.image eval '1 tinyBenchmarks'
> '166992824 bytecodes/sec; 11337746 sends/sec'
> 
> That is no significant difference on a RPi 3, at all. Is this normal ? Am I 
> missing something ?
> 
> Thx,
> 
> Sven
> 
> PS: Just for reference, my Mac Book Pro is 10 times faster
> 
> 1 tinyBenchmarks  "'1323852617 bytecodes/sec; 174185794 sends/sec'"

Are you 100% sure you benched different VM's?
A stack VM (PharoS) getting the same results as a Spur VM 
(cog_linux32ARMv6_pharo.cog.spur_201610142319.tar.gz) is rather suspicious...

At least on my Pi3, the spur Cog VM gives  numbers around 250M bytecodes/160M 
sends....
which, while still "slow", is a decent bump in speed compared to what you're 
seeing.

Cheers,
Henry

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to