tcl.config.core

Menu/TCL, Releases: AP/Unix and AP 6.0

Configures Pick memory usage.

Syntax

config core {vmname}

Description

command enters the Update processor to show memory usage of the specified virtual machine.
The following elements are edited:

'Core Size (K)'

This is the size in Kilobytes allocated to the Pick shared memory segment. The size of this segment is critical for performance. Roughly, the higher, the better. This number has to be balanced, however, with the requirements of Unix itself, any other Unix applications running on the system and the physical memory available. The objective is to avoid paging, both from Pick and from Unix. The Pick 'buffers' command will show low 'available' buffers when the core size is too small, and the Unix command 'sar' will show high paging activity when this number is too high. If it is impossible to find a compromise, the physical memory (RAM) is probably insufficient. After changing this argument, it is necessary to shut down Pick and bring Unix to single user mode.

'Key'
This number, in hexadecimal, must be unique on the system. Its actual value does not matter. It is an identifier of the virtual machine, as seen by other Pick virtual machines or Unix applications. Use the Unix command 'ipcs' to determine keys currently used.

'Shared BASIC size (K)'
This optional field is the size in kilobytes allocated to contain the most frequently used FlashBASIC programs. The TCL command 'shpstat' shows the usage of this area. Locked and/or sharable, FlashBASIC object code is created by the TCL 'compile' verb.

Example

Core size (K) 16300
Key (hex) 10
Shared BASIC size (K) 1024

See Also

Command Name Type Description
tcl.buffers Verb: Access Displays virtual memory buffer status.
tcl.shpstat Verb: Access Manipulates shared program status.
tcl.compile Verb: Access Compiles with upper/lower case insensitivity.
flash.basic Definition converts Pick/BASIC source code into a list of binary instructions called object code.
basic.performance Definition General Performance Tips for the Interpreter or FlashBASIC.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.