This topic discusses how to limit or increase the UnixWare resources available for NetWare Services. It also describes how to manage engines, configure shared memory size, limit error log file size, and set packet burst limits.
NetWare Services servers refer to certain processes as NCP engines. NCP engines are often considered the workhorses of NetWare Services servers and are responsible for initial processing of all client requests.
NetWare Services requires a minimum of two engines running at all times. The more work you require of your system, the more engines you will need to start.
Adding too many engines, however, may decrease performance. So generally, you need two engines per CPU.
Running more engines requires more RAM. (See ``Hardware requirements''.) After the NetWare server has booted, engines can be increased or decreased using the nwengine(1Mnws) utility. The number should be increased if the nxinfo(1Mnws) utility reports an excessive number of packets dropped because of server activity.
To prevent NetWare from using too many resources, you can limit the number of engines that can be started after boot time.
You can specify the number of NCP engines to start by using ``Number of NCP Engines to Start'' and ``Maximum Number of NCP Engines''. To specify how many engines to start automatically when the NetWare server process is started, see ``Tuning your server''.
Shared memory is divided into pools and is controlled by internal locking mechanisms. Connections tables, data structures, trustee databases, NetWare server information, and volume table information are all data that shared memory uses.
If you use Packet Burst, add more connections, volumes, trustee assignments, and so on, you should increase the shared memory size.
See the ``Shared Memory Size'' variable in ``Tuning your server'' to configure shared memory.
Any errors your server experiences are saved to the error log file, SYS$LOG.ERR. You can change the size of this log depending upon how many messages you want to store in this file. Make sure you monitor this file because if messages come in and the file is full, messages are saved to a backup (SYS$LOG.OLD) and a new file, SYS$LOG.ERR, is created. Only one SYS$LOG.ERR.OLD is maintained.
See ``Error Log File Size'' in ``Tuning your server'' to change the size of your error log file.
Packet Burst is a protocol built on top of IPX that speeds multiple-packet NCP reads and writes of files.
This protocol speeds the transfer of NCP data between a workstation and a NetWare server by eliminating the need to sequence and acknowledge each packet.
Packet Burst protocol is more efficient than the one-request/one-response protocol in earlier NetWare versions. With this protocol, the server or workstation can send a whole set (burst) of packets before it requires an acknowledgement.
By allowing multiple packets to be acknowledged, Packet Burst reduces network traffic.
It also monitors dropped packets and retransmits only the missing packets.
A client must negotiate the use of Packet Burst with a server before using it.
See ``Enable Packet Burst?'' and ``Packet Burst Buffer Size'' in ``Tuning your server'' to configure Packet Burst.
Use the following procedure to tune your system.
The following list describes the prerequesites:
The ``System Tunables'' window appears.
You can use the
nwengine(1Mnws)
utility at the command line to start and stop engines while
NetWare Services is running. To change the number
of engines, type
nwengine number
Replace number with the new number of NCP engines you want running. The nwengine command determines the difference between the total number of NCP engines requested and those already running.
For example, if you have four NCP engines
already running and you want to add three
more engines, type the following command:
nwengine 7
Three more NCP engines will be started.
To reduce the number of NCP engines from
seven to five (thus stopping two NCP engines),
type
nwengine 5
You cannot decrease the number of engines below two. This is the minimum number of engines required to run NetWare Services.
Use the nxinfo(1Mnws) command at the UnixWare command line to get a report on client connections. The report provides two pieces of information important to managing the number of engines you want active:
If a large number of packets is dropped because a server message indicates that the server is busy, you may need to add another engine. Adding too many engines, however, may decrease performance.