Taeyoung Kim

it is certainly something that would be useful for Tizen.
Likely that time of feature should be linked with a Watchdog service where services can register a request to be controlled.
(e.g. service xxxx, will send a hart beat every 30s).

The challenge is to define the policy of what to restart, what to kill when to force reboot.
That type of configuration should not be done by code and cannot be static.

Could you please, create a Wiki page with your proposition and report on this mailing list where you are ready to share your design ?

Regards

Dominig ar Foll
Senior Software Architect
Open Source Technology Centre
Intel SSG

Le 02/12/2014 09:21, 김태영 a écrit :
Samsung Enterprise Portal mySingle

Hello? I'm Taeyoung Kim.

We know that Tizen should have a module who handles system resources
such as system memory and netwrok traffic. Thus I want to suggest
the resource daemon (resourced) to handle these kinds of resources.

The followings are the main features of resourced.

1) Memory management
  - resourced monitors memory status of system.
- If available memory size is low, resourced notices the situation for applications to release memory not used, or swaps out compressed pages of background processes to RAM (zram). - If available memory size is very low so that the system would not be stable (in case of OOM), resourced terminates some applications to secure available memory size for the system stability. - Memory cgroup is used for the memory management. All processes are grouped according to the state of the processes (foreground, background, and swapped processes). The states of the processes are used as a criterion for the swapping out and terminating processes.

**

2) Network monitoring
  - resourced monitors network usages of applications.
- Network usages for all applications are accounted and shows the usages to Users
  - Users can restrict their network usages not to cost a bomb.
- Users and ISPs can allow to use network for just a few application which they want.
    (ex. Map service during roaming, Messages for emergency situation)
- net_cls cgroup is used to categorize processes as a same service, and netfilter is used for the network monitoring and accounting. The data traffic is restricted by iptables
    with cgroup extention.

resourced will use the git path: platform/core/system/resourced
If you have any opinions or questions, Let me know.


Thank you.

- Taeyoung Kim -

Taeyoung, Kim*|*SW Engineer

System S/W Lab./ S/W Platform Team

Software R&D Center

*SAMSUNG ELECTRONICS CO., LTD.*

* Mobile*+82.10.5133.9902

* E_mail*[email protected]



_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to