[Dev] [Crosswalk-dev] [Intent to implement] Crosswalk uses Dual process model on Tizen

Tomasz Iwanek t.iwanek at samsung.com
Wed Dec 10 13:42:36 GMT 2014


Hello,

Due to security mechanisms on tizen enable/disable dual process is not an
option, I think, as different process model requires much different
handling.

Other question.
Applying this architecture increases memory usage by web applications (BP
per each app).
Has anyone thought of memory usage? Or is it not an issue that should be
considered?

Regards,
Tomasz Iwanek

-----Original Message-----
From: Dev [mailto:dev-bounces at lists.tizen.org] On Behalf Of Pozdnyakov,
Mikhail
Sent: Wednesday, December 10, 2014 9:26 AM
To: Hur, Joone; crosswalk-dev at lists.crosswalk-project.org
Cc: dev at lists.tizen.org
Subject: Re: [Dev] [Crosswalk-dev] [Intent to implement] Crosswalk uses Dual
process model on Tizen

which options would you like to see?

BR,
Mikhail

________________________________________
From: Hur, Joone
Sent: Wednesday, December 10, 2014 5:19 AM
To: Pozdnyakov, Mikhail; crosswalk-dev at lists.crosswalk-project.org
Cc: dev at lists.tizen.org
Subject: RE: [Crosswalk-dev] [Intent to implement] Crosswalk uses Dual
process  model on Tizen

Will you allow us to enable/disable the dual process mode?

-----Original Message-----
From: Crosswalk-dev
[mailto:crosswalk-dev-bounces at lists.crosswalk-project.org] On Behalf Of
Pozdnyakov, Mikhail
Sent: Monday, December 08, 2014 5:08 AM
To: crosswalk-dev at lists.crosswalk-project.org
Cc: dev at lists.tizen.org
Subject: [Crosswalk-dev] [Intent to implement] Crosswalk uses Dual process
model on Tizen

Hi,

Description:

The Dual process model is a process model where each application run
contains two processes:
The first process includes Browser process (BP),  GPU process (GP) and
Extension process (EP) The second process is Renderer process (RP) and it
runs in Seccomp sandbox

Rational:

At the moment Crosswalk on Tizen is using Shared process model (sharing BP
between all the apps) this however creates the following problems:

(1) the diversity from Crosswalk implementations on other platforms
(2) great complexity (BP has to do a lot of extra stuff to handle multiple
apps + we've a dbus launcher) and hence
(3) more bugs (because of more complexity).

All these significantly increase the development and maintenance costs (the
recent efforts on enabling of Tizen platform security mechanisms in
Crosswalk is a good example of how having the Shared process model caused a
lot of troubles)

Affected components:
Crosswalk on Tizen, Crosswalk application tools (xwalk launcher, xwalkctl)

This change will apparently modify also the Tizen Crosswalk command line
interface  (for example remote debugging cmd line options) whereas xwalk
binary will be invoked directly.

Target platform: Tizen

Implementation plan:
1) Add the Tizen appcore-related logic and other functionality from
xwalk-launcher to BP
2) Make the necessary modifications in Tizen so that it does not rely on the
Shared process model any more (e.g. launches xwalk instead of
xwalk-launcher)
3) Merge EP and GP into BP -- make it Dual process model
4) Clean up tons of unused code, including removal of xwalk-launcher (yay!)

BR,
Mikhail
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki Business Identity Code: 0357606 -
4 Domiciled in Helsinki

This e-mail and any attachments may contain confidential material for the
sole use of the intended recipient(s). Any review or distribution by others
is strictly prohibited. If you are not the intended recipient, please
contact the sender and delete all copies.

_______________________________________________
Crosswalk-dev mailing list
Crosswalk-dev at lists.crosswalk-project.org
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki Business Identity Code: 0357606 -
4 Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for the
sole use of the intended recipient(s). Any review or distribution by others
is strictly prohibited. If you are not the intended recipient, please
contact the sender and delete all copies.

_______________________________________________
Dev mailing list
Dev at lists.tizen.org
https://lists.tizen.org/listinfo/dev



More information about the Dev mailing list