This manual is a complement to the other manuals and describes how to install, run and maintain Erlang on an embedded system.

For more informaton about how to install and start Erlang read XXXXXXXX.

## Memory Usage

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.

The following start-scripts can be deleted to prevent unnecessary daemons from starting:

/etc/rc2.d/S72autoinstall /etc/rc2.d/S74autofs /etc/rc2.d/S76nscd /etc/rc2.d/S80PRESERVE /etc/rc2.d/S80lp /etc/rc2.d/S88sendmail /etc/rc2.d/S92volmgt /etc/rc2.d/S93cacheos.finish /etc/rc3.d/S15nfs.server

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 /etc/system file.

## Disk Space Usage

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.

## Other Issues

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:

how disabling swapping affects the system how locking processes in memory may yield performance benefits.