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

From Wiki
 
(3 intermediate revisions by the same user not shown)
Line 18: Line 18:


Tuning for Performance
Tuning for Performance
{| class="wikitable"
|-
! Adapter/MTU !! 1G/1500 !! 1G/9000  !! 10G/1500 !! 10G/9000 !! - !! Comments
|-
| tcp_sendspace || 131072 || 262144 || 262144 || 262144 || - || Consider increasing to 512K (524288)
|-
| tcp_recvspace || 65536  || 131072 || 262144 || 262144 || - || Consider increasing to 512K (524288)
|-
| udp_sendspace || 65536  || 65536  || 65536  || 65536  || - || Consider increasing to 64K if the workloads stress the UDP protocol.
|-
| udp_recvspace || 655360 || 655360 || 655360 || 655360 || - || Consider increasing to 640K if the workloads stress the UDP protocol.
|-
| rfc1323      || 0      || 1      || 1      || 1      || - || -
|}
Other Attributes
* ipv6 offload -> ipv6 offload are configured independently from ipv4 offload
* num of tx queues -> The number of transmit queues
* sz of tx queue -> The size of transmit queues
* num of rx queues -> The number of receive queues
* sz of rx queue -> The size of receive queues
* sz of sw tx queue -> The size of software transmit queue.
* intr_cnt -> Interrupt coalescing counter
* intr_time -> Interrupt coalescing timer (microseconds)
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

Latest revision as of 16:56, 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 1G/1500 1G/9000 10G/1500 10G/9000 - Comments
tcp_sendspace 131072 262144 262144 262144 - Consider increasing to 512K (524288)
tcp_recvspace 65536 131072 262144 262144 - Consider increasing to 512K (524288)
udp_sendspace 65536 65536 65536 65536 - Consider increasing to 64K if the workloads stress the UDP protocol.
udp_recvspace 655360 655360 655360 655360 - Consider increasing to 640K if the workloads stress the UDP protocol.
rfc1323 0 1 1 1 - -


Other Attributes

  • ipv6 offload -> ipv6 offload are configured independently from ipv4 offload
  • num of tx queues -> The number of transmit queues
  • sz of tx queue -> The size of transmit queues
  • num of rx queues -> The number of receive queues
  • sz of rx queue -> The size of receive queues
  • sz of sw tx queue -> The size of software transmit queue.
  • intr_cnt -> Interrupt coalescing counter
  • intr_time -> Interrupt coalescing timer (microseconds)

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