IBM Sterling Connect:Direct : Performance on AIX: Difference between revisions

From Wiki
Line 18: Line 18:


Tuning for Performance
Tuning for Performance
{| class="wikitable"
|-
! Adapter/MTU !! tcp_sendspace !! tcp_recvspace !! udp_sendspace !! udp_recvspace !! rfc1323 !! Comments
|-
| 1G/1500 || 131072 || 65536 || - || - || 0 || -
|-
| 1G/9000 || 262144 || 131072 || 65536 || 655360 || 1 || -
|-
| 10G/1500 || 262144 || 262144 || 65536 || 655360 || 1 || -
|-
| 10G/9000 || 262144 || 262144 || 65536 || 655360 || 1 || -
|}
Sample commands:


   /usr/sbin/no -o udp_sendspace=65536
   /usr/sbin/no -o udp_sendspace=65536
   /usr/sbin/no -o udp_recvspace=655360
   /usr/sbin/no -o udp_recvspace=655360
   /usr/sbin/no -o tcp_sendspace=65536
   /usr/sbin/no -o tcp_sendspace=262144
   /usr/sbin/no -o tcp_recvspace=65536
   /usr/sbin/no -o tcp_recvspace=262144
   /usr/sbin/no -o rfc1323=1
   /usr/sbin/no -o rfc1323=1
   /usr/sbin/no -o sb_max=4194304
   /usr/sbin/no -o sb_max=4194304

Revision as of 12:09, 26 September 2022

Currently in DRAFT!!!

AIX Tuning

Networking

Check the current values of the network tuning parameters:

no -a | more

or

ifconfig en0
en0:
...
        tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0


Tuning for Performance

Adapter/MTU tcp_sendspace tcp_recvspace udp_sendspace udp_recvspace rfc1323 Comments
1G/1500 131072 65536 - - 0 -
1G/9000 262144 131072 65536 655360 1 -
10G/1500 262144 262144 65536 655360 1 -
10G/9000 262144 262144 65536 655360 1 -

Sample commands:

  /usr/sbin/no -o udp_sendspace=65536
  /usr/sbin/no -o udp_recvspace=655360
  /usr/sbin/no -o tcp_sendspace=262144
  /usr/sbin/no -o tcp_recvspace=262144
  /usr/sbin/no -o rfc1323=1
  /usr/sbin/no -o sb_max=4194304
  /usr/sbin/no -o ipqmaxlen=512

File descriptors (ulimit)

Specifies the various restrictions on resource usage on the user account.

Check the change with the following command

# ulimit -a
...
open files                      (-n) 2000

Perform the following steps to change the open file limit to 10,000 files. Edit the /etc/security/limits file.

nofiles =  10000 
nofiles_hard = 10000

Save and close the file, logoff from the system, and logon again


Articles

Ver também