01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

KTUNE(7)<br />

nclist<br />

npbuf<br />

ncall<br />

nttyhog<br />

kern=<br />

KTUNE(7)<br />

Number of clist buffers available. These buffers are used<br />

mostly by character device drivers for terminal 110 operations.<br />

Range: 32 up to system capacity.<br />

Number of buffer headers available in the raw IIO pool of<br />

headers.<br />

Range: 4 up to system capacity.<br />

Number of callouts allowed in the kernel. When a process<br />

must be sure that it is awakened after a specific period of<br />

time, it calls the kernel timeout routine with a specified<br />

amount of time. The timeout routine places an entry in the<br />

callout table. ncall specifies the number of entries in the<br />

callout table.<br />

Range: 16 up to system capacity.<br />

Maximum number of characters outstanding in the tty<br />

buffer for a given port before the system will flush that<br />

port's queue. If this value is set to 0, the system will no<br />

longer check for the maximum characters outstanding in<br />

the buffers. The ttyhog option keeps one port from using<br />

all the clist buffers, ensuring that each port has enough<br />

buffer space.<br />

Range: 0 up to 1024<br />

If an argument 'kern=filename' is present, the program<br />

modifies file 'filename' instead of /unix.<br />

ktune commands that list only some of the parameters cause only those<br />

parameters to change. An argument consisting of a dash (-) is taken to<br />

be a file name corresponding to the standard input. The options may<br />

appear in any order but must appear before the files.<br />

The -d flag lists each parameter and the value which the kernel is<br />

currently using. Note that this might be different than the setting on the<br />

actual file on disk. Each parameter appears on a separate line, with the<br />

value preceded by a keyword (i.e., ninode=200). Input lists that list only<br />

some of the parameters cause only those parameters to change. This<br />

option displays the actual settings in use for the running kernel (not the<br />

settings stored on the disk). These settings may be lower than the disk<br />

settings due to small memory size.<br />

The -r option resets parameters to their default values as specified in the<br />

/etc/master file.<br />

There is a table called 'tuhi' which resides in the kernel. Tuning is<br />

accomplished by changing the parameters in this table on the disk, and<br />

requires the user to reboot.<br />

All input parameters are checked against a set of minimum parameters.<br />

Any input with an error on any parameter results in no changes to any<br />

parameters. Input lists containing a value that violates these minimums<br />

result in no changes, and an error return.<br />

The kernel boot routine is modified to provide for sanity checking on<br />

boot up to insure that enough memory is present for the values specified,<br />

and that the kernel virtual memory addressing limits are not violated. If<br />

the memory found is too small for the values in 'tuhi', the values in core<br />

(not on the disk) are adjusted downward until the resulting kernel runs on<br />

-2-

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!