> Am 14.11.2014 um 15:06 schrieb Sven Van Caekenberghe <[email protected]>: > > I tried the ARM VMs published at http://www.mirandabanda.org but they failed, > even on a standard RaspberryPi running Rasbian (wrong libc) - these seem to > be compiled statically for a too specific range of machines/OSes. > > But then I tried the JB ones and they worked fine ! > > I used this link: > https://ci.inria.fr/pharo-contribution/job/RaspberryPi-Cross-Compilation-JB/lastSuccessfulBuild/artifact/vmSources/results.tar.gz > > After adding PharoV30.sources I got Pharo 3 running on the command line > including a normally functioning Zn HTTP server. On the Online Labs machines > I had to install libasound2 as well. > > The Online Labs machines seem pretty fast: > > ubuntu@c1-10-1-14-179:~$ ./jb-vm/PharoS -vm-display-null Pharo.image eval '1 > tinyBenchmarks' > '39975015 bytecodes/sec; 2174908 sends/sec' > > vs a Raspberry Pi: > > pi@raspberrypi ~/pharo $ ./jb-vm/PharoS -vm-display-null Pharo.image eval '1 > tinyBenchmarks' > '13377926 bytecodes/sec; 719200 sends/sec' > > That looks like a factor 3 to 4 faster. > > But it is way slower than the regular VM on my machine: > > prometheus:pharo4 sven$ ./pharo Pharo.image eval '1 tinyBenchmarks' > '985563041 bytecodes/sec; 160902758 sends/sec' > > Probably the plain stack VM vs the Cog JIT is a factor too. > There is big difference between StackVM and Cog. Try using RFB on the pi to access the image. That's pretty unusable and that would be ok (I guess) with a Cog vm.
> Thanks JB ! > > Is this VM production ready (so to speak) ? > I worked a few days with it and never encountered a problem. I've compiled a VM including a dbus plugin and so I can say the image plus ffi worked quite well. Can't wait to proceed with the project :) Norbert > Sven > > PS: We still need easier access to this + better instructions. >> On 14 Nov 2014, at 12:00, Sven Van Caekenberghe <[email protected]> wrote: >> >>> >>> On 14 Nov 2014, at 01:02, Eliot Miranda <[email protected]> wrote: >>> >>> Hi Sven, >>> >>> On Thu, Nov 13, 2014 at 2:34 PM, Sven Van Caekenberghe <[email protected]> wrote: >>> Hi, >>> >>> I just saw this: http://labs.online.net which offers real ARM cloud servers >>> (15 minutes for free to try out) [they're French]. This is Ubuntu 14.10 on >>> ARMv7. >>> >>> Naturally I wanted to try Pharo on such a machine. >>> >>> The base question is, where do I get the latest and best VM to try this ? >>> >>> Doug McPherson is building Stack VMs for ARMv6 and ARMv7 for both Cog and >>> Spur and uploading them to my site. These VMs should run Pharo. See e.g. >>> http://www.mirandabanda.org/files/Cog/VM/VM.r3126/ >> >> I tried that and it does not seem to work: >> >> ubuntu@c1-10-1-16-102:~$ ls >> Pharo.changes Pharo.image PharoV30.sources stklinuxhtARM >> stklinuxhtARMv7-14.45.3126.tgz >> >> ubuntu@c1-10-1-16-102:~$ ./stklinuxhtARM/bin/squeak -vm-display-null >> Pharo.image printVersion >> pthread_setschedparam failed: Operation not permitted >> Read e.g. http://www.mirandabanda.org/files/Cog/VM/VM.r3126/README.3126 >> >> Maybe their system is special, I don't know, it feels pretty standard, >> running the latest Ubuntu. >> >> I noticed the 'ht' in the VM name, is there no 'normal' one ? >> >> I will try on a Raspberry Pi as well. >> >>> Maybe a complete & easy to use source tree that can be compiled locally ? >>> >>> That's the case for http://www.squeakvm.org/svn/squeak/branches/Cog. See >>> http://www.squeakvm.org/svn/squeak/branches/Cog/build.linux32ARM >>> >>> And would it make sense to add some ARM option to get.pharo.org ? >>> >>> Thx, >>> >>> Sven >>> >>> >>> >>> -- >>> best, >>> Eliot > >
