This appendix describes the memory requirements of the Calendar Server. These requirements can be broken down into two categories: database disk space requirements and run-time requirements involving virtual memory and swap space.
The Calendar Server performance is influenced by the configuration of disks. To enhance the performance of the Calendar Server, it is recommended that it be allocated its own disk (/users/unison). Further enhancements can be obtained by devoting, at a minimum, another disk for permanent user data (/users/unison/db/nodes) and temporary user data (/users/unison/db/tmp).
The Calendar Server users, or items, are termed either local or remote with respect to a server. An item is only local with respect to the server on which it was first created. A directory entry, whether for a local user or a remote user, takes 2K bytes of disk space. We describe the disk space requirements of a local item. The disk space requirements of a remote item are considerably less, although the exact figure will depend on the usage of Corporate-Wide Services. The yearly disk space requirements of a local item can be estimated using the following:
Using these parameters, the following formula determines disk space, in bytes, attributed to a local item on a yearly basis:
disk-space = 1631 +
GROUPS_ITEM * (335 + (ITEMS_GROUP * 63))) +
Consider the following example:
disk-space = 1631 +
One final note concerning disk-space; each active Calendar Server user has temporary data files, located in /users/unison/db/tmp, whose combined sizes should not exceed 450K bytes.
The Calendar Server run-time environment consists of five (5) UNIX daemons / multi-threaded Windows NT services: Calendar Lock Manager (unilckd), Calendar Engine (uniengd), Calendar Synchronous Network Connections (unisncd), Calendar Corporate-Wide Services (unicwsd) and Calendar Directory Access Server (unidasd), as well as a uniengd server for each active user. At startup, with no connections, a total of 5MB RAM is used by the five daemons/services. Each connection requires 500KB RAM for a Calendar Engine server / thread to service that client's requests. The maximum number of concurrent Calendar Server users is set for an installation by the lck_users parameter, and the number of persistent connections to the Directory Server is set by the numconnect parameter in the /users/unison/misc/unison.ini file. Thus, the formula to calculate RAM requirements would be: