*
*
FLORA *
*
node.to *
p2c2e.org *
knot.node.to *
packet.node.to *
vince.node.to *
damao.net *
*
*
*
|
Recommended Kernel Tuning for TRU64 Unix 5.1
v 1.0 ( 2001 01 30 ) by mark
These are settings I have found to work well on high performance Compaq
alpha machines (eg. 4+ gig RAM, 2+ proc).
Some are based on known best values, some on hearsay.
If you want to be anal you can
match your max proc address space and data sizes to be less than the total
vm (swap + physical memory). I just made mine big be because I wasn't worried
about hitting the limit. Anyway, if programs hit that limit (exceed
vm or proc max) the result is the probably the same: crap out.
Insert these values (be sure to include subsys heading) at the end of your
/etc/sysconfigtab file. Reboot.
## ipc is tuned for informix database ##
ipc:
## this is the max shm-max value
shm-max = 2147483647
shm-mni = 2048
shm-seg = 1024
sem-mni = 400
sem-msl = 1600
sem-opm = 400
sem-ume = 400
ssm-threshold = 0
proc:
## increase this if you run many procs rather than many threads
max-proc-per-user = 1024
## i recommend 512->1024 users per CPU for network servers
## this value is used as a base to generate others
## such as max file descriptors
maxusers = 2048
## set high to accommodate heavily threaded database
max-threads-per-user = 4096
## 8 gigs -- will your process stack be bigger? unlikely!
per-proc-stack-size = 8589934592
max-per-proc-stack-size = 8589934592
## 1 terabyte
per-proc-data-size = 1099511627776
max-per-proc-data-size = 1099511627776
per-proc-address-space = 1099511627776
max-per-proc-address-size = 1099511627776
## tuning for raw disk access by database
rt:
aio_max_percent = 3
aio_task_max_num = 60108
aio_listio_max_num = 256
sigqueue_max_num = 256
## boosted socket connection
socket:
## increase TCP connection listen queue size
somaxconn = 65535
sominconn = 65535
## increase (to 4 meg) size of socket buffer
sb_max = 4194304
## more network tuning
inet:
## maximum number of ip input queues
ipqs = 16
## number of tcp hash tables
tcbhashnum = 16
## max tcp segment size
tcp_mssdflt = 1460
## send and receive spaces (set to max)
tcp_recvspace = 61440
tcp_sendspace = 61440
Compaq's guide to system performance and tuning for
version OSF1 v5.1
You can check your current values by running:
sysconfig -q (subsys) (variable)
ie.: sysconfig -q inet ipqs
|
 |
|
 |
|