HP-UX Reference (11i v2 03/08) - 5 Miscellaneous Topics, 7 Device (Special) Files, 9 General Information, Index (vol 9)

t
tcphashsz(5) tcphashsz(5)
(Tunable Kernel Parameters)
NAME
tcphashsz - determines the size of the networking hash tables
VALUES
Failsafe
2048
Default
2048
Allowed values
256 to 65536
Recommended values
2048
Specify as a power of two or it will be rounded down to the nearest power of two.
DESCRIPTION
This variable is used to set the size of the networking hash tables. A system that is going to have a large
number of connections on it all of the time may see some benefit of increasing this value.
This tunable needs to be a power of two. If it is not specified as a power of two, then it is rounded down
to the nearest power of two.
Who Is Expected to Change This Tunable?
Anyone.
Restrictions on Changing
Changes to this tunable take effect at the next reboot.
When Should the Value of This Tunable Be Raised?
This value may be raised in the case of a machine with a large number of connections that last for an
extended period of time.
What Are the Side Effects of Raising the Value?
More memory is used when this value is raised.
When Should the Value of This Tunable Be Lowered?
If a system is tight on memory and it has just a few connections on it, then lowering the value may
reclaim some memory.
What Are the Side Effects of Lowering the Value?
If set too low, the system will have long hash chains which will slow it down.
What Other Tunables Should Be Changed at the Same Time?
None.
WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its
meaning changed in future releases of HP-UX.
AUTHOR
tcphashsz was developed by HP.
Section 5312 Hewlett-Packard Company 1 HP-UX 11i Version 2: August 2003