Chapter Contents |
Previous |
Next |
SAS/SHARE User's Guide |
sas sas-input-file server-config-file
where
Include the SAS command in a start-up script so that the server is created at machine start-up. Doing so ensures that the server is running whenever a client needs it.
Setting SAS System Performance Options |
These options affect the operation of the server.
For SAS/SHARE, setting the value of the BUFNO= option too high may hurt performance by using too much memory because SAS/SHARE may be accessing multiple files at once.
The maximum number of buffers you can allocate is determined by the amount of memory available. See All Hosts: Setting SAS System Performance Options for more information about the BUFNO= option.
For SAS/SHARE, setting the value of the BUFSIZE= option too high may hurt performance by using too much memory because SAS/SHARE may be accessing multiple files at once.
If you use the default value 0 when you create a SAS data set, the V7 engine calculates a buffer size to optimize CPU and I/O use. This size is the smallest multiple of 8K that can hold 80 observations but is not larger than 64K.
See All Hosts: Setting SAS System Performance Options for more information about the BUFSIZE= option.
The values for FILELOCKS are
For file locking to work on some hosts, you must have the host's file locking service running. This usually involves having a lock daemon (such as lockd) and a stat daemon (such as statd) running. You may also need to execute other commands. For details, see the manual pages or system administration instructions.
In addition, if you are working with NFS-mounted files, the file locking service must be running both on your client and on the server.
The server should be allowed a large amount of memory in order to accommodate the needs of all its users. The number of concurrent SAS files open by server users and the number and size of I/O buffers for each SAS file have a direct impact on the amount of memory required by the server. You should be aware that, in some cases, SAS terminates abnormally when it is unable to satisfy a memory request.
The MEMSIZE= option takes the following values:
Note: The default may be larger on some
machines.
Note: The overhead that is incurred by the UNBUFLOG option
may degrade the performance of a busy server.
A typical SAS configuration file follows:
-bufno 1 -bufsize 0 -filelocks fail -memsize 32M -unbuflog
See SAS Companion for UNIX Environments for more information about these SAS system options.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.