|
1. ndd Ä¿¸Çµå¸¦ ÀÌ¿ëÇÑ ¹æ¹ý
ndd -set /dev/hme adv_autoneg_cap 0 (¿ÀÅä¼¾½Ì ±â´É off)
ndd -set /dev/hme adv_100fdx_cap 1 (100Mbps Ç® µàÇ÷º½º ±â´É on)
ndd -set /dev/hme adv_100hdx_cap 0
ndd -set /dev/hme adv_100T4_cap 0
/etc/init.d/inetsvc¿¡ ´ÙÀ½°ú °°Àº ¹®ÀåÀ» Ãß°¡ÇÑ´Ù.
/usr/sbin/ndd -set /dev/hme adv_100fdx_cap 1
2. /etc/system¿¡ ¼³Á¤ÇÏ´Â ¹æ¹ý
set hme:hme_adv_autoneg_cap=0
set hme:hme_adv_100hdx_cap=0
set hme:hme_adv_100fdx_cap=1
- tcp_time_wait_interval Á¶Á¤
/usr/sbin/ndd -set /dev/tcp tcp_time_wait_interval 60000
or
/etc/system ÆÄÀÏ¿¡
set ip:ip_forwarding=0
+ /etc/system ¼³Á¤ À߸øÀ¸·Î ºÎÆÃÀÌ ¾ÈµÇ´Â °æ¿ì
boot prom¿¡¼
boot -i·Î ºÎÆÃÇÑ ´ÙÀ½¿¡
/etc/systemÀ» ÂüÁ¶ÇÒ ¶§ /dev/nullÀ» ÂüÁ¶ÇÑ´Ù°í Çؼ ºÎÆÃÈÄ¿¡ ´Ù½Ã ¼öÁ¤ÇÒ °Í
- tcp ¼³Á¤ Á¤º¸ Á¶È¸
ndd -get /dev/tcp ?
- tcp tuning parameter ¸ñ·ÏÁß¿¡ ÀÚÁÖ ÀÌ¿ëÇÏ´Â °Í Á¤¸®.
+ tcp_time_wait_interval
Solaris 2.6 ÀÌÀü±îÁö´Â tcp_close_wait_interval ÀÌ´Ù.
¸Þ¸ð¸®¿¡¼ TCP ¿¬°áÀÌ ²÷¾îÁ®µµ tcp°¡ ¾²´ø ¼ÒÄÏ Á¤º¸¸¦ ÀÏÁ¤ ±â°£ ´ë±â »óÅ·Π°¡Áö°í ÀÖ°í, À̸¦ °¡Áö°í ÀÖ´Â ½Ã°£Àε¥ ±âº»°ªÀº 240,000ms(4ºÐ)ÀÌÁö¸¸, ÀÌ´Â tcp ¼ÒÄÏÀ» ¸¹ÀÌ ¿ä±¸ÇÏ´Â ¼¹ö, Áï À¥ ¼¹ö¿¡¼´Â ³Ê¹« ±æ°Ô waiting ÇÏ´Â °ÍÀÌ ¸Þ¸ð¸® ³¶ºñÀ̹ǷΠ60,000ms(1ºÐ) Á¤µµ·Î ÁÙÀÌ´Â °ÍÀÌ ÁÁ´Ù. ±×·¯³ª À̸¦ ³Ê¹« ÁÙÀÏ °æ¿ì, Ä¿³Ø¼Ç Ç°Áú ÀÚü°¡ ºÒ¾ÈÇÒ ¼ö ÀÖÀ¸¹Ç·Î ´õ ÀÌ»ó ÁÙÀÌÁö ¾Ê´Â °ÍÀÌ ¹Ù¶÷Á÷ÇÏ´Ù.
+ tcp_conn_req_max_q0
TCP/IP ÇÁ·ÎÅäÄÝ Åë½Å¿¡¼ half-open connection »óÅÂ, Áï ¸¶Áö¸· ACK¸¦ ¹ÞÁö ¸øÇÑ »óÅÂÀÇ Ä¿³Ø¼ÇÀ» ¸î °³±îÁö °¡Áö°í ÀÖÀ»Áö¿¡ ´ëÇÑ ÆĶó¹ÌÅÍ °ªÀÌ´Ù. ±âº»°ªÀº 1024Àε¥ ÀÌ ÆĶó¹ÌÅÍ´Â tcp_conn_req_max_q¿Í ÇüÅ°¡ ºñ½ÁÇÏ´Ù°í ¹«Á¶°Ç ´Ã¸®´Â °æ¿ì°¡ Àִµ¥ ºÒÇÊ¿äÇϸç, ÀÌ ÆĶó¹ÌÅÍ´Â completed connection ¸¶Àúµµ listen queue¿¡ µé¾î°¡Áö ¸øÇÏ´Â °æ¿ì¸¦ Á¦¿ÜÇÏ°í´Â º¯°æÇÒ ÇÊ¿ä°¡ ¾ø´Ù.
+ tcp_conn_req_max_q
À¥ ¼¹ö Æ©´×¿¡¼ °¡Àå ¸¹ÀÌ »ç¿ëÇÏ´Â ÆĶó¹ÌÅÍÀÌ´Ù.
±âº»°ªÀº 128Àε¥, 1024 ÀÌÇÏ Á¤µµ·Î ´Ã·ÁÁÖ´Â °ÍÀÌ ¹Ù¶÷Á÷ÇÏ´Ù. ÀÌ´Â completed connectionÀÌ ½ÇÁ¦ 󸮵DZâ±îÁö ¹Þ¾ÆÁִ ť Å©±â·Î ³Ê¹« ºÎÁ·ÇÏ¸é »ó´çÈ÷ ¹Ù»Û À¥ ¼¹öÀÇ °æ¿ì, »ç¿ëÀÚÀÇ ¿äûÀ» ³õÄ¡´Â °æ¿ì°¡ ¹ß»ýÇÒ ¼ö Àֱ⠶§¹®ÀÌ´Ù.
+ tcp_slow_start_initial
TCP ÇÁ·ÎÅäÄÝ Åë½Å¿¡¼ óÀ½¿¡ Å×½ºÆ®¿ëÀ¸·Î º¸³»´Â ÃʱâÈ ÆÐŶ ¼ö¸¦ ¸»ÇÑ´Ù. SunÀÇ ±âº»°ªÀº 1Àε¥ ´Ù¸¥ º¥´õµé(ƯÈ÷ MS)ÀÌ 2°³¸¦ »ç¿ëÇϹǷΠº¯°æÇØÁÖ´Â °ÍÀÌ ¹Ù¶÷Á÷ÇÏ´Ù.
¼Ö¶ó¸®½º 8ÀÇ °æ¿ì °¡²û 4ÀÎ »ç·Ê¸¦ ¹ß°ßÇÒ ¼ö ÀÖ¾ú´Ù.
- ³×Æ®¿öÅ© ¸ð´ÏÅ͸µ
netstat -s -Ptcp Ä¿¸Çµå¸¦ ÀÌ¿ëÇÏ¸é ¸ðµç ÇÁ·ÎÅäÄÝÀÇ Á´º¸¸¦ Ãâ·ÂÇϴµ¥ -Ptcp¶ó´Â ¿É¼ÇÀ» Ãß°¡ÇÏ¸é ¿ì¸®°¡ TCP ÇÁ·ÎÅäÄÝÀÇ ÆĶó¹ÌÅ͸¦ º¯°æÇϱâ Àü TCP¿Í °ü·ÃÇÑ Á¤º¸¸¸ Ãâ·ÂÇØ ÁØ´Ù.
trax¢¥s note: trax°¡ »ç¿ëÇÏ´Â Solaris 2.4, 2.6 ȯ°æ¿¡¼´Â netstat -s -P tcp¶ó°í »ç¿ëÇÑ´Ù. ¾Æ¸¶ ·¹ÆÛ·±½º°¡ Ʋ¸° °ÍÀÌ ¾Æ´Ñ°¡ ½Í´Ù.
ais011# netstat -s -P tcp
TCP tcpRtoAlgorithm = 4 tcpRtoMin = 200
tcpRtoMax =240000 tcpMaxConn = -1
tcpActiveOpens = 10737 tcpPassiveOpens = 53520
tcpAttemptFails = 491 tcpEstabResets = 53
tcpCurrEstab = 28 tcpOutSegs =2640894
tcpOutDataSegs =2411701 tcpOutDataBytes =2076891073
tcpRetransSegs = 18540 tcpRetransBytes =13528493
tcpOutAck =229065 tcpOutAckDelayed = 30144
tcpOutUrg = 0 tcpOutWinUpdate = 81
tcpOutWinProbe = 212 tcpOutControl =157770
tcpOutRsts = 26705 tcpOutFastRetrans = 6732
tcpInSegs =2187955
tcpInAckSegs =1496281 tcpInAckBytes =2076911268
tcpInDupAck = 88774 tcpInAckUnsent = 0
tcpInInorderSegs =770953 tcpInInorderBytes =343372713
tcpInUnorderSegs = 1019 tcpInUnorderBytes =1046324
tcpInDupSegs = 2854 tcpInDupBytes =372742
tcpInPartDupSegs = 245 tcpInPartDupBytes =142283
tcpInPastWinSegs = 0 tcpInPastWinBytes = 0
tcpInWinProbe = 0 tcpInWinUpdate = 198
tcpInClosed = 35 tcpRttNoUpdate = 13508
tcpRttUpdate =1459914 tcpTimRetrans = 12237
tcpTimRetransDrop = 366 tcpTimKeepalive = 358
tcpTimKeepaliveProbe= 12 tcpTimKeepaliveDrop = 0
tcpListenDrop = 0 tcpListenDropQ0 = 0
tcpHalfOpenDrop = 0
¿©±â¼ ÁÖ¸ñÇÒ °ÍÀº tcpListenDropQ0¿Í tcpListDropÀε¥, tcpListenDropQ0´Â accept() system call½Ã dropµÈ °ÍÀÇ Ä«¿îÆ®ÀÌ°í tcpListenDrop(Q)Àº three-way handshake¶ó°íµµ ºÒ¸®´Â óÀ½ µÎ¹ø° ACK¸¦ ¹Þ±â Àü incompleted connectionÀÌ Å¥¿¡ µé¾î°¡Áö ¸øÇÑ Ä«¿îÆ®´Ù.
|