Using timesten in a memory window, Address space considerations – Oracle Audio Technologies B31679-01 User Manual
Page 63
TimesTen Installation
55
command to determine which port is being used by the
instance.
Using TimesTen in a memory window
In order to use a TimesTen instance running in a memory window, you
must launch your application using the HP-UX
setmemwindow(1M)
command.
For example, given instance
tt_ins1
, use:
% setmemwindow -j -i `getmemwindow tt_ins1`
TimesTen utilities are used without the
setmemwindow
command, for
example:
% ttBackup ...
Address Space Considerations
The maximum size for any one data store remains 1GB with 32-bit
TimesTen.
TimesTen allocates a single shared memory segment per data store.
TimesTen may also allocate shared memory segments when configured
to use the shared memory IPC mechanism for client/server.
The daemon and utility programs (programs) provided by TimesTen are
linked with
EXEC_MAGIC
, using the
-N
option to
ld(1)
. You may
change the TimesTen programs to be marked
SHMEM_MAGIC
, enabling
2GB of shared memory within the window. Any single data store is still
limited to 1GB.
For example, to use
SHMEM_MAGIC
, log in as root and use:
# chatr -M tt_instance/bin/timesten* tt_instance/bin/*Cmd
tt_instance/bin/ttcserver
To return to EXEC_MAGIC, use:
# chatr -N tt_instance/bin/timesten* tt_instance/
bin/
*Cmd tt_instance/bin/ttcserver
To determine if a program is SHMEM_MAGIC or EXEC_MAGIC, use
# chatr binary
The
chatr(1M)
command prints “normal executable” for
EXEC MAGIC
programs. It prints “SHMEM_MAGIC” for programs so marked.
Note: If the TimesTen programs are marked
SHMEM_MAGIC
, the user
application must be marked
SHMEM_MAGIC
also. Failure to mark the