no 명령어 (AIX 5.3·6.1)

핵심 정리

  • 네트워크(TCP/IP, 소켓 버퍼, ARP, 라우팅, Streams 등) 조정 값을 보고 바꿉니다. 값을 바꾸면 syslog(LOG_KERN)에 기록이 남습니다.
  • no -a(모든 값), no -o 이름(값 보기), no -o 이름=값(바꾸기), no -L [이름](현재·기본·부팅 값, 범위, 유형), no -h 이름(도움말).
  • -p는 현재 값과 다음 부팅 값(/etc/tunables/nextboot)을 함께, -r은 다음 부팅 값만 바꿉니다. -d 이름·-D는 기본값으로 되돌립니다.
  • 자주 보는 값: 소켓 버퍼 sb_max·tcp_sendspace·tcp_recvspace·udp_sendspace·udp_recvspace, rfc1323(큰 창), sack, somaxconn, tcp_nodelayack, ipforwarding, tcp_ephemeral_low·high, keepalive tcp_keepidle·tcp_keepintvl.
  • use_isno가 켜져 있으면 인터페이스별 설정(ISNO, chdev -l en0 -a tcp_sendspace=...)이 no 값보다 우선합니다.
  • no는 Reboot, Static, Dynamic, Incremental, Connect 유형을 다룹니다. Connect 유형을 바꾸면 inetd를 다시 시작합니다.
항목 내용
버전 AIX 5.3, AIX 6.1 (6.1에서 -F(제한된 조정 값 표시)가 더해지고, sack, hstcp, limited_ss, tcptr_enable 같은 조정 값이 문서에 새로 실림)
원문 IBM Commands Reference — 5.3 Volume 4, 6.1 Volume 4
파일 /usr/sbin/no, /etc/tunables/nextboot
관련 명령어 ifconfig, chdev, netstat, vmo, ioo, schedo, nfso

목적

네트워크 조정 값을 관리합니다.

영어 원문

Manages the tuning parameters of the network .

구문

text
no [ -p | -r ] { -o Tunable [ = Newvalue ] }
no [ -p | -r ] { -d Tunable }
no [ -p | -r ] -D
no [ -p | -r ] [ -F ] -a
no -h [ Tunable ]
no [ -F ] -L [ Tunable ]
no [ -F ] -x [ Tunable ]

-o, -d, -x, -L은 여러 번 쓸 수 있습니다. -F는 6.1 구문에만 있습니다. 다른 튜닝 명령과 달리 -y가 없습니다.

설명

no 명령으로 네트워크 조정 값을 설정합니다. 네트워크 조정 값의 현재 값이나 다음 부팅 값을 설정하거나 보여 주며, 바꾼 것을 영구로 하거나 다음 재부팅까지 미룰 수 있습니다. 설정할지 보여 줄지는 함께 주는 플래그가 정하며, -o는 둘 다 합니다. no로 네트워크 옵션을 바꾸면 LOG_KERN 기능으로 syslog에 메시지를 남깁니다. 네트워크 값이 서로 어떻게 영향을 주는지는 "Networks and communication management"를 봅니다.

조정 값을 바꾸는 영향

이 명령은 조심해서 씁니다. 잘못 쓰면 시스템을 쓸 수 없게 될 수 있습니다.

조정 값을 바꾸기 전에 조정 값 절에서 그 값의 특성을 모두 읽고, Refer To 안내를 따라가 목적을 이해합니다. 그 값의 Diagnosis와 Tuning 설명이 지금 상황에 맞는지, 값을 바꾸면 성능이 나아질지 확인합니다. Diagnosis와 Tuning이 모두 N/A면, AIX 개발 부서가 지시하지 않는 한 바꾸지 않습니다.

영어 원문

Use the no command to configure parameters that used to tune the network. The no command sets or displays current or next system boot values for network tuning parameters. This command can also make permanent changes or defer changes until the next system reboot. Whether the command sets or displays a parameter, is determined by the accompanying flag. The -o flag does both these actions. It can either display the value of a parameter or set a new value for a parameter. When the no command is used to modify a network option, it logs a message to the syslog by using the LOG_KERN facility. To understand how the network parameters interact with each other, see Networks and communication management.

Understanding the Effect of Changing Tunable Parameters

Be careful when you use this command. If used incorrectly, the no command can cause your system to become inoperable.

Before you modify any tunable parameter, you must read about all its characteristics in the Tunable Parameters section, and follow the Refer To pointer instructions to understand the purpose. Ensure that the Diagnosis and Tuning sections for this parameter apply to the situation, and changing the value of this parameter helps to improve the performance of your system.

If the Diagnosis and Tuning sections both contain N/A, you must not change this parameter unless directed by AIX development.

플래그

플래그 설명
-a 모든 조정 값의 현재 값(-r이면 재부팅 값, -p면 영구 값)을 한 줄에 tunable = value 하나씩 보여 줍니다. 영구 값은 재부팅 값과 현재 값이 같을 때만 보이고, 아니면 NONE입니다.
-d Tunable 조정 값을 기본값으로 되돌립니다. 기본값이 아니어서 바꿔야 하는데 Bosboot·Reboot 유형이거나, Incremental 유형이 기본값에서 바뀌었고 -r을 함께 쓰지 않았으면, 경고만 내고 바꾸지 않습니다.
-D 모든 조정 값을 기본값으로 되돌립니다. 제약은 -d와 같습니다.
-F -a, -L, -x만 줘서 모든 조정 값을 나열할 때 제한된(restricted) 조정 값도 보여 줍니다. -F가 없으면 이름을 직접 지정하지 않는 한 보이지 않습니다. 6.1부터
-h [Tunable] 조정 값의 도움말을 보여 줍니다. 이름이 없으면 사용법을 보여 줍니다.
-L [Tunable] 조정 값 하나나 전부의 특성(현재·기본·재부팅 값, 최소·최대, 단위, 유형, 의존 관계)을 한 줄에 하나씩 보여 줍니다.
-o Tunable[=Newvalue] 값을 보여 주거나 Newvalue로 바꿉니다. 바꿔야 하는데 Bosboot·Reboot 유형이거나, Incremental 유형이고 현재 값이 새 값보다 크며 -r이 없으면 바꾸지 않고 경고합니다. -r과 함께 새 값 없이 쓰면 다음 부팅 값을, -p와 함께 새 값 없이 쓰면 현재 값과 다음 부팅 값이 같을 때만 값을(아니면 NONE) 보여 줍니다.
-p -o, -d, -D와 함께 쓰면 현재 값과 재부팅 값을 함께 바꿉니다. 곧 현재 값과 함께 /etc/tunables/nextboot도 고칩니다. 현재 값을 바꿀 수 없는 Reboot·Bosboot 유형에는 쓸 수 없습니다. -a나 새 값 없는 -o와 함께 쓰면 현재 값과 다음 부팅 값이 같을 때만 값을 보여 줍니다.
-r -o, -d, -D와 함께 쓰면 재부팅 값을 바꿉니다(/etc/tunables/nextboot를 고침). Bosboot 유형을 바꾸면 bosboot를 실행하라고 묻습니다. -a나 새 값 없는 -o와 함께 쓰면 현재 값 대신 다음 부팅 값을 보여 줍니다.
-x [Tunable] 조정 값 하나나 전부의 특성을 스프레드시트 형식(tunable,current,default,reboot,min,max,unit,type,{dtunable})으로 한 줄에 하나씩 보여 줍니다.

유형(TYPE): D 동적(Dynamic), S 정적(Static), R 재부팅(Reboot), B bosboot(Bosboot), M 마운트(Mount), I 증가만(Incremental), C 연결(Connect), d 폐기 예정(Deprecated).

  • 제한된 조정 값을 바꾸면 경고를 보여 주고, -r이나 -p를 주면 확인을 받습니다. -r·-p로 기본값과 다르게 바꿔 /etc/tunables/nextboot에 남은 제한된 조정 값은 재부팅할 때 오류 로그 항목을 남깁니다(6.1).

  • 값에는 K(2의 10제곱), M(20제곱), G(30제곱), T(40제곱), P(50제곱), E(60제곱) 같은 단위 약어를 쓸 수 있습니다. 예를 들어 1024는 1K입니다.

  • Mount 유형을 -o, -d, -D로 바꾸면 이후에 마운트하는 것에만 적용된다는 경고가 나옵니다.

  • Connect 유형을 바꾸면 inetd를 다시 시작하고 그 사실을 알립니다.

  • Bosboot·Reboot 유형을 -r 없이 바꾸려 하면 오류가 납니다.

  • Incremental 유형의 현재 값을 더 작은 값으로 바꾸려 하면(-r 없이) 오류가 납니다.

조정 값 유형

튜닝 명령(no, nfso, vmo, ioo, schedo, raso)이 다루는 조정 값은 Dynamic(언제든), Static(바꿀 수 없음), Reboot(재부팅 때), Bosboot(bosboot 후 재부팅), Mount(이후 마운트에만), Incremental(부팅 때 말고는 늘리기만), Connect(이후 소켓 연결에만), Deprecated(더는 지원 안 함)로 나뉩니다. Bosboot 유형을 바꾸면 bosboot를 실행할지 묻고, Connect 유형을 바꾸면 inetd를 다시 시작합니다. no가 다루는 값은 Reboot, Static, Dynamic, Incremental, Connect 유형입니다.

조정 값

각 조정 값의 기본값과 범위는 no -h 이름으로 봅니다. 아래는 6.1 문서에 실린 조정 값입니다.

조정 값 뜻과 조정 참고
arpqsize ARP 응답을 기다리며 큐에 둘 패킷의 최대 수. 이더넷, 802.3, 토큰 링, FDDI에서 지원
arpt_killc 완성된 ARP 항목을 지우기까지의 시간(분). 안정된 네트워크에서 ARP 활동을 줄이려면 올림
arptab_bsiz ARP 테이블 버킷 크기. netstat -p arp에서 지워지는 항목이 많으면 키움. 해시 분포는 arp -a로 봄
arptab_nb ARP 테이블 버킷 수. 클라이언트·서버가 많은 시스템에서 올림
bcastping 브로드캐스트 주소로 온 ICMP echo에 응답할지. 기본 0(응답 안 함)으로 브로드캐스트 폭주를 막음
clean_partial_conns SYN 공격을 피할지. 0이 아니면 새 정상 연결 자리를 만들려고 무작위로 지울 반쯤 열린 연결 수. 공격을 막아야 하는 서버에서 켬
delayack 일부 TCP 패킷의 ACK를 늦춰 다음 패킷에 실어 보냄. delayackports에 있는 목적지 포트에만 적용, HTTP 서버와 통신할 때 패킷 수를 줄임
delayackports delayack를 적용할 목적지 포트 목록. 최대 10개를 중괄호 안에 쉼표로(예: no -o delayackports={80,30080}). {}로 비움
dgd_flush_cached_route 죽은 게이트웨이 감지(DGD)가 게이트웨이가 살아난 것을 알면 소켓의 캐시된 경로를 비울지. 1 켬, 0 끔
dgd_packets_lost 게이트웨이가 죽었다고 판단하기 전에 연속으로 잃어야 할 패킷 수
dgd_ping_time 능동 DGD가 게이트웨이에 ping을 보내는 간격(초)
dgd_retry_time 수동 DGD가 경로 비용을 올린 뒤 유지하는 시간(분). 지나면 사용자가 정한 값으로 돌아감
directed_broadcast 게이트웨이 너머 네트워크로 보내는 지정 브로드캐스트를 허용할지. 1 허용
fasttimo TCP 빠른 타임아웃 타이머의 지연(밀리초). 지연된 ACK를 보내려 TCP 제어 블록을 훑는 주기. 줄이면 일부 비 IBM 시스템과 성능이 나아지지만 시스템 사용률이 조금 늘어남
hstcp RFC 3649 HighSpeed TCP를 켬. 혼잡 창이 큰 연결의 평균 처리량을 높임. 1 켬, 0 끔
icmp6_errmsg_rate 초당 보낼 수 있는 ICMPv6 오류 메시지의 상한
icmpaddressmask ICMP 주소 마스크 요청에 응답할지. 0이면 조용히 무시
icmptimestamp ICMP 타임스탬프 요청에 응답할지. 0이면 무시
ie5_old_multicast_mapping 1이면 토큰 링의 IP 멀티캐스트를 기능 주소 대신 브로드캐스트 주소로 대응
ifsize 한 유형의 인터페이스당 네트워크 인터페이스 구조체 최대 수(이더넷은 동적으로 늘어나 해당 없음). 핫플러그 어댑터나 DLPAR 구성에서는 크게
ip6_defttl 따로 정하지 않았을 때 IPv6 패킷의 기본 홉 수
ip6_prune 만료된 경로를 찾으려 IPv6 라우팅 테이블을 검사하는 주기(초)
ip6forwarding 커널이 IPv6 패킷을 전달할지. 기본 0, 1이면 전달
ip6srcrouteforward 소스 라우팅된 IPv6 패킷을 전달할지. 0이면 목적지가 아닌 것은 버림
ip_ifdelete_notify 인터페이스 주소를 지울 때 그 주소에 묶인 TCP 연결에 ENETDOWN으로 알릴지. 기존 FTP·Telnet 연결이 끊김
ip_nfrag IP 재조립 큐에 한 번에 둘 수 있는 한 패킷의 조각 최대 수
ipforwarding 커널이 패킷을 전달할지. 시스템이 IP 라우터 역할을 하면 1
ipfragttl IP 조각의 생존 시간(0.5초 단위). netstat -p ip의 "fragments dropped after timeout"이 0이 아니면 올려 재전송을 줄임
ipignoreredirects 받은 리디렉트를 처리할지. 0 처리, 1 무시
ipqmaxlen IP 입력 큐에 쌓을 수 있는 수신 패킷 수. netstat -s에서 ipintrq 넘침을 봄. 루프백 세션이 많으면 올림(대부분 드라이버는 IP 큐를 쓰지 않음)
ipsendredirects 커널이 리디렉트를 보낼지. 성능에 영향이 있는 구성 결정
ipsrcrouteforward 소스 라우팅된 패킷을 전달할지. 기본 1, 0이면 목적지가 아닌 것은 버림
ipsrcrouterecv 소스 라우팅된 패킷을 받을지. 기본 0(이 시스템이 목적지여도 버림), 1이면 받음
ipsrcroutesend 응용 프로그램이 소스 라우팅 패킷을 보낼 수 있는지. 기본 1, 0이면 setsockopt()가 오류를 돌려주고 나가는 패킷에서 옵션을 지움
limited_ss RFC 3742 Limited SlowStart. 슬로 스타트 동안 한 창에서 혼잡 창을 늘리는 세그먼트 수를 제한. 1~100이면 켜고 그 수로 정함
llsleep_timeout 링크 로컬 타임아웃(초). multi_homed=1일 때 씀
lo_perf 루프백 트래픽(성능 개선)을 켤지·끌지
lowthresh BPRI_LO 우선순위의 allocb가 할당할 수 있는 최대 바이트. thewall에 대한 백분율(0~100)
main_if6 링크 로컬 주소에 쓸 인터페이스
main_site6 사이트 로컬 주소 라우팅에 쓸 인터페이스
maxnip6q IPv6 패킷 재조립 큐의 최대 수
maxttl RIP 패킷의 생존 시간(초)
medthresh BPRI_MED 우선순위의 allocb가 할당할 수 있는 최대 바이트. thewall에 대한 백분율
mpr_policy 다중 경로 라우팅 정책. 1 가중 라운드 로빈, 2 무작위, 3 가중 무작위, 4 최저 사용률(현재 연결이 가장 적은 경로), 5 목적지 IP 해시
multi_homed 다중 홈 IPv6 호스트 지원 수준. 0은 AIX 4.3 동작, 1~3은 링크·사이트 로컬 주소를 다루는 방식
nbc_limit 네트워크 버퍼 캐시(NBC)가 쓸 수 있는 전체 메모리(KB). 차면 잘 안 쓰는 객체를 내보냄
nbc_max_cache 개인 세그먼트 없이 NBC에 둘 수 있는 캐시 객체의 최대 크기(바이트)
nbc_min_cache NBC에 둘 캐시 객체의 최소 크기(바이트). send_file()과 커널 get 엔진을 쓰는 웹 서버에 적용
nbc_ofile_hashsz NBC에서 파일 캐시 항목을 해시하는 테이블 크기. 바꾸려면 NBC가 비어 있어야 함
nbc_pseg NBC가 만들 수 있는 개인 세그먼트 최대 수. 0이 아니면 nbc_max_cache보다 크고 256MB보다 작은 객체를 개인 세그먼트에 캐시
nbc_pseg_limit 개인 세그먼트에 캐시할 수 있는 데이터 최대 양(KB). 고정(pinned) 메모리 양을 제어
ndd_event_name ndd_event_tracing을 켰을 때 ns_alloc·ns_free 이벤트를 잡을 인터페이스 이름 목록
ndd_event_tracing ns_alloc·ns_free 추적 버퍼 크기. 0이 아니면 커널 버퍼에 추적, 0은 끔
ndp_mmaxtries 보낼 멀티캐스트 NDP(이웃 탐색) 패킷의 최대 수
ndp_umaxtries 보낼 유니캐스트 NDP 패킷의 최대 수
ndpqsize IPv6 NDP 항목이 완성되기를 기다리며 붙잡아 둘 패킷 수
ndpt_down NDP 항목을 내려 둔 채로 두는 시간(0.5초 단위)
ndpt_keep NDP 항목을 유지하는 시간(0.5초 단위)
ndpt_probe 첫 NDP 탐침을 보내기 전의 지연(0.5초 단위)
ndpt_reachable NDP 항목이 아직 유효한지 검사하는 시간(0.5초 단위)
ndpt_retrans NDP 요청을 다시 보내기 전에 기다리는 시간(0.5초 단위)
net_buf_size 잡을 net_malloc·net_free 이벤트의 버퍼 크기 목록. all이면 모든 크기
net_buf_type 잡을 net_malloc·net_free 이벤트의 버퍼 유형 목록. 비어 있지 않고 all이 아니면 그 유형만
net_malloc_frag_mask 1페이지보다 작은 할당을 페이지 전체로 올릴(promote) 버킷 마스크. 메모리 덮어쓰기 문제를 찾는 데 씀
netm_page_promote net_malloc_frag_mask의 크기를 페이지 크기로 올리는 것을 허용할지. 0이면 마스크와 상관없이 끔
nonlocsrcroute 엄격한 소스 라우팅 패킷을 로컬 네트워크 밖 호스트로 보낼 수 있는지. 0 불가, 1 가능. 느슨한 소스 라우팅은 영향 없음
nstrpush 한 스트림에 넣을 수 있는 모듈의 최대 수(최소 8). 읽기 전용이며 /etc/pse_tune.conf에서 부팅 때 정함
passive_dgd 수동 DGD를 켤지. 0 끔, 1 사용 중인 모든 게이트웨이에 켬
pmtu_default_age 이제 쓰지 않음(UDP 응용 프로그램은 IP_DONTFRAG를 늘 설정해야 함). 0은 노화 없음, 기본 10분
pmtu_expire 참조 수가 0인 경로 MTU 항목을 지우기까지의 시간(분). 0이면 만료 없음
pmtu_rediscover_interval UDP·TCP 경로의 MTU가 더 커졌는지 다시 검사하는 간격(분). 0이면 재탐색 안 함
psebufcalls Streams가 할당할 bufcall 최대 수. 재시작 전에는 줄일 수 없음
psecache 스트림 버퍼 수를 제어
psetimers Streams가 할당할 타이머 최대 수. 재시작 전에는 줄일 수 없음
rfc1122addrchk RFC 1122에 따른 주소 검증을 할지. 0 안 함, 1 함
rfc1323 RFC 1323 TCP 확장(창 크기 조정, 타임스탬프)을 켬. 1이면 모든 TCP 연결이 협상. 소켓마다 setsockopt로 바꿀 수 있고 ISNO로 인터페이스별 설정 가능
rfc2414 RFC 2414에 따라 TCP 초기 창을 늘림. 켜면 초기 창은 tcp_init_window에 따름
route_expire 경로가 만료될지. 0은 만료 없음, 음수는 안 됨
routerevalidate 라우팅 테이블에 새 경로가 더해지면 연결의 캐시된 경로를 다시 검증할지. NFS처럼 오래 열린 연결이 바뀐 경로를 쓰게 함. 켜면 성능이 조금 떨어질 수 있음
rto_high TCP 재전송 타임아웃 계산의 상한 계수
rto_length TCP 재전송 타임아웃 계산의 전체 시간 구간 수
rto_limit rto_low에서 rto_high까지의 시간 구간 수
rto_low TCP 재전송 타임아웃 계산의 하한 계수
sack RFC 2018 TCP 선택적 확인 응답(SACK). 1이면 모든 연결이 협상, 기본 0. 상대 TCP도 지원해야 함
sb_max TCP·UDP 소켓 버퍼의 최대 크기. setsockopt와 tcp_*space·udp_*space를 제한. 가장 큰 소켓 버퍼의 2~4배, 4096의 배수로
send_file_duration send_file이 접근한 NBC 파일 객체의 캐시 검증 간격(초). 0이면 매번 검증
site6_index 사이트 로컬 라우팅의 최대 인터페이스 번호
sockthresh 소켓에 할당할 수 있는 네트워크 메모리의 최대(thewall 백분율). 넘으면 새 소켓·연결을 막아 기존 연결용 메모리를 남김
sodebug 새 소켓에 SO_DEBUG를 켤지
sodebug_env 새 소켓에 대해 SODEBUG 환경 변수를 볼지. 그러면 그 소켓에 SO_DEBUG가 켜짐
somaxconn listen 백로그의 최대. 바쁜 웹 서버에서 연결 폭주를 처리하려면 올림
strctlsz 시스템 호출 하나가 스트림 메시지의 제어 부분에 넘길 수 있는 최대 바이트. 넘으면 putmsg가 ERANGE
strmsgsz 시스템 호출 하나가 스트림 메시지의 데이터 부분에 넘길 수 있는 최대 바이트. 넘는 write는 여러 메시지로 나뉨
strthresh Streams가 보통 할당할 수 있는 최대 바이트. 넘으면 특권 없는 사용자의 스트림 열기·쓰기를 막고 ENOSR
strturncnt 모듈·Elsewhere 수준 Streams 동기화에서 지금 실행 중인 스레드가 처리할 요청의 최대 수
subnetsarelocal 서브넷 마스크에 맞는 모든 서브넷을 로컬로 볼지(TCP 최대 세그먼트 크기 결정 등에 씀). 기본 1
tcp_bad_port_limit 소켓이 없는 포트로 0.5초 안에 온 TCP 세그먼트가 이 수를 넘으면 RST 보내기를 멈춤. 0이면 늘 RST
tcp_cwnd_modified 특정 소켓 옵션을 쓰는 응용 프로그램이 혼잡 창을 조정할 수 있게 함. 특정 WAN 환경용, 기본 0
tcp_ecn RFC 2481 명시적 혼잡 통지(ECN). 1이면 모든 연결이 협상. 상대와 경로의 라우터도 지원해야 함
tcp_ephemeral_high TCP 임시(ephemeral) 포트의 가장 큰 번호. 최대로 쓰려면 65535
tcp_ephemeral_low TCP 임시 포트의 가장 작은 번호. 최대로 쓰려면 1024
tcp_finwait2 FIN_WAIT2 상태에서 연결을 닫기 전에 기다리는 시간(0.5초 단위)
tcp_icmpsecure TCP에 대한 ICMP 공격(source quench, PMTUD 공격)을 막을지. 켜면 source quench에 반응하지 않고 ICMP 페이로드의 TCP 순서 번호를 검사
tcp_init_window rfc2414가 켜져 있을 때만 씀. 0이면 RFC 2414대로 계산, 0이 아니면 초기 혼잡 창을 이 수의 최대 세그먼트로
tcp_inpcb_hashtab_siz TCP 연결의 inpcb 해시 테이블 크기. 클수록 체인이 짧지만 메모리를 더 씀. 소수(prime)여야 함
tcp_keepcnt 연결을 끊기 전에 보낼 keepalive 탐침 수
tcp_keepidle keepalive 탐침을 보내기 전 연결이 유휴 상태로 있는 시간(0.5초 단위)
tcp_keepinit TCP 연결의 초기 타임아웃(0.5초 단위)
tcp_keepintvl 연결 확인 탐침 사이의 간격(0.5초 단위). 150이면 75초
tcp_limited_transmit RFC 3042 Limited Transmit(손실 회복 개선). 1 켬, 0 끔
tcp_low_rto 패킷이 버려지는 연결의 TCP 재전송 타임아웃(밀리초). 먼저 timer_wheel_tick을 0이 아니게 정해야 함
tcp_maxburst TCP가 쉬지 않고 연달아 보낼 수 있는 패킷 수. 라우터가 큰 버스트를 버리면 씀. 0은 제한 없음
tcp_mssdflt 원격 네트워크와 통신할 때 쓰는 기본 최대 세그먼트 크기. 경로 MTU 탐색을 안 쓰거나 실패할 때만 씀. ISNO로 인터페이스별 설정 가능
tcp_nagle_limit Nagle 알고리즘 임계값(바이트). 이보다 크거나 같은 세그먼트는 Nagle을 쓰지 않음. 0이나 1이면 Nagle을 끔
tcp_nagleoverride 연결 중 특정 상황에서만 Nagle을 끔(tcp_nagle_limit은 시스템 전체, TCP_NODELAY는 소켓별)
tcp_ndebug tcp_debug 구조체 수
tcp_newreno RFC 2582 NewReno 빠른 회복. 한 창에서 여러 패킷이 버려질 때 빨리 회복. 보내는 쪽만 지원하면 됨
tcp_nodelayack 켜면 ACK를 바로 보냄. 끄면 최대 200ms 늦춰 응답에 실어 보냄. 다른 TCP의 Nagle 구현 문제를 피할 때 씀
tcp_pmtu_discover TCP 응용 프로그램의 경로 MTU 탐색. 0 끔, 1 켬
tcp_recvspace 수신 소켓 버퍼의 시스템 기본 크기. TCP 창 크기에 영향. 최적값은 대역폭과 평균 왕복 시간의 곱. ISNO로 인터페이스별 설정 가능
tcp_sendspace 송신 소켓 버퍼의 시스템 기본 크기. 최적값은 대역폭 곱하기 평균 왕복 시간. ISNO로 인터페이스별 설정 가능
tcp_tcpsecure 연결 재설정 공격과 데이터 손상 공격을 막을지. 1·2·4 비트로 가짜 SYN, 가짜 RST, 가짜 데이터에 대한 보호를 켬
tcp_timewait 연결을 TIME_WAIT 상태에 두는 시간(15초 단위). 올리면 연결을 자주 열고 닫는 웹 서버가 느려짐
tcp_ttl TCP 패킷의 생존 시간(틱)
tcprexmtthresh TCP가 빠른 재전송에 들어가게 하는 연속 중복 ACK 수. 혼잡이 없는데 중복 ACK 때문에 느리면 올림
tcptr_enable tcptr 명령으로 만든 정책의 TCP 트래픽 조절을 켬. 공격을 막아야 하는 서버에서 켬
thewall 메모리 풀에 할당되는 최대 메모리(KB). 이제는 설정할 수 없음
timer_wheel_tick 타이머 휠의 슬롯 간격(틱, 1틱은 10ms). tcp_low_rto와 함께 써서 TCP 타임아웃을 더 잘게 함
tn_filter Trusted AIX에서만 유효. 끄면 IP 계층의 MAC 검사를 건너뜀
udp_bad_port_limit 소켓이 없는 포트로 500ms 안에 온 UDP 패킷이 이 수를 넘으면 ICMP 오류 보내기를 멈춤. 0이면 늘 보냄
udp_ephemeral_high UDP 임시 포트의 가장 큰 번호
udp_ephemeral_low UDP 임시 포트의 가장 작은 번호
udp_inpcb_hashtab_siz UDP의 inpcb 해시 테이블 크기. 소수여야 함
udp_pmtu_discover UDP 응용 프로그램의 경로 MTU 탐색. 응용 프로그램이 지원해야 함. 0 끔, 1 켬
udp_recvspace UDP 수신 소켓 버퍼의 기본 크기. netstat -s의 udp "socket buffer overflows"가 0이 아니면 올림. sb_max 이하, 4096의 배수로
udp_sendspace UDP 송신 소켓 버퍼의 기본 크기(바이트). sb_max 이하이고 가장 큰 데이터그램 이상, 4096의 배수로
udp_ttl UDP 패킷의 생존 시간(초)
udpcksum UDP 체크섬을 켤지. 0 끔, 1 켬
use_sndbufpool mbuf 클러스터 캐시를 켜서 할당·해제를 한 번에 함. 기본 1. 캐시는 netstat -M으로 봄

5.3 문서에는 extendednetstats, net_malloc_police, pseintrstack, use_isno 등이 더 실려 있고, dgd_flush_cached_route, hstcp, icmptimestamp, limited_ss, nbc_pseg, net_malloc_frag_mask, netm_page_promote, sack, tcp_cwnd_modified, tcptr_enable, tn_filter는 6.1 문서에만 있습니다. 6.1에서도 use_isno, net_malloc_police는 no -F -a로 볼 수 있습니다.

호환 모드

5.2 이전 호환 모드(sys0의 pre520tune 속성)에서는 Bosboot 유형을 뺀 값의 재부팅 값이 부팅 때 적용되지 않아 의미가 없습니다. 이 모드에서는 부팅 과정의 스크립트에 튜닝 명령을 넣어 값을 정하며, Reboot 유형도 -r 없이 설정할 수 있습니다. AIX 5.2로 마이그레이션하면 이 모드가 켜지고, 새로 설치하면 꺼져 재부팅 때 /etc/tunables/nextboot를 적용합니다. 이 모드가 꺼져 있을 때만 -r과 -p가 제대로 동작합니다.

영어 원문
  • -a — Displays current, reboot (when used with -r) or permanent (when used with -p) value for all tunable parameters, one per line in pairs Tunable = Value. For the permanent options, a value displays for a parameter if its reboot and current values are equal. Otherwise NONE displays as the value.
  • -d Tunable — Resets Tunable to its default value. If Tunable must be changed when, it is set to one of the following values: • The tunable is not set to its default value and it is of type Bosboot or reboot • The tunable is of type Incremental and must be changed from its default value. and -r is not used in combination. The tunable parameter is not changed but a warning message is displayed.
  • -D — Resets all tunable parameters to their default value. If a tunable parameter that must be changed, is of one of the following types: • Bosboot or Reboot • Incremental type and is changed from its default value and if either -p nor -r flag are used in combination, the parameter is not changed but a warning message is displayed.
  • -F — Forces restricted tunable parameters to be displayed when the options -a, -L or -x are specified on the command line. If you do not specify the -F flag, restricted tunables are not included, unless they are named in association with a display option.
  • -h [Tunable] — Displays help about Tunable parameter if one is specified. Otherwise, displays the no command usage statement.
  • -L [Tunable] — Lists the characteristics of one or all Tunables, one per line, by using the following format: NAME CUR DEF BOOT MIN MAX UNIT TYPE DEPENDENCIES --------------------------------------------------------------------- General Network Parameters --------------------------------------------------------------------- sockthresh 85 85 85 0 100 %_of_thewall D --------------------------------------------------------------------- fasttimo 200 200 200 50 200 millisecond D --------------------------------------------------------------------- inet_stack_size 16 16 16 1 kbyte R --------------------------------------------------------------------- ... where: CUR = current value DEF = default value BOOT = reboot value MIN = minimal value MAX = maximum value UNIT = tunable unit of measure TYPE = parameter type: D (for Dynamic), S (for Static), R (for Reboot),B (for Bosboot), M (for Mount), I (for Incremental), C (for Connect), and d (for Deprecated) DEPENDENCIES = list of dependent tunable parameters, one per line
  • -o Tunable [=NewValue ] — Displays the value or sets the Tunable to NewValue. If a tunable must be changed, that is the specified value is different from current value, and is one of the following types: • Bosboot or Reboot • Incremental and its current value is more than the specified value and -r is not used in combination, it is not changed but a warning message is displayed. When -r is used in combination without a new value, the nextboot value for Tunable is displayed. When -p is used in combination without a new value, a value displays only if the current and next boot values for tunable are the same Otherwise NONE displays as the value.
  • -p — Changes are applied to both current and reboot values when used in combination with -o, -d or -D, that is turns on updating of the /etc/tunables/nextboot file in addition to updating of the current value. These combinations cannot be used on Reboot and Bosboot type parameters because their current value cannot be changed. When used with -a or -o without specifying a new value, the values are displayed when the current and next boot values for a parameter are the same. Otherwise NONE displays as the value.
  • -r — Changes are applied to reboot values when used in combination with -o, -d, or -D flags, that is it turns on updating the /etc/tunables/nextboot file. If any parameter of type Bosboot is changed, the user is prompted to run bosboot. When used with -a or -o without specifying a new value, next boot values for tunables display instead of the current values.
  • -x [Tunable] — Lists characteristics of one or all tunables, one per line, by using the following (spreadsheet) format: tunable,current,default,reboot,min,max,unit,type,{dtunable } where: current = current value default = default value reboot = reboot value min = minimal value max = maximum value unit = tunable unit of measure TYPE = parameter type: D (for Dynamic), S (for Static), R (for Reboot),B (for Bosboot), M (for Mount), I (for Incremental), C (for Connect), and d (for Deprecated) dtunable = space separated list of dependent tunable parameters

If you change by using the -o, -d or -D flag to a restricted tunable parameter, it results in a warning message that a tunable parameter of the restricted-use type is modified. If you also specify the -r or -p options on the command line, you are prompted for confirmation of the change. During system reboot, the presence of restricted tunables in the /etc/tunables/nextboot file that were modified to a value different from their default value by using a command line and by specifying the -r or -p options, results in an error log entry that identifies the list of these modified tunables.

If you change by using the -o, -d, or -D flag to a parameter of type Mount, it results in a warning message that the change is effective for future mountings.

If you change to a parameter of type Connect by using the -o, -d or -D flag, it results in starting the inetd and displays a warning message that the change is effective for future socket connections.

If you change to a parameter of type Bosboot or Reboot by using the -o, -d, or -D flag and without using the -r flag, it results in an error message.

If you change the current value of a parameter of type Incremental with a new value that is smaller than the current value by using the -o, -d, or -D flag and without using the -r flag, it results in an error message.

Tunable Parameters Type

All the tunable parameters that are manipulated by the tuning commands such as no, nfso, vmo, ioo, schedo, and raso commands are classified into the following categories:

  • Dynamic — If the parameter can be changed at any time
  • Static — If the parameter can never be changed
  • Reboot — If the parameter can be changed during reboot
  • Bosboot — If the parameter can be changed by running bosboot and rebooting the machine
  • Mount — If changes to the parameter are only effective for future file systems or directory mounts
  • Incremental — If the parameter can be incremented, except at boot time
  • Connect — If changes to the parameter are only effective for future socket connections
  • Deprecated — If this parameter cannot be changed and is no longer supported by the current release of AIX.

For parameters of type Bosboot, whenever there is a change, the tuning commands automatically prompt the user to ask if they want to run the bosboot command. For parameters of type Connect, the tuning commands automatically restart the inetd daemon if pre520tune is disabled.

Note: The current set of parameters that are managed by the no command includes Reboot, Static, Dynamic, Incremental, and Connect types.

Tunable Parameters

For default values and range of values for tunables, refer the no command help (-h <tunable_parameter_name>).

  • arpqsize — Purpose: Specifies the maximum number of packets to queue while waiting for Address Resolution Protocol (ARP) responses. Tuning: This attribute is supported by Ethernet, 802.3, Token Ring and FDDI interfaces.
  • arpt_killc — Purpose: Specifies the time in minutes before a complete ARP entry will be deleted. Tuning: To reduce ARP activity in a stable network, you can increase arpt_killc.
  • arptab_bsiz — Purpose: Specifies Address Resolution Protocol (ARP) table bucket size. Tuning: netstat -p arp will show the number of ARP packets sent and the number of ARP entries purged from the ARP table. If large number of entries are being purged, the ARP table size should be increased. Use arp -a to show the ARP table hashing distribution.
  • arptab_nb — Purpose: Specifies the number of ARP table buckets. Tuning: netstat -p arp will show the number of ARP packets sent and the number of ARP entries purged from the ARP table. If large number of entries are being purged, the ARP table size should be increased. Use arp -a to show the ARP table hashing distribution. Increase this value for systems that have a large number of clients or servers. The default provides for 149 x 7 = 1043 ARP entries, but assumes an even hash distribution.
  • bcastping — Purpose: Allows response to ICMP echo packets to the broadcast address. Tuning: A value of 0 disables it; while a value on 1 enables it. The default is to not respond to echo packets to a broadcast address. This prevents so called 'broadcast storms' on the network that can result when multiple machines respond to a broadcast address.
  • clean_partial_conns — Purpose: Specifies whether or not we are avoiding SYN attacks. If non-zero, clean_partial_conns specifies how many partial connections to be removed randomly to make room for new non-attack connections. Tuning: A value of 0 disables this option. This option should be turned on for servers that need to protect against network attacks.
  • delayack — Purpose: Delays ACKs for certain TCP packets and attempts to piggyback them with the next packet sent instead. Tuning: This action will only be performed for connections whose destination port is specified in the list of the delayackports attribute. This can be used to increase the performance when communicating with an HTTP server by reducing the total number of packets sent. The parameter can have one of following four values: 0 No delays, normal operation 1 Delays the ACK for the server's SYN 2 Delays the ACK for the server's FIN 3 Delay both the ACKs for the SYN and FIN
  • delayackports — Purpose: Specifies the list of destination ports for which the operation defined by the delayack port option is performed. Tuning: The attribute takes a maximum of 10 ports, which are separated by commas and enclosed in curly braces. For example: no -o delayackports={80,30080}. To clear the list, set the option to .
  • dgd_flush_cached_route — Purpose: Flushes the cached routes of sockets when Dead Gateway Detection detects a previous dead gateway back online. The connections are forced to reacquire the route before the data is sent. Tuning: A value of 1 enables the DGD to flush the cached routes. A value of 0 disables it.
  • dgd_packets_lost — Purpose: Specifies how many consecutive packets must be lost before Dead Gateway Detection decides that a gateway is down.
  • dgd_ping_time — Purpose: Specifies the seconds that must pass between pings of a gateway by Active Dead Gateway Detection.
  • dgd_retry_time — Purpose: Specifies the minutes a route's cost must remain raised when it is raised by Passive Dead Gateway Detection. After this many minutes pass, the route's cost is restored to its user-configured value. The unit specified is in numeric.
  • directed_broadcast — Purpose: Specifies whether a directed broadcast to a gateway must be allowed or not. Tuning: The value of 1 allows packets to be directed to a gateway that must be broadcast on a network on the other side of the gateway.
  • fasttimo — Purpose: Allows to set the millisecond delay for the TCP fast timeout timer. This timeout controls how often the system scans the TCP control blocks to send delayed acknowledgments. Tuning: Reducing this timer value can improve performance with some non-IBM systems. However, this parameter can result in slightly increased system utilization.
  • hstcp — Purpose: Enables the HighSpeed TCP as specified in RFC 3649. This parameter modifies the congestion control mechanism for use with TCP connections with large congestion windows to improve the average throughput. Tuning: A value of 1 enables the HighSpeed TCP enhancements on a system-wide scale. A value of 0 disables it.
  • icmp6_errmsg_rate — Purpose: Specifies the upper limit for the number of ICMP v6 error messages that can be sent per second. This parameter prevents excessive bandwidth from being used by ICMP v6 error messages.
  • icmpaddressmask — Purpose: Specifies whether the system responds to an ICMP address mask request. Tuning: If the value 0 is set, the network silently ignores any ICMP address mask request that it receives.
  • icmptimestamp — Purpose: Specifies whether the system responds to an ICMP timestamp request. Tuning: If the value of 0 is set, the network ignores any ICMP timestamp request that it receives.
  • ie5_old_multicast_mapping — Purpose: Specifies IP multicasts on token ring that must be mapped to the broadcast address rather than a functional address when value 1 is used.
  • ifsize — Purpose: Specifies the maximum number of network interface structures per interface of a single type. This limit does not apply to ethernet interface structures for which the infrastructure expands dynamically to handle any number of ethernet interface structures. Tuning: The ifsize parameter must be large on systems that supports hotplug adapters and on DLPAR configurations because adapters can be added as required. The static interface tables must be large enough to accept the large number of adapters that is added for this system or partition. If the system detects at the start, that more adapters of a type are present than that is allowed by the current value of ifsize, it automatically increases the value to support the number of adapters present.
  • ip6_defttl — Purpose: Specifies the default hop count that is used for IP version 6 packets if no other hop count is specified.
  • ip6_prune — Purpose: Specifies how often to check the IP version 6 routing table for expired routes, in seconds.
  • ip6forwarding — Purpose: Specifies whether the kernel must forward the IP version 6 packets. Tuning: The default value of 0 prevents forwarding of ipv6 packets when they are not for the local systems. A value of 1 enables forwarding.
  • ip6srcrouteforward — Purpose: Specifies whether the system forwards source-routed IP version 6 packets. Tuning: A value of 1 allows the forwarding of source-routed packets. A value of 0 causes all source-routed packets that are not at their destinations to be discarded.
  • ip_ifdelete_notify — Purpose: Specifies when an interface address is deleted. All the existing TCP connections that were bound locally to the interface address and were deleted must be notified with error ENETDOWN. Tuning: Existing FTP/Telnet connections are disconnected when the ENETDOWN error is returned.
  • ip_nfrag — Purpose: Specifies the maximum number of fragments of an IP packet that can be kept on IP reassembly queue at a time.
  • ipforwarding — Purpose: Specifies whether the kernel must forward packets. Tuning: Set this parameter to 1, if the system is acting as an IP router.
  • ipfragttl — Purpose: Specifies the time to live for IP fragments in half-seconds. Tuning: Check for fragments that dropped after timeout (netstat -p ip). If the value of IP, that is the fragments dropped after timeout is nonzero, increases the ipfragttl parameter, it can reduce retransmissions.
  • ipignoreredirects — Purpose: Specifies whether to process redirects that are received. Tuning: A value of 0 processes redirects as usual. A value of 1 ignores redirects.
  • ipqmaxlen — Purpose: Specifies the number of received packets that can be queued on the IP protocol input queue. Tuning: Examine if ipintrq overflows (netstat -s) or use crash to access IP input queue overflow counter. Increase size if system is using many loopback sessions. Most operating system network drivers call IP directly and do not use the IP queue. Increasing the ipqmaxlen parameter on these devices has no effect.
  • ipsendredirects — Purpose: Specifies whether the kernel must send redirect signals. Tuning: This parameter is a configuration decision with performance consequences.
  • ipsrcrouteforward — Purpose: Specifies whether the system forwards source routed packets. Tuning: The default value of 1 allows the forwarding of source-routed packets. A value of 0 causes all source-routed packets that are not at their destinations to be discarded.
  • ipsrcrouterecv — Purpose: Specifies whether the system accepts source routed packets. Tuning: The default value of 0 causes all source-routed packets that are destined for this system to be discarded. A value of 1 allows source-routed packets to be received.
  • ipsrcroutesend — Purpose: Specifies whether applications can send source routed packets. Tuning: The default value of 1 allows source-routed packets to be sent. A value of 0 causes setsockopt() to return an error if an application attempts to set the source routing option, and removes any source routing options from the outgoing packets.
  • limited_ss — Purpose: Enables the Limited SlowStart as specified in RFC 3742. This limits the number of segments by which the congestion window is increased for one window during slow-start. This enhancement improves the performance for TCP connections with large congestion windows. Tuning: A value from 1 to 100 enables the Limited SlowStart enhancements on a system-wide scale and sets it as the number of segments to the value of the maximum SlowStart threshold. A value of 0 disables it. The default value is 0.
  • llsleep_timeout — Purpose: Specifies timeout value in seconds for link local timeouts (used when multi_homed=1).
  • lo_perf — Purpose: Specifies whether the loopback traffic enabled or disabled.
  • lowthresh — Purpose: Specifies the maximum number of bytes that can be allocated by using the allocb call for the BPRI_LO priority. Tuning: When the total amount of memory that is allocated by the net_malloc call reaches this threshold, then the allocb request for the BPRI_LO priority returns 0. The lowthresh attribute represents a percentage of the thewall attribute and you can set its value from 0 to 100.
  • main_if6 — Purpose: Specifies the interface to use for link local addresses.
  • main_site6 — Purpose: Specifies the interface to use for site local address routing.
  • maxnip6q — Purpose: Specifies the maximum number of IP version 6 packet reassembly queues.
  • maxttl — Purpose: Specifies the time to live (in seconds) for RIP packets.
  • medthresh — Purpose: Specifies the maximum number of bytes that can be allocated by using the allocb call for the BPRI_MED priority. Tuning: When the total amount of memory that is allocated by the net_malloc call reaches this threshold, then the allocb request for the BPRI_MED priority returns 0. The medthresh attribute represents a percentage of the thewall attribute. A typical setting of 95 represents 95% of thewall attribute.
  • mpr_policy — Purpose: Specifies the policy to be used for Multipath Routing. Tuning: The following are the available routing policies: Weighted Round-Robin (1) Based on user-configured weights that are assigned to the multiple routes (through the route command) round-robin is applied. If no weights are configured then, it behaves identical to plain round-robin. Random (2) Chooses a route at random. Weighted Random (3) Chooses a route that is based on user-configured weights and a randomization routine. The policy adds up the weights of all the routes and picks a random number between 0 and total weight. Each of the individual weights is removed from the total weight until this number is zero. This picks a route in the range of the total number of routes available. Lowest Utilization (4) Chooses a route with the minimum number of current connections going through it. Hash-based (5) Hash-based algorithm chooses a route by hashing based on the destination IP address.
  • multi_homed — Purpose: Specifies the level of multi-homed IP version 6 host support. Tuning: Tuning is performed for connections whose destination port is specified in the list of the delayackports parameter. This parameter can be used to increase performance when communicating with an HTTP server. The parameter can have one of four values: 0 Indicates the original functionality in AIX 4.3. 1 Indicates that link local addresses is resolved by querying each interface for the link local address. 2 Indicates that link local addresses is examined for the interface that is defined by main_if6. 3 Indicates that link local addresses is examined for the interface that is defined by main_if6 and site local addresses are routed to the main_site6 interface.
  • nbc_limit — Purpose: Specifies the total maximum amount of memory that can be used for the Network Buffer Cache. Tuning: This attribute is in number of Kilobytes. When the cache grows to this limit, the rarely used cache objects are flushed out of the cache to make room for the new ones.
  • nbc_max_cache — Purpose: Specifies the maximum size of the cache object that is allowed in the Network Buffer Cache without using the private segments. Tuning: This parameter is in number of bytes. A data object bigger than this size is either cached in a private segment or is not cached at all.
  • nbc_min_cache — Purpose: Specifies the minimum size of the cache object that is allowed in the Network Buffer Cache. Tuning: This attribute is in number of bytes. A data object smaller than this size is not put into the NBC. This attribute applies for send_file() API and some web servers that use the get engine in the kernel.
  • nbc_ofile_hashsz — Purpose: Specifies the size of the hash table that is used for hashing cache objects in the Network Buffer Cache. Tuning: This hash table size applies to only opened file entries that is, entries that cache files from the file system. Since this attribute resizes the hash table size and affects the hashing of all existing entries, this attribute can be modified when the Network Buffer Cache is empty.
  • nbc_pseg — Purpose: Specifies the maximum number of private segments that can be created for the Network Buffer Cache. Tuning: When this option is set at nonzero0, a data object between the size that is specified in nbc_max_cache and the segment size (256MB) is cached in a private segment. A data object bigger than the segment size is not cached. When the maximum number of private segments exist, cache data in private segments can be flushed for new cache data so that the number of private segments do not exceed the limit. When nbc_pseg is set to 0, all cache in private segments is flushed.
  • nbc_pseg_limit — Purpose: Specifies the maximum amount of cached data size allowed in private segments in the Network Buffer Cache. Tuning: This value is expressed in Kilobytes. Since data cached in private segments are pinned by the Network Buffer Cache, nbc_pseg_limit controls the amount of pinned memory that is used for the Network Buffer Cache in addition to the network buffers in global segments. When the amount of cached data reaches this limit, cache data in private segments can be flushed for new cache data so that the total pinned memory size does not exceed the limit. When nbc_pseg_limit is set to 0, all cache in private segments is flushed.
  • ndd_event_name — Purpose: Specifies the list of interface names for ns_alloc and ns_free events to be captured, when the trace of ns_alloc/ns_free events is enabled by setting the ndd_event_tracing option.
  • ndd_event_tracing — Purpose: Specifies the size of the ns_alloc/ns_free trace buffer. Tuning: If the value of this option is non-zero all ns_alloc/ns_free events are traced in a kernel buffer. A value of zero disables this event tracing. If the values of ndd_event_tracing are larger than 1024 it allocates as many items in the kernel buffer for tracing.
  • ndp_mmaxtries — Purpose: Specifies the maximum number of Multicast NDP Neighbor Discovery Protocol (NDP) packets to send.
  • ndp_umaxtries — Purpose: Specifies the maximum number of Unicast Neighbor Discovery Protocol (NDP) packets to send.
  • ndpqsize — Purpose: Specifies the number of packets to hold waiting on completion of a Neighbor Discovery Protocol (NDP) entry that is used by IP version 6.
  • ndpt_down — Purpose: Specifies the time, in half seconds, to hold down an NDP entry.
  • ndpt_keep — Purpose: Specifies the time, in half seconds, to keep a Neighbor Discovery Protocol (NDP) entry.
  • ndpt_probe — Purpose: Specifies the time in half seconds, to delay before the first Neighbor Discovery Protocol (NDP) probe is sent .
  • ndpt_reachable — Purpose: Specifies the time, in half seconds, to test if a Neighbor Discovery Protocol (NDP) entry is still valid.
  • ndpt_retrans — Purpose: Specifies the time, in half seconds, to wait before an NDP request is retransmitted.
  • net_buf_size — Purpose: Specifies a list of buffer sizes for net_malloc/net_free events to be captured. Tuning: The net_buf_size strings represent a list of sizes. If this attribute is not of value all, only net_malloc/net_free events of those sizes are captured. A value of all means that the events of any size are captured.
  • net_buf_type — Purpose: Specifies a list of buffer types for net_malloc/net_free events to be captured. Tuning: The net_buf_type string represents a list of types. If the string is not empty and different from all, only net_malloc/net_free events of that type is captured.
  • net_malloc_frag_mask — Purpose: It is used as boolean attribute for mask with each bucket that requests similar fragments to be promoted to full pages. Tuning: Allows promotion of allocations smaller than 1 page to full pages for better detection of memory overwrite problems. It is a mask for each bucket size that requests such fragments to be promoted to full pages. Enabling this option for memory fragments results in lower performance.
  • netm_page_promote — Purpose: Specifies whether to allow promotion of a fragment to page size. Tuning: This option allows promotion of fragment sizes that are specified in net_malloc_frag_mask to page size. Setting this option to 0, disables the page promotion irrespective of the sizes that are set in net_malloc_frag_mask.
  • nonlocsrcroute — Purpose: Tells the Internet Protocol that strictly source-routed packets can be addressed to hosts outside the local network. Tuning: A value of 0 disallows addressing to outside hosts. A value of 1 allows packets to be addressed to outside hosts. Loosely source routed packets are not affected by this attribute.
  • nstrpush — Purpose: Specifies the maximum number of modules that you can push onto a single stream. The minimum value is 8. Tuning: This parameter is read-only. This attribute can be set when loading the operating system in the /etc/pse_tune.conf file.
  • passive_dgd — Purpose: Specifies whether Passive Dead Gateway Detection is enabled. Tuning: A value of 0 disables passive_dgd, and a value of 1 enables it for all gateways in use.
  • pmtu_default_age — Purpose: This option is now unused because UDP applications are now required to always set IP_DONTFRAG socket option to be able to detect decreases in Path MTU. Tuning: A value of zero allows no aging. The default value is 10 minutes. The pmtu_default_age value can be overridden by UDP applications. pmtu_default_age is a runtime attribute.
  • pmtu_expire — Purpose: Specifies the default amount of time (in minutes) before which the path MTU entries with reference count of zero are deleted. Tuning: A value of 0 suggests that the pmtu entries does not expire.
  • pmtu_rediscover_interval — Purpose: Specifies the default amount of time (in minutes) before the path MTU value for UDP and TCP paths are checked for a higher value. Tuning: A value of 0 allows no path MTU rediscovery.
  • psebufcalls — Purpose: Specifies the maximum number of bufcalls to allocate by Streams. Tuning: The Stream subsystem allocates certain number of bufcall structures at initialization, so that when the allocb call fails, the user can register their requests for the bufcall. You are not allowed to lower this value until the system is restarted. During restart, the parameter returns to its default value.
  • psecache — Purpose: Controls the number of stream buffers.
  • psetimers — Purpose: Specifies the maximum number of timers to allocate by Streams. Tuning: The Stream subsystem allocates certain a number of timer structures at initialization so that the streams driver or module can register their timeout calls. You are not allowed to lower this value until the system is restarted. During restart, the parameter returns to its default value.
  • rfc1122addrchk — Purpose: Performs address validation as specified by RFC1122, Requirements for Internet Hosts-Communication Layers. Tuning: A value of 0 does not perform address validation. A value of 1 performs address validation.
  • rfc1323 — Purpose: Enables TCP enhancements as specified by RFC 1323, TCP Extensions for High Performance. Tuning: A value of 0 disables the RFC enhancements on a system-wide scale. A value of 1 specifies that all TCP connections attempts to negotiate the RFC enhancements. The SOCKETS application can override the default behavior on individual TCP connections, by using the setsockopt subroutine. The rfc1323 network option can also be set on a per interface basis through the ifconfig command.
  • rfc2414 — Purpose: Enables the increasing of TCP's initial window as described in RFC 2414. Tuning: When it is on, the initial window depends on setting the tcp_init_window tunable.
  • route_expire — Purpose: Specifies whether the route expires. Tuning: A value of 0 allows no route expiration. Negative values are not allowed for this option.
  • routerevalidate — Purpose: Specifies that each cached route of a connection must be validated when a new route is added to the routing table. Tuning: This option ensures that applications that keep the same connection open for long periods of time (for example NFS) uses the correct route after routing table changes occur. A value of 0 does not revalidate the cached routes. Turning on this option can cause some performance degradation.
  • rto_high — Purpose: Specifies the TCP Retransmit Time out high value that is used in calculating factors, and the allowable maximum retransmits that is used in TCP data segment retransmits. Tuning: rto_high is the high factor.
  • rto_length — Purpose: Specifies the TCP Retransmit Time Out length value that is used in calculating factors, and the allowable maximum retransmits that is used in TCP data segment retransmits. Tuning: rto_length is the total number of time segments.
  • rto_limit — Purpose: Specifies the TCP Retransmit Time out limit value that is used in calculating factors, and the allowable maximum retransmits that is used in TCP data segment retransmits. Tuning: rto_limit is the number of time segments from rto_low to rto_high.
  • rto_low — Purpose: Specifies the TCP Retransmit Time Out low value that is used in calculating factors, and the allowable maximum retransmits that is used in TCP data segment retransmits. Tuning: rto_low is the low factor.
  • sack — Purpose: Enables TCP Selective Acknowledgment as described in RFC 2018. Tuning: A value of 1 makes all TCP connections negotiate sack. Default is zero, which disables the negotiation. sack feature needs support from the peer TCP. The negotiation phase during connection initiation determines that. When out of order segments are received , Selective Acknowledgments from the receiver informs the sender of the data that is received so that the sender can retransmit only the missing segments. This results in less unnecessary retransmitted segments. Sack is useful for recovering fast from multiple packet drops in a window of data.
  • sb_max — Purpose: Specifies the maximum buffer size that is allowed for a TCP and UDP socket. Limits setsockopt, udp_sendspace, udp_recvspace, tcp_sendspace, and tcp_recvspace. Tuning: Increase size, preferably to multiple of 4096. Must be approximately two to four times the largest socket buffer limit.
  • send_file_duration — Purpose: Specifies the cache validation duration for all the file objects that system call send_file accessed in the network buffer cache. Tuning: This attribute is in number of seconds. A value of 0 means that the cache is validated for every access.
  • site6_index — Purpose: Specifies the maximum interface number for site local routing.
  • sockthresh — Purpose: Specifies the maximum amount of network memory that can be allocated for sockets. Used to prevent new sockets or TCP connections from exhausting all MBUF memory and reserve the remaining memory for the existing sockets or TCP connections. Tuning: When the total amount of memory that is allocated by the net_malloc subroutine reaches the sockthresh threshold, the socket and socketpair system calls fail with an error of ENOBUFS. Incoming connection requests are silently discarded. Existing sockets can continue to use more memory. The sockthresh attribute represents a percentage of the thewall attribute.
  • sodebug — Purpose: Specifies whether the newly created sockets has SO_DEBUG flag on.
  • sodebug_env — Purpose: Specifies whether SODEBUG process environment variable is checked for the newly created sockets; if so, these sockets has the SO_DEBUG flag on.
  • somaxconn — Purpose: Specifies the maximum listen backlog. Tuning: Increase this parameter on busy web servers to handle peak connection rates.
  • strctlsz — Purpose: Specifies the maximum number of bytes of information that a single system call can pass to a Stream to place into the control part of a message (in an M_PROTO or M_PCPROTO block). Tuning: The putmsg call with a control part that exceeds this size fails with ERANGE.
  • strmsgsz — Purpose: Specifies the maximum number of bytes of information that a single system call can pass to a Stream to place into the data part of a message (in M_DATA blocks). Tuning: Any write call that exceeds this size is broken into multiple messages. The putmsg call with a data part that exceeds this size fails with ERANGE.
  • strthresh — Purpose: Specifies the maximum number of bytes Streams are normally allowed to allocate. Tuning: When the threshold is passed, strthresh does not allow users without the appropriate privilege to open Streams, push modules, or write to Stream devices, and returns ENOSR. The threshold applies to the output and does not affect the data coming into the system (for example, console continues to work properly). A value of zero means that there is no threshold. The strthresh attribute represents a percentage of the thewall attribute. The thewall attribute indicates the maximum number of bytes that can be allocated by Streams and Sockets by using the net_malloc call.
  • strturncnt — Purpose: Specifies the maximum number of requests that are handled by the current running thread for Module or Elsewhere level Streams synchronization. Tuning: The Module level synchronization works in a way that only one thread can run in the module at any time and all other threads, which try to acquire the same module enqueues their requests and leave. After the current running thread completes its work, it dequeues all the previously enqueued requests one by one and runs them. If there are many requests that are enqueued in the list, then the current running thread has to serve everyone and will always be busy serving others and starves itself. To avoid this situation, the current running thread serves only the strturncnt number of threads after that a separate kernel thread activates and runs all the pending requests.
  • subnetsarelocal — Purpose: Specifies whether all subnets that match the subnet mask are to be considered local for purposes of establishing, for example, the TCP maximum segment size. Tuning: This parameter is used by the in_localaddress subroutine. The default value, 1 specifies that addresses that match the local network mask are local. If the value is 0, addresses that match the local subnetwork are local. This is a configuration decision with performance consequences. If all the subnets do not have the same MTU, fragmentation at bridges can degrade performance. If the subnets do have the same MTU, and subnetsarelocal is 0, TCP sessions can use a small MSS.
  • tcp_bad_port_limit — Purpose: Specifies the number of TCP segments to a port, which does not have a socket connection, within the time duration of half a second. TCP stops sending TCP reset segments in response after this time. Tuning: If the value is set to 0, TCP indicates a bad port number error by sending TCP reset segments. A value greater than 0 indicates the number of TCP segments received by a port, which does not have a socket connection, within the time duration of half a second before TCP stops sending TCP reset segments.
  • tcp_cwnd_modified — Purpose: Allows the TCP IP applications with specific socket options to adjust the network congestion window. This parameter might be used only in a specific wide area network (WAN) environment. Tuning: Default value is 0, which disables the tuning parameter. Tuning it to a value of 1 allows to adjust the network congestion window.
  • tcp_ecn — Purpose: Enables TCP level support for Explicit Congestion Notification as described in RFC 2481. Tuning: Default is off (0). Turning it on (1) makes all connections negotiate ECN capability with the peer. For this feature to work, you need support from the peer TCP and also IP level ECN support from the routers in the path.
  • tcp_ephemeral_high — Purpose: Specifies the largest port number to allocate for TCP ephemeral ports. Tuning: The number of ephemeral sockets is determined by tcp_ephemeral_high minus tcp_ephemeral_low. For maximum number of ephemeral sockets, set tcp_ephemeral_high to 65535 and tcp_ephemeral_low to 1024.
  • tcp_ephemeral_low — Purpose: Specifies the smallest port number to allocate for TCP ephemeral ports. Tuning: The number of ephemeral sockets is determined by tcp_ephemeral_high minus tcp_ephemeral_low. For maximum number of ephemeral sockets, set tcp_ephemeral_high to 65535 and tcp_ephemeral_low to 1024.
  • tcp_finwait2 — Purpose: Specifies the length of time to wait in the FIN_WAIT2 state before closing the connection, measured in half seconds.
  • tcp_icmpsecure — Purpose: Specifies whether or not ICMP (Internet Control Message Protocol) attacks on TCP are avoided. Tuning: This option should be turned on to protect TCP connections against ICMP attacks. The ICMP attacks may be of the form of ICMP source quench attacks and PMTUD (Path MTU Discovery) attacks. If this network option is turned on, the system does not react to ICMP source quench messages. This will protect against ICMP source quench attacks. Also, if this network option is enabled, the payload of the ICMP message is tested to determine if the sequence number of the TCP header portion of the payload is within the range of acceptable sequence numbers. This will mitigate PMTUD attacks to a large extent.

|

|

  • tcp_init_window — Purpose: This value is used only when rfc2414 is turned on (ignored otherwise). Tuning: If rfc2414 is on and this value is zero, then the initial window computation is done according to rfc2414. If this value is non-zero, the initial (congestion) window is initialized a number of maximum sized segments equal to tcp_init_window. Changing tcp_init_window allows you to tune the TCP slow start to control the number of TCP segments (packets) outstanding before an ACK is received. For example, setting this value to 6 would allow 6 packets to be sent initially, instead of the normal 2 or 3 packets, thus speeding up the initial packet rate.
  • tcp_inpcb_hashtab_siz — Purpose: Specifies the size of the inpcb hash table for TCP connections. Tuning: This table holds the inpcbs required for connection management and is implemented as a table of hash chains. A larger table means that the linked hash chains will be smaller and lower traversal time on the average but the memory footprint will be larger. This value should be a prime number. This option impacts performance and should be used with extreme caution. Please consult a performance analyst in case it is felt that the value needs to be changed. The execution environment could have an influence on the value. It is strongly encouraged to maintain the system defined defaults as they tend to execute optimally in most environments.
  • tcp_keepcnt — Purpose: tcp_keepcnt represents the number of keepalive probes that could be sent before terminating the connection.
  • tcp_keepidle — Purpose: Specifies the length of time to keep the connection active, measured in half seconds.
  • tcp_keepinit — Purpose: Sets the initial timeout value for a TCP connection, which is measured in half seconds.
  • tcp_keepintvl — Purpose: Specifies the interval, which is measured in half seconds, between packets that are sent to validate the connection. Tuning: For example, 150 half seconds results in 75 seconds between validation probes. This allows TCP to know that a connection is still valid and keep the connection open when it is otherwise idle. This is a configuration decision with minimal performance consequences. No change is recommended. If the interval were shortened significantly, processing and bandwidth costs might become significant.
  • tcp_limited_transmit — Purpose: Enables the feature that enhances TCP's loss recovery as described in the RFC 3042. Tuning: A value of 1 enables this option and zero disables the option.
  • tcp_low_rto — Purpose: Specifies the TCP retransmit timeout (RTO) in milliseconds for connections that are experiencing packet drops. Tuning: A tick is 10 ms (one 100th of a second). The option timer_wheel_tick must be set to non-zero value before setting the tcp_low_rto option. Also, tcp_low_rto can be equal to zero or a multiple of ten times the timer_wheel_tick value. This tunable allows TCP to use smaller timeout values for packet timeout and retransmit on high speed networks. Normal TCP retransmit timeout is 1.5 seconds.
  • tcp_maxburst — Purpose: Specifies the number of back-to-back packets that TCP can send before pausing to allow those packets to be forwarded to their destination. Tuning: This can be useful if routers are unable to handle large bursts of TCP packets and are dropping some of them. A value of 0 means no limitation for back-to-back packets before pausing.
  • tcp_mssdflt — Purpose: Default maximum segment size that is used in communicating with remote networks. Tuning: tcp_mssdflt is only used if path MTU discovery is not enabled or path MTU discovery fails to discovery a path MTU. The tcp_mssdflt network option can also be set on a per interface basis (see the documentation for ISNO options). Limiting data to (MTU - 40) bytes ensures that, where possible, only full packets are sent.
  • tcp_nagle_limit — Purpose: This is the Nagle algorithm threshold in bytes, which can be used to disable Nagle. Tuning: The default is Nagle turned on. To disable Nagle, set this value to 0 or 1. TCP disables Nagle for data segments larger than or equal to this threshold value.
  • tcp_nagleoverride — Purpose: Setting the option tcp_nagle_limit turns off the Nagle algorithm system wide and setting tcp_nodelay option for a socket turns off the Nagle algorithm for that specific connection whereas setting tcp_ nagleoverride disables the Nagle algorithm only for certain situations during the connection. Tuning: The value of 1 disables Nagle algorithm only for certain TCP packets in a connection.
  • tcp_ndebug — Purpose: Specifies the number of tcp_debug structures.
  • tcp_newreno — Purpose: Enables the modification to TCP's Fast Recovery algorithm as described in RFC 2582. Tuning: This fixes the limitation of TCP's Fast Retransmit algorithm to recover fast from dropped packets when multiple packets in a window are dropped. sack also achieves the same thing but sack needs support from both ends of the TCP connection; the NewReno modification is only on the sender side.
  • tcp_nodelayack — Purpose: Turning this parameter on causes TCP to send immediate acknowledgement (Ack) packets to the sender. When tcp_nodelayack is disabled, TCP delays sending Ack packets by up to 200ms. This allows the Ack to be piggy-backed onto a response and minimizes system overhead. Tuning: This option can be used to overcome bugs in other implementations of the TCP nagle algorithm. Setting this option to 1 will cause slightly more system overhead, but can result in much higher performance for network transfers if the sender is waiting on the receiver's acknowledgement.
  • tcp_pmtu_discover — Purpose: Enables or disables path MTU discovery for TCP applications. Tuning: A value of 0 disables path MTU discovery for TCP applications, while a value of 1 enables it.
  • tcp_recvspace — Purpose: Specifies the system default socket buffer size for receiving data. This affects the window size used by TCP. Tuning: The optimum buffer size is the product of the media bandwidth and the average round-trip time of a packet. The tcp_recvspace network option can also be set on a per interface basis (reference documentation on Interface Specific Network Options (ISNO) ). Most interfaces now have this tunable set in the ISNO defaults. The tcp_recvspace attribute must specify a socket buffer size less than or equal to the setting of the sb_max attribute.
  • tcp_sendspace — Purpose: Specifies the system default socket buffer size for sending data. Tuning: The optimum buffer size is the product of the media bandwidth and the average round-trip time of a packet: optimum_window=bandwidth * average_round_trip_time. The tcp_sendspace network option can also be set on a per interface basis (reference documentation on Interface Specific Network Options (ISNO) ). Most interfaces now have this tunable set in the ISNO defaults. The tcp_sendspace attribute must specify a socket buffer size less than or equal to the setting of the sb_max attribute.
  • tcp_tcpsecure — Purpose: Specifies whether connection reset attacks and data corruption attacks on TCP are avoided. Tuning: This option is used to protect TCP connections from one or more of the following three vulnerabilities. The first vulnerability involves sending of a fake SYN to an established connection to abort the connection. A tcp_tcpsecure value of 1 provides protection from this vulnerability. The second vulnerability involves the sending of a fake RST to an established connection to abort the connection. A tcp_tcpsecure value of 2 provides protection from this vulnerability. The third vulnerability involves injecting fake data in an established TCP connection. A tcp_tcpsecure value of 4 provides protection from this vulnerability. Values for tcp_tcpsecure can range from a minimum of 0 (this is the default value and provides no protection from these vulnerabilities) to a maximum value of 7. Values of 3, 5, 6, or 7 protects the connection from combinations of these three vulnerabilities.
  • tcp_timewait — Purpose: The tcp_timewait option is used to configure how long connections are kept in the timewait state. Tuning: It is given in 15 second intervals. Increasing this value degrades performance of web servers or applications that open and close many TCP connections.
  • tcp_ttl — Purpose: Specifies the time to live for TCP packets, expressed in ticks. Tuning: A tick is 0.6 seconds (there are 100 ticks per minutes).
  • tcprexmtthresh — Purpose: Specifies the number of consecutive duplicate acknowledgements, which cause TCP to goto fast retransmit phase. Tuning: Increase this parameter if TCP performance is low due to an increased number of duplicate acknowledgements but the network is not congested. Be aware that setting a high value for this option can cause TCP to time out and retransmit.
  • tcptr_enable — Purpose: Enables TCP traffic regulation that is defined by policies that created by using the tcptr command. A value of 0 means disabled. Any non-zero value means traffic regulation is enabled. Tuning: A value of 0 disables this option. This option must be turned on for servers that must protect against network attacks.
  • thewall — Purpose: Specifies the maximum amount of memory, in kilobytes, that is allocated to the memory pool. Tuning: Cannot be set anymore.
  • timer_wheel_tick — Purpose: Specifies the slot interval of the timer wheel, in ticks, where a tick=1000/HZ=10ms. Tuning: This attribute is used with tcp_low_rto attribute to reduce the TCP timeout values to smaller units.
  • tn_filter — Purpose: The option is valid for Trusted AIX environment only. If the option is disabled in this environment, the MAC checks are bypassed at the IP layer.
  • udp_bad_port_limit — Purpose: Specifies the number of UDP packets to a port with no socket that can be received in a 500-millisecond period before UDP stops sending ICMP errors in response to such packets. Tuning: If set to 0, ICMP errors will always be sent when UDP packets are received for a bad port number. If greater than 0, it specifies the number of packets to be received before UDP stops sending ICMP errors.
  • udp_ephemeral_high — Purpose: Specifies the largest port number to allocate for UDP ephemeral ports.
  • udp_ephemeral_low — Purpose: Specifies the smallest port number to allocate for UDP ephemeral ports.
  • udp_inpcb_hashtab_siz — Purpose: Specifies the size of the inpcb hash table for UDP connections. This table holds the inpcbs that is required for connection management and is implemented as a table of hash chains. A larger table means that the linked hash chains is smaller and lower traversal time on the average but the memory footprint is larger. Tuning: This value must be a prime number. This option impacts performance and must be used with extreme caution. Consult a performance analyst in case it is felt that the value must be changed. The execution environment can have an influence on the value. It is encouraged to maintain the system defined defaults as they tend to run optimally in most environments.
  • udp_pmtu_discover — Purpose: Enables or disables path MTU discovery for UDP applications. Tuning: UDP applications must be written to use path MTU discovery. A value of 0 disables the feature, while a value of 1 enables it.
  • udp_recvspace — Purpose: Specifies the system default socket buffer size for receiving UDP data. Tuning: Change when nonzero n in netstat -s report of udp: n socket buffer overflows. The udp_recvspace parameter must specify a socket buffer size less than or equal to the setting of the sb_max parameter. Increase size, preferably to multiple of 4096.
  • udp_sendspace — Purpose: Specifies the system default socket buffer size (in bytes) for sending UDP data. Tuning: The udp_sendspace attribute must specify a socket buffer size less than or equal to the setting of the sb_max attribute. udp_sendspace must be at least as large as the largest datagram size that the application sends. Increase size, preferably to multiple of 4096.
  • udp_ttl — Purpose: Specifies the time to live (in seconds) for UDP packets.
  • udpcksum — Purpose: Allows UDP checksum to be turned on/off. Tuning: A value of 0 turns it off; while a value of 1 turns it on.
  • use_sndbufpool — Purpose: Enables caching of mbuf clusters to improve performance. Tuning: If this value is disabled, then to allocate a mbuf cluster, AIX allocates a cluster buffer and also a mbuf buffer to point to it, thus requiring two buffer allocation operations. Likewise, to free the cluster, two buffer free operations are required. With this option enabled, AIX maintains a cache of clusters for each cluster size that is being used. This improves performance by reducing overhead to allocate and free mbuf clusters. The default value of 1 enables this option on a system-wide scale. The mbuf cluster cache can be displayed by using the netstat -M command.
  • Compatibility Mode

When running in pre 5.2 compatibility mode that is controlled by the pre520tune attribute of sys0, see AIX 5.2 compatibility mode. The reboot values for parameters, except those of type Bosboot, are not applicable because in the pre 5.2 compatibility mode they are not applied during boot.

In pre 5.2 compatibility mode, setting reboot values to tuning parameters continues to be achieved by embedding calls to tuning commands in scripts that are called during the boot sequence. Parameters of type Reboot can therefore be set without the -r flag, so that existing scripts continue to work.

This mode is automatically turned ON when a machine is MIGRATED to AIX 5L Version 5.2. For complete installations, it is turned OFF and the reboot values for parameters are set by applying the content of the /etc/tunables/nextboot file during the reboot sequence. Only in that mode are the -r and -p flags fully functional. See Kernel Tuning in the Performance Tools Guide and Reference for details.

보안

RBAC 사용자와 Trusted AIX 사용자는 주의하세요. 이 명령은 특권 작업을 할 수 있으며, 특권 작업은 특권 사용자만 할 수 있습니다. 특권과 권한 목록은 lssecattr 명령이나 getcmdattr 하위 명령으로 봅니다.

영어 원문

Attention RBAC users and Trusted AIX users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.

예제

명령 하는 일
no -o thewall mbuf 풀의 최대 크기
no -d udp_ttl UDP 패킷 생존 시간을 기본값으로
no -r -o tcp_sendspace=32768 다음 부팅부터 TCP 송신 버퍼 기본 크기를 32768로
no -r -o udp_recvspace=32768 다음 부팅부터 UDP 수신 버퍼 기본 크기를 32768로
no -o ipforwarding=1 시스템을 IP 라우터로 씀
no -L 모든 조정 값의 현재·재부팅 값, 범위, 단위, 유형, 의존 관계
no -h udp_ephemeral_high udp_ephemeral_high의 도움말
no -p -o ip6srcrouteforward=0 ip6srcrouteforward를 영구로 끔
no -r -a 모든 네트워크 조정 값의 재부팅 값
no -x 모든 조정 값의 특성을 스프레드시트 형식으로

메모리 할당 추적 예:

bash
# 크기 256이나 4096인 mbuf·socket 유형의 할당·해제를 기록
no -o net_buf_type={mbuf:socket} -o net_buf_size={256:4096} -o net_malloc_police=1
# mbuf 유형의 모든 할당·해제를 기록
no -o net_buf_type={mbuf} -o net_buf_size={all} -o net_malloc_police=1
# en0, en3의 ns_alloc·ns_free를 2000개 버퍼로 기록
no -o ndd_event_name={en0:en3} -o ndd_event_tracing=2000
# 모든 en 어댑터
no -o ndd_event_name={en} -o ndd_event_tracing=2000
# 모든 어댑터
no -o ndd_event_name={all} -o ndd_event_tracing=1

자주 쓰는 형태:

bash
no -a | egrep "sb_max|tcp_sendspace|tcp_recvspace|rfc1323|sack|use_isno"
no -p -o sb_max=4194304 -o rfc1323=1
ifconfig en0          # ISNO 값(tcp_sendspace 등)이 인터페이스에 붙어 있는지 확인

관련 명령어: ifconfig, chdev, netstat, nfso

영어 원문
  1. To display the maximum size of the mbuf pool, type:
no -o thewall
  1. To reset the time to live for UDP packets its default size, type:
no -d udp_ttl
  1. To change the default socket buffer sizes on your system, type:
no -r -o tcp_sendspace=32768
no -r -o udp_recvspace=32768
  1. To use a system as an internet work router over Internet Protocol networks, type:
no -o ipforwarding=1
  1. To list the current and reboot value, range, unit, type and dependencies of all tunable parameters that are managed by the no command, type:
no -L
  1. To display the help information about the udp_ephemeral_high option, type:
no -h udp_ephemeral_high
  1. To permanently turn off the ip6srcrouteforward option, type:
no -p -o ip6srcrouteforward=0
  1. To list the reboot values for all Network tuning parameters, type:
no -r -a
  1. To list (spreadsheet format) the current and reboot value, range, unit, type and dependencies of all tunable parameters that are managed by the no command, type:
no -x
  1. To log all allocations and frees of type mbuf or socket that are size 256 or 4096, type:
no -o net_buf_type={mbuf:socket} -o net_buf_size={256:4096} -o net_malloc_police=1
  1. To log all allocations and frees of type mbuf, type:
no -o net_buf_type={mbuf} -o net_buf_size={all} -o net_malloc_police=1
  1. To log all ns_allocs and ns_frees for en0 or en3 by using a 2000 events buffer size, type:
no -o ndd_event_name={en0:en3} -o ndd_event_tracing=2000
  1. To log all ns_allocs and ns_frees for all en adapters by using a 2000 events buffer size, type:
no -o ndd_event_name={en} -o ndd_event_tracing=2000
  1. To log all ns_allocs and ns_frees for all adapters, type:
no -o ndd_event_name={all} -o ndd_event_tracing=1

Related information:

  • ifconfig command
  • Communications and networks
  • AIX 5.2 compatibility mode
  • Internet Protocol
  • Kernel Tuning

리눅스(GNU)와 다른 점

리눅스에서는 sysctl의 net.* 키로 같은 일을 합니다. 예를 들어 net.ipv4.ip_forward(ipforwarding), net.core.rmem_max·wmem_max(sb_max), net.ipv4.tcp_rmem·tcp_wmem(tcp_recvspace·tcp_sendspace), net.core.somaxconn, net.ipv4.tcp_sack, net.ipv4.ip_local_port_range(임시 포트), net.ipv4.tcp_keepalive_time(tcp_keepidle) 등입니다. 영구 설정은 /etc/sysctl.conf나 /etc/sysctl.d/에 둡니다. AIX의 ISNO처럼 인터페이스별로 소켓 버퍼를 정하는 기능은 없습니다.