Re: [riot-devel] New IPC API status

2015-01-26 Thread Martine Lenders
Hi

2015-01-24 9:49 GMT+01:00 Adam Hunt :

> If memory serves there were a number of potential features that were on
> the back burner until RIOT's new IPC API was finalized (e.g.
> filesystem/VFS, and maybe ELF loading).


Just for clarification: FS would just be simplified by multiple IPC
endpoints per thread (as was also intended by the "new" IPC API), since an
easy mapping file descriptor == IPC endpoint is the most logical thing to
do. With some extra overhead an alternative would be possible to, but not
as beautiful ;-).
However, as far as I understood Kaspar's intend, multiple IPC endpoints per
thread is still on the.

Cheers,
Martine
___
devel mailing list
devel@riot-os.org
http://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] New IPC API status

2015-01-26 Thread Kaspar Schleiser

Hi Adam,

On 01/24/2015 09:49 AM, Adam Hunt wrote:

filesystem/VFS, and maybe ELF loading). Back in November Kaspar
concluded that the approach he had been working on wasn't the correct
way forward and closed the PR.[1] I was wondering, is any further API
work was being done outside the view of the mailing list was being done
on the IPC or was it decided that the current implementation was deemed
good enough for now?


I've done a lot of research on this, with the intention of getting it 
right. My findings so far:


1. the old messaging, as simple as it is, is also very efficient, both 
cyle and memory wise


2. message queues get inefficient when using non fixed-size small messages

I'm currently at my fifth implementation (I've tried different ways to 
implement this), but I fear that the initial idea of having messages 
larger than msg_t will come with a compromise in rom/ram/cyle usage, 
which might be unacceptable.


Stay tuned. ;)

Kaspar
___
devel mailing list
devel@riot-os.org
http://lists.riot-os.org/mailman/listinfo/devel


[riot-devel] New IPC API status

2015-01-24 Thread Adam Hunt
If memory serves there were a number of potential features that were on the
back burner until RIOT's new IPC API was finalized (e.g. filesystem/VFS,
and maybe ELF loading). Back in November Kaspar concluded that the approach
he had been working on wasn't the correct way forward and closed the PR.[1]
I was wondering, is any further API work was being done outside the view of
the mailing list was being done on the IPC or was it decided that the
current implementation was deemed good enough for now?

Thanks,

Adam

[1] https://github.com/RIOT-OS/RIOT/pull/1890
___
devel mailing list
devel@riot-os.org
http://lists.riot-os.org/mailman/listinfo/devel