Pharo on Online Labs ARM cloud server ?
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 ? Maybe a complete & easy to use source tree that can be compiled locally ? And would it make sense to add some ARM option to get.pharo.org ? Thx, Sven
Hi Sven, On Thu, Nov 13, 2014 at 2:34 PM, Sven Van Caekenberghe <sven@stfx.eu> 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/ 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
There was a mail from Doug McPherson recently about that. *Pre-built Squeak stack and stack/spur VMs for ARMv6 (i.e. Raspberry Pi) and ARMv7 (i.e. BeagleBone Black, Parallella, numerous Chromebooks, etc) are now available at the same location as the other Cog and Spur VMs. * *( http://www.mirandabanda.org/files/Cog/VM/VM.r3126/ <http://www.mirandabanda.org/files/Cog/VM/VM.r3126/> ). * *Bug reports, questions, and comments welcome.* 2014-11-14 1:02 GMT+01:00 Eliot Miranda <eliot.miranda@gmail.com>:
Hi Sven,
On Thu, Nov 13, 2014 at 2:34 PM, Sven Van Caekenberghe <sven@stfx.eu> 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/
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
On 14 Nov 2014, at 01:02, Eliot Miranda <eliot.miranda@gmail.com> wrote:
Hi Sven,
On Thu, Nov 13, 2014 at 2:34 PM, Sven Van Caekenberghe <sven@stfx.eu> 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
Am 14.11.14 um 12:00 schrieb Sven Van Caekenberghe:
pthread_setschedparam failed: Operation not permitted Did you follow the instructions from the readme file to allow for increased thread priorities? The heartbeat thread needs to run at a higher priority than the working thread. In Solaris I have to add priocntl privileges to users for this, where Linux seem to have another way described in the readme...
Regards, Andreas
Hi Andreas, I tried a precompiled VM, where are those instructions ? Are they relevant for ARM ? BTW, the problem on the Raspberry Pi was the glibc version (2.5 required). Sven
On 14 Nov 2014, at 14:52, Andreas Wacknitz <A.Wacknitz@gmx.de> wrote:
Am 14.11.14 um 12:00 schrieb Sven Van Caekenberghe:
pthread_setschedparam failed: Operation not permitted Did you follow the instructions from the readme file to allow for increased thread priorities? The heartbeat thread needs to run at a higher priority than the working thread. In Solaris I have to add priocntl privileges to users for this, where Linux seem to have another way described in the readme...
Regards, Andreas
What are the benefits of running a Pharo server in the cloud on ARM architecture? Thank you! El Fri Nov 14 2014 at 11:14:02 AM, Sven Van Caekenberghe <sven@stfx.eu> escribió:
Hi Andreas,
I tried a precompiled VM, where are those instructions ? Are they relevant for ARM ? BTW, the problem on the Raspberry Pi was the glibc version (2.5 required).
Sven
On 14 Nov 2014, at 14:52, Andreas Wacknitz <A.Wacknitz@gmx.de> wrote:
Am 14.11.14 um 12:00 schrieb Sven Van Caekenberghe:
pthread_setschedparam failed: Operation not permitted Did you follow the instructions from the readme file to allow for increased thread priorities? The heartbeat thread needs to run at a higher priority than the working thread. In Solaris I have to add priocntl privileges to users for this, where Linux seem to have another way described in the readme...
Regards, Andreas
On 14 Nov 2014, at 15:17, Esteban A. Maringolo <emaringolo@gmail.com> wrote:
What are the benefits of running a Pharo server in the cloud on ARM architecture?
Basically there are two server schools: the classic old school is only interested in raw performance at any cost, a newer, alternative school thinks that cheaper, massive parallel and more efficient (performance per watt) CPUs can have advantages. This of course assumes the workload scales horizontally, like in web applications and services. Here is the article where I learned about the Online Labs initiative: http://techcrunch.com/2014/11/13/online-labs-designed-its-own-arm-servers-to... http://armservers.com
Thank you! El Fri Nov 14 2014 at 11:14:02 AM, Sven Van Caekenberghe <sven@stfx.eu> escribió: Hi Andreas,
I tried a precompiled VM, where are those instructions ? Are they relevant for ARM ? BTW, the problem on the Raspberry Pi was the glibc version (2.5 required).
Sven
On 14 Nov 2014, at 14:52, Andreas Wacknitz <A.Wacknitz@gmx.de> wrote:
Am 14.11.14 um 12:00 schrieb Sven Van Caekenberghe:
pthread_setschedparam failed: Operation not permitted Did you follow the instructions from the readme file to allow for increased thread priorities? The heartbeat thread needs to run at a higher priority than the working thread. In Solaris I have to add priocntl privileges to users for this, where Linux seem to have another way described in the readme...
Regards, Andreas
Thank you Sven. I didn't know about this alternative. I guess it's worth using it if your horizontal scale is relevant, or if there is a particular set of use cases (high I/O, low cpu?). Regards! El Fri Nov 14 2014 at 11:31:27 AM, Sven Van Caekenberghe <sven@stfx.eu> escribió:
On 14 Nov 2014, at 15:17, Esteban A. Maringolo <emaringolo@gmail.com> wrote:
What are the benefits of running a Pharo server in the cloud on ARM architecture?
Basically there are two server schools: the classic old school is only interested in raw performance at any cost, a newer, alternative school thinks that cheaper, massive parallel and more efficient (performance per watt) CPUs can have advantages. This of course assumes the workload scales horizontally, like in web applications and services.
Here is the article where I learned about the Online Labs initiative:
http://techcrunch.com/2014/11/13/online-labs-designed-its- own-arm-servers-to-take-on-aws-digitalocean/
This is an ongoing trend that comes with connected devices and IoT: more and more event flow and data stream processing to be done. more cpu cores and clustering needed to do the job. Given that arm are cheap, I would say Online labs is a smart move. Even your phone have several cores now and may be the next home computer tomorrow, just plugging a keyboard, mouse and screen. Or connecting 2 or more phones will give you a new kind of cluster for data processing. Also interesting to note that event streaming is coming to systems primarily designed for storage like databases : sql server 2014 do not rewrite rows for memory optimized tables, but instead append a new row and changes the pointer to that row in the memory header. Very interesting pointer, thank you Sven. regards, Alain Le 14/11/2014 15:55, Esteban A. Maringolo a écrit :
Thank you Sven.
I didn't know about this alternative. I guess it's worth using it if your horizontal scale is relevant, or if there is a particular set of use cases (high I/O, low cpu?).
Regards!
sounds like following this strategy will have a deep influence in programming more functionally and use immutability a lot more.
On Nov 14, 2014, at 12:31 PM, Sven Van Caekenberghe <sven@stfx.eu> wrote:
On 14 Nov 2014, at 15:17, Esteban A. Maringolo <emaringolo@gmail.com> wrote:
What are the benefits of running a Pharo server in the cloud on ARM architecture?
Basically there are two server schools: the classic old school is only interested in raw performance at any cost, a newer, alternative school thinks that cheaper, massive parallel and more efficient (performance per watt) CPUs can have advantages. This of course assumes the workload scales horizontally, like in web applications and services.
Here is the article where I learned about the Online Labs initiative:
http://techcrunch.com/2014/11/13/online-labs-designed-its-own-arm-servers-to...
Thank you! El Fri Nov 14 2014 at 11:14:02 AM, Sven Van Caekenberghe <sven@stfx.eu> escribió: Hi Andreas,
I tried a precompiled VM, where are those instructions ? Are they relevant for ARM ? BTW, the problem on the Raspberry Pi was the glibc version (2.5 required).
Sven
On 14 Nov 2014, at 14:52, Andreas Wacknitz <A.Wacknitz@gmx.de> wrote:
Am 14.11.14 um 12:00 schrieb Sven Van Caekenberghe:
pthread_setschedparam failed: Operation not permitted Did you follow the instructions from the readme file to allow for increased thread priorities? The heartbeat thread needs to run at a higher priority than the working thread. In Solaris I have to add priocntl privileges to users for this, where Linux seem to have another way described in the readme...
Regards, Andreas
On 11/14/2014 03:17 PM, Esteban A. Maringolo wrote:
What are the benefits of running a Pharo server in the cloud on ARM architecture? My blog is actually running on a colocated raspberry pi - it is unlikely to be linked by slashdot soon and is enough for the limited readership.
So far I'm not running pharo on it, but if I ever come around to implement "the next big thing" in it, that would probably the first spot to put the test image on... Kind regards, Markus
Am 14.11.14 um 15:13 schrieb Sven Van Caekenberghe:
Hi Andreas,
I tried a precompiled VM, where are those instructions ? I was referring the readme you had in your original post. Eliot already sent you the answer. Being able to raise the thread priority above normal needs to be allowed. In Solaris you need to do it on a per-user basis (with usermod -K defaultpriv=basic,proc_priocntl <username>). Linux has another way of doing this which is explained in the readme for the cog vm. Alternatively you could try to run the vm as root. Of course this is not recommended for production.
Regards Andreas
Are they relevant for ARM ? BTW, the problem on the Raspberry Pi was the glibc version (2.5 required).
Sven
On 14 Nov 2014, at 14:52, Andreas Wacknitz <A.Wacknitz@gmx.de> wrote:
Am 14.11.14 um 12:00 schrieb Sven Van Caekenberghe:
pthread_setschedparam failed: Operation not permitted Did you follow the instructions from the readme file to allow for increased thread priorities? The heartbeat thread needs to run at a higher priority than the working thread. In Solaris I have to add priocntl privileges to users for this, where Linux seem to have another way described in the readme...
Regards, Andreas
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/... 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. Thanks JB ! Is this VM production ready (so to speak) ? Sven PS: We still need easier access to this + better instructions.
On 14 Nov 2014, at 12:00, Sven Van Caekenberghe <sven@stfx.eu> wrote:
On 14 Nov 2014, at 01:02, Eliot Miranda <eliot.miranda@gmail.com> wrote:
Hi Sven,
On Thu, Nov 13, 2014 at 2:34 PM, Sven Van Caekenberghe <sven@stfx.eu> 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
Am 14.11.2014 um 15:06 schrieb Sven Van Caekenberghe <sven@stfx.eu>:
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/...
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 <sven@stfx.eu> wrote:
On 14 Nov 2014, at 01:02, Eliot Miranda <eliot.miranda@gmail.com> wrote:
Hi Sven,
On Thu, Nov 13, 2014 at 2:34 PM, Sven Van Caekenberghe <sven@stfx.eu> 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
Sven, do you not see the error message?
pthread_setschedparam failed: Operation not permitted Read e.g. http://www.mirandabanda.org/files/Cog/VM/VM.r3126/README.3126
If you read the read me it will explain what you need to do to get it to work. Eliot (phone) On Nov 14, 2014, at 3:00 AM, Sven Van Caekenberghe <sven@stfx.eu> wrote:
On 14 Nov 2014, at 01:02, Eliot Miranda <eliot.miranda@gmail.com> wrote:
Hi Sven,
On Thu, Nov 13, 2014 at 2:34 PM, Sven Van Caekenberghe <sven@stfx.eu> 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
Hi Eliot, Andreas, Yeah, I did not read all that careful enough, sorry about that. With the limits.d change the VM ran OK with a Pharo 3 image. Great ! $ ./stklinuxhtARM/bin/squeak -vm-display-null Pharo.image eval '1 tinyBenchmarks' '61776061 bytecodes/sec; 3416954 sends/sec' I did not yet test again on a standard Raspberry Pi where I had the libc problem. Thx, Sven
On 14 Nov 2014, at 16:04, Eliot Miranda <eliot.miranda@gmail.com> wrote:
Sven,
do you not see the error message?
pthread_setschedparam failed: Operation not permitted Read e.g. http://www.mirandabanda.org/files/Cog/VM/VM.r3126/README.3126
If you read the read me it will explain what you need to do to get it to work.
Eliot (phone)
On Nov 14, 2014, at 3:00 AM, Sven Van Caekenberghe <sven@stfx.eu> wrote:
On 14 Nov 2014, at 01:02, Eliot Miranda <eliot.miranda@gmail.com> wrote:
Hi Sven,
On Thu, Nov 13, 2014 at 2:34 PM, Sven Van Caekenberghe <sven@stfx.eu> 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
The ARMv7 stack build was compiled on Ubuntu 14.04 on a BeagelBone Black (1GHz ARMv7 Cortex-A8), where I get 55846422 bytecodes/sec; 3457632 sends/sec The ARMv7 build is known to run on other platforms as well including the Parallella (dual core ARMv7 Cortex-A9) running Linaro 14.04 and a Samsung Chromebook (also dual core ARMv7 Cortex-A9). The ARMv6 stack build was compiled on a Raspberry Pi running a fully updated Raspbian 2014-09-09. I havenât tried running this on anything but a Pi. Both builds include the FAST_BLT optimizations. Doug ---- Sven Van Caekenberghe <sven@stfx.eu> wrote:
Hi Eliot, Andreas,
Yeah, I did not read all that careful enough, sorry about that. With the limits.d change the VM ran OK with a Pharo 3 image. Great !
$ ./stklinuxhtARM/bin/squeak -vm-display-null Pharo.image eval '1 tinyBenchmarks' '61776061 bytecodes/sec; 3416954 sends/sec'
I did not yet test again on a standard Raspberry Pi where I had the libc problem.
Thx,
Sven
On 14 Nov 2014, at 16:04, Eliot Miranda <eliot.miranda@gmail.com> wrote:
Sven,
do you not see the error message?
pthread_setschedparam failed: Operation not permitted Read e.g. http://www.mirandabanda.org/files/Cog/VM/VM.r3126/README.3126
If you read the read me it will explain what you need to do to get it to work.
Eliot (phone)
On Nov 14, 2014, at 3:00 AM, Sven Van Caekenberghe <sven@stfx.eu> wrote:
On 14 Nov 2014, at 01:02, Eliot Miranda <eliot.miranda@gmail.com> wrote:
Hi Sven,
On Thu, Nov 13, 2014 at 2:34 PM, Sven Van Caekenberghe <sven@stfx.eu> 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
JB has some jenkins job but I do not know their status. JB? Stef On 13/11/14 23:34, Sven Van Caekenberghe 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 ?
Maybe a complete & easy to use source tree that can be compiled locally ?
And would it make sense to add some ARM option to get.pharo.org ?
Thx,
Sven
I would be interested to know, too. JB did a fine job building a StackVM including an ARM fastbitblt. I have it running on my raspberry. It would good to know how to work of Doug is related to JBs work. And of course we are waiting for Tim Rowledge to release Cog for ARM. Norbert
Am 14.11.2014 um 09:46 schrieb stepharo <stepharo@free.fr>:
JB has some jenkins job but I do not know their status. JB? Stef
On 13/11/14 23:34, Sven Van Caekenberghe 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 ?
Maybe a complete & easy to use source tree that can be compiled locally ?
And would it make sense to add some ARM option to get.pharo.org ?
Thx,
Sven
On 14 Nov 2014, at 10:54, Norbert Hartl <norbert@hartl.name> wrote:
I would be interested to know, too. JB did a fine job building a StackVM including an ARM fastbitblt. I have it running on my raspberry. It would good to know how to work of Doug is related to JBs work. And of course we are waiting for Tim Rowledge to release Cog for ARM.
Me too, I would like to understand the situation. And we need a good place (simple page somewhere) that is maintained and that has instructions on how/where to get an ARM VM.
Norbert
Am 14.11.2014 um 09:46 schrieb stepharo <stepharo@free.fr>:
JB has some jenkins job but I do not know their status. JB? Stef
On 13/11/14 23:34, Sven Van Caekenberghe 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 ?
Maybe a complete & easy to use source tree that can be compiled locally ?
And would it make sense to add some ARM option to get.pharo.org ?
Thx,
Sven
participants (11)
-
Alain Rastoul -
Andreas Wacknitz -
Clément Bera -
Douglas McPherson -
Eliot Miranda -
Esteban A. Maringolo -
Markus Fritsche -
Norbert Hartl -
Sebastian Sastre -
stepharo -
Sven Van Caekenberghe