> >
> > Why would you run an ODP application with multiple separate processes as
> > opposed to just a multithreaded process? There's so much shared state in
> > ODP so how much robustness does multiprocessing actually give you?
> 
> Is all depended on how effective is the underlying IPC mechanism. One
> possible implementation could  be using mmap for sharing the data and use
> hw
> scheduler to pass the message between cores. Making it as multi process
> will improve the stability of the system as even if a process dies in the
> system
> it can continues work on. So it an application choice.

E.g. if shared data is read only for workers (i.e. updated only through control 
plane), you could build an ODP app that can handle process restarts.

Multiple processes bring complexity to the memory mapping and init/startup 
phase (at least), but we cannot rule it out, since there'll be users / use 
cases that demand it.

I think DKDP supports multiple separate processes.

-Petri



_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to