1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
<?xml version="1.0" encoding="latin1" ?>
<!DOCTYPE chapter SYSTEM "chapter.dtd">
<chapter>
<header>
<copyright>
<year>1997</year>
<year>2007</year>
<holder>Ericsson AB, All Rights Reserved</holder>
</copyright>
<legalnotice>
The contents of this file are subject to the Erlang Public License,
Version 1.1, (the "License"); you may not use this file except in
compliance with the License. You should have received a copy of the
Erlang Public License along with this software. If not, it can be
retrieved online at http://www.erlang.org/.
Software distributed under the License is distributed on an "AS IS"
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
the License for the specific language governing rights and limitations
under the License.
The Initial Developer of the Original Code is Ericsson AB.
</legalnotice>
<title>Erlang on embedded systems</title>
<prepared>Fredrik Tillman</prepared>
<responsible></responsible>
<docno>ETX/B/SFP/TILLMAN:96-001</docno>
<approved></approved>
<checked></checked>
<date>1997-11-12</date>
<rev>PA1</rev>
<file>intro.sgml</file>
</header>
<p>This manual is a complement to the other manuals and describes how
to install, run and maintain Erlang on an embedded system.
</p>
<p>For more informaton about how to install and start Erlang read
XXXXXXXX.
</p>
<section>
<title>Memory Usage</title>
<p>Solaris takes about 17 Mbyte of RAM on a system with 64 Mbyte of
total RAM. This leaves about 47 Mbyte for the applications. If
the system utilizes swapping, these figures cannot be improved
because unnecessary daemon processes are swapped out. However,
if swapping is disabled, or if the swap space is a precious
resource in the system, it becomes necessary to kill off
unnecessary daemon processes.
</p>
<p>The following start-scripts can be deleted to
prevent unnecessary daemons from starting:
</p>
<list type="bulleted">
<item><c>/etc/rc2.d/S72autoinstall</c></item>
<item><c>/etc/rc2.d/S74autofs</c></item>
<item><c>/etc/rc2.d/S76nscd</c></item>
<item><c>/etc/rc2.d/S80PRESERVE</c></item>
<item><c>/etc/rc2.d/S80lp</c></item>
<item><c>/etc/rc2.d/S88sendmail</c></item>
<item><c>/etc/rc2.d/S92volmgt</c></item>
<item><c>/etc/rc2.d/S93cacheos.finish</c></item>
<item><c>/etc/rc3.d/S15nfs.server</c></item>
</list>
<p>More information is expected from Sun on how to modify the
kernel in order to reduce the memory consumption. This will be
performed by modifying the <c>/etc/system</c> file.</p>
</section>
<section>
<title>Disk Space Usage</title>
<p>The disk space required by Solaris can be minimized by using the
Core User support installation. It requires about 80 Mbyte of
disk space. This installs only the minimum software required to
boot and run Solaris. The disk space can be further reduced by
deleting unnecessary individual files. However, unless disk
space is a critical resource the effort required and the risks
involved may not be justified.</p>
</section>
<section>
<title>Other Issues</title>
<p>Future releases of OTP will include more information on how
Solaris can be configured for use with embedded systems to get
maximum performance. Issues which will be investigated include:
</p>
<list type="bulleted">
<item>how disabling swapping affects the system</item>
<item>how locking processes in memory may yield performance benefits.</item>
</list>
</section>
</chapter>
|