[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community • View topic - Interest?
Page 3 of 3

Re: Interest?

PostPosted: Tue Sep 03, 2013 10:16 pm
by Greg Zuro
Is there some concept of the support that there will be for Erlang (Elixir!) on this board?

I have Erlang running easily on the Zedboard, so expect that it will run fine on the ARM in this board, so how might Erlang practicaly extend to the Epiphany portion?

Cheers,
Greg

Re: Interest?

PostPosted: Wed Jan 22, 2014 4:49 pm
by sr-ix
While I'm still waiting on my board, I've been working with Erlang little over a year now (started from a previous job in VoIP/telephony) and went through the very awesome training from Erlang Solutions by Robert Virding.

Re: Interest?

PostPosted: Wed Feb 05, 2014 7:05 pm
by shr
The distribution already runs on the Parallella board though one has to implement Epiphany functionality in C/C++/OpenCL. I think that 2MB is the practical lower limit to run the current Erlang VM so running a VM on each node wouldn't work with the current Epiphany chips.

Perhaps the VM could be factored into pieces that work on the Epiphany. The is working to scale Erlang to thousands of distributed cores and some of this work may be applicable to Epiphany.

Re: Interest?

PostPosted: Wed Feb 05, 2014 8:26 pm
by alexrp
The trick to porting something like Erlang to Epiphany is to run most of the VM on the host CPU and only the actual bytecode interpretation as a small C executable on the accelerator side. The host then uses the various core reset functionality to swap out processes as it sees fit.

And the problem with the above is that this is not how the current Erlang VM works at all. :(

Re: Interest?

PostPosted: Thu Feb 06, 2014 2:46 am
by shr
So, how hard would it be to factor the byte code interpreter out of the VM as a whole? How big might it be?

Re: Interest?

PostPosted: Thu Feb 06, 2014 9:54 am
by greytery
Running compute intensive code on an interpreted layer on a coprocessor does seem to be a v. inefficient approach, by definition. I think that supports the point of trying to run the Erlang VM on the ARM, and only a v.small subset on the Epiphany - IF AT ALL!

As said above, Erlang processes can make calls to C/C++ routines, and sometimes that's the best way.
For example, I'm thinking about Wings 3D (Erlang) and how it accelerates some of its graphics calcs (C++, OpenGL). That is, it keeps a healthy distinction between the main program body running on general purpose X86, and making best use of the co-processor (i.e the graphics card).

So instead of trying to run a cut-down VM on each core, why not concentrate on ensuring that there are efficient mechanisms and interfaces to invoke Epiphany routines? Methinks it would be simpler than gutting the VM and deliver immediate value.

Use Erlang for what it does best (e.g. distributed scalability and resilient computing) and the Epiphany (or any other coprocessor) for what it does best.

I have - sorry, have ordered - two boards, and one project I have in mind is to run Erlang on my Windows PCs AND on the Parallellas, so distributing the processes across my Gigabyte network. Only the processes that required specific acceleration would need to run on the Parallellas.

(Edit) Gigabit. I Wish!

Re: Interest?

PostPosted: Thu Feb 06, 2014 10:32 pm
by shr
The practicality of running interpreted code on the Epiphany depends upon how much work each interpreted insturction does. If the instruction is 'A + B' where A and B are large matrices it can look quite practical. As things stand now using Erlang on the ARM cores for high level coordination and control and calling C/C++/OpenCL computational kernels on the Epiphany for specicalized tasks is best.

Re: Interest?

PostPosted: Sat Feb 08, 2014 3:29 am
by alexrp

Re: Interest?

PostPosted: Mon Feb 10, 2014 5:20 am
by Greg Zuro

Re: Interest?

PostPosted: Tue Feb 11, 2014 4:50 pm
by shr
The Xen effort doesn't look applicable for Parallella to me. It's more about removing the traditioal OS and running Erlang directly on the Xen hypervisor. looks like a good starting point perhaps treating the Epiphany as a collection of virtual devices.