

1) The following lines were added to the /etc/system file:

set msgsys:msginfo_msgmax=5376000
set msgsys:msginfo_msgmnb=7168000
set msgsys:msginfo_msgmni=3072
set msgsys:msginfo_msgtql=2048
set semsys:seminfo_semusz=1024
set semsys:seminfo_semvmx=32767
set semsys:seminfo_semaem=16384
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmni=500
set shmsys:shminfo_shmseg=100
set semsys:seminfo_semmsl=2000
set semsys:seminfo_semopm=100
set semsys:seminfo_semmap=5024
set semsys:seminfo_semmni=5024
set semsys:seminfo_semmns=5048
set semsys:seminfo_semmnu=1024
set semsys:seminfo_semume=128
set pt_cnt=1024
set rlim_fd_max=8192
set rlim_fd_cur=8192
set tcp:tcp_conn_hash_size=32768
set ce:ce_bcopy_thresh=256
set ce:ce_dvma_thresh=256
set ce:ce_taskq_disable=1
set ce:ce_ring_size=256
set ce:ce_comp_ring_size=1024
set ce:ce_tx_ring_size=4096
set autoup=900
set tune_t_fsflushr=1



2) the following ndd command were issued as root before the runs:

/usr/sbin/ndd -set /dev/tcp tcp_time_wait_interval 60000
/usr/sbin/ndd -set /dev/tcp tcp_conn_req_max_q 16384
/usr/sbin/ndd -set /dev/tcp tcp_conn_req_max_q0 16384
/usr/sbin/ndd -set /dev/tcp tcp_ip_abort_interval 60000
/usr/sbin/ndd -set /dev/tcp tcp_keepalive_interval 7200000
/usr/sbin/ndd -set /dev/tcp tcp_rexmit_interval_initial 4000
/usr/sbin/ndd -set /dev/tcp tcp_rexmit_interval_max 10000
/usr/sbin/ndd -set /dev/tcp tcp_rexmit_interval_min 3000
/usr/sbin/ndd -set /dev/tcp tcp_smallest_anon_port 32768
/usr/sbin/ndd -set /dev/tcp tcp_xmit_hiwat 131072
/usr/sbin/ndd -set /dev/tcp tcp_recv_hiwat 131072
/usr/sbin/ndd -set /dev/tcp tcp_naglim_def 1
/usr/sbin/ndd -set /dev/ce instance ce0
/usr/sbin/ndd -set /dev/ce rx_intr_time 32
/usr/sbin/ndd -set /dev/ce instance ce1
/usr/sbin/ndd -set /dev/ce rx_intr_time 32



3) dispatch tables were modified using following script:


#!/bin/csh

prtmodified()
{
cat <<!
# Database Time Sharing Dispatcher Configuration
RES=1000

# ts_quantum  ts_tqexp  ts_slpret  ts_maxwait ts_lwait  PRIORITY LEVEL
       400         0         1           2        40        #     0
       380         0         2           2        40        #     1
       380         1         3           2        40        #     2
       380         1         4           2        40        #     3
       380         2         5           2        40        #     4
       380         2         6           2        40        #     5
       380         3         7           2        40        #     6
       380         3         8           2        40        #     7
       380         4         9           2        40        #     8
       380         4        10           2        40        #     9
       380         5        11           2        40        #    10
       380         5        12           2        40        #    11
       380         6        13           2        40        #    12
       380         6        14           2        40        #    13
       380         7        15           2        40        #    14
       380         7        16           2        40        #    15
       380         8        17           2        40        #    16
       380         8        18           2        40        #    17
       380         9        19           2        40        #    18
       380         9        20           2        40        #    19
       360        10        21           2        40        #    20
       360        11        22           2        40        #    21
       360        12        23           2        40        #    22
       360        13        24           2        40        #    23
       360        14        25           2        40        #    24
       360        15        26           2        40        #    25
       360        16        27           2        40        #    26
       360        17        28           2        40        #    27
       360        18        29           2        40        #    28
       360        19        30           2        40        #    29
       360        20        31           2        40        #    30
       360        21        32           2        40        #    31
       360        22        33           2        40        #    32
       360        23        34           2        40        #    33
       360        24        35           2        40        #    34
       360        25        36           2        40        #    35
       360        26        37           2        40        #    36
       360        27        38           2        40        #    37
       360        28        39           2        40        #    38
       360        29        40           2        40        #    39
       360        30        41           2        41        #    40
       340        31        42           2        42        #    41
       340        32        43           2        43        #    42
       340        33        44           2        44        #    43
       340        34        45           2        45        #    44
       340        35        46           2        46        #    45
       340        36        47           2        47        #    46
       340        37        48           2        48        #    47
       340        38        49           2        49        #    48
       340        39        50           2        50        #    49
       340        40        51           2        51        #    50
       340        41        52           2        52        #    51
       340        42        53           2        53        #    52
       340        43        54           2        54        #    53
       340        44        55           2        55        #    54
       340        45        56           2        56        #    55
       340        46        57           2        57        #    56
       340        47        58           2        58        #    57
       340        48        58           2        58        #    58
       300        59        59           2        59        #    59
!

}
prtmodified >/tmp/disp.modified
/usr/sbin/dispadmin -c TS -s /tmp/disp.modified
set PIDS=`ps -ef | grep java | grep -v grep | awk '{ print $2 }'`
foreach i ($PIDS)
  /usr/bin/priocntl -s -c TS -m 59 -p 59 -i pid $i
end

