| <?xml version="1.0" encoding="EUC-KR" ?> |
| <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd"> |
| <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?> |
| <!-- English Revision: 420990:805049 (outdated) --> |
| |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <manualpage metafile="perf-hp.xml.meta"> |
| <parentdocument href="./">Platform Specific Notes</parentdocument> |
| |
| <title>HPUX¿¡¼ °í¼º´É À¥¼¹ö ½ÇÇàÇϱâ</title> |
| |
| <summary> |
| |
| <pre> |
| Date: Wed, 05 Nov 1997 16:59:34 -0800 |
| From: Rick Jones <<a |
| href="mailto:raj@cup.hp.com">raj@cup.hp.com</a>> |
| Reply-To: <a href="mailto:raj@cup.hp.com" |
| >raj@cup.hp.com</a> |
| Organization: Network Performance |
| Subject: HP-UX tuning tips |
| </pre> |
| |
| <p>ÀÌ ±ÛÀº ¼º´ÉÇâ»ó ÆäÀÌÁö¿¡ Ãß°¡ÇÒ HP-UX ¼º´ÉÇâ»ó ÆÁÀÌ´Ù.</p> |
| |
| <p>HP-UX 9.X´Â: 10.20À¸·Î ¾÷±×·¹À̵åÇ϶ó<br /> |
| HP-UX 10.[00|01|10]Àº: 10.20À¸·Î ¾÷±×·¹À̵åÇ϶ó</p> |
| |
| <p>HP-UX 10.20˼:</p> |
| |
| <p>ÃÖ±Ù ARPA Transport ÆÐÄ¡ ¸ðÀ½À» ¼³Ä¡ÇÑ´Ù. ±×·¯¸é TCP |
| ¿¬°áã±â Çؽ¬Å×À̺í Å©±â¸¦ ¼³Á¤ÇÒ ¼ö ÀÖ´Ù. ±âº»°ªÀº |
| 256 °³ÀÌ°í, 2ÀÇ °ÅµìÁ¦°ö°ªÀ¸·Î ÁöÁ¤ÇØ¾ß ÇÑ´Ù. adb·Î Ä¿³ÎÀÇ |
| *disc* À̹ÌÁö¸¦ ¼öÁ¤ÇÏ¿© ¼³Á¤ÇÑ´Ù. º¯¼ö¸íÀº |
| <code>tcp_hash_size</code>ÀÌ´Ù. <code>tcp_hash_size</code> |
| º¯¼ö°ªÀÌ 32ºñÆ®À̹ǷΠdisc À̹ÌÁö¸¦ ¼öÁ¤ÇÒ¶§ ¹Ýµå½Ã 16ºñÆ® |
| °ªÀ» ±â·ÏÇÏ´Â "<code>w</code>" ´ë½Å 32ºñÆ® °ªÀ» ±â·ÏÇÏ´Â |
| "<code>W</code>"¸¦ »ç¿ëÇØ¾ß ÇÑ´Ù.</p> |
| |
| <p>¾î¶² °ªÀ» °í¸¦±î? <a |
| href="ftp://ftp.cup.hp.com/dist/networking/tools/connhist" |
| >ftp://ftp.cup.hp.com/dist/networking/tools/connhist</a>ÀÇ |
| °á°ú¸¦ º¸°í, ½Ã½ºÅÛ¿¡ Á¸ÀçÇÏ´Â TCP ¿¬°á ÃÑ°³¼ö¸¦ »ìÆìºÁ¶ó. |
| ÀÌ ¼ýÀÚ¸¦ Çؽ¬Å×À̺í Å©±â·Î ³ª´« °ªÀÌ »ó´çÈ÷ (10 ÀÌÇÏ) ÀÛÀ¸¸é |
| ÁÁ´Ù. HPÀÇ SPECweb96 °á°ú¿¡¼ ÀϹÝÀûÀÎ ¼³Á¤À» º¼ ¼ö ÀÖ´Ù. |
| °á°ú´Â <a |
| href="http://www.specbench.org/">http://www.specbench.org/</a>¿¡ |
| ÀÖ´Ù. HP-UX ½Ã½ºÅÛÀÌ ÃÊ´ç 1000¹ø SPECweb96 ¿¬°áÀ» ÇÏ´Â °æ¿ì |
| <code>TIME_WAIT</code>°¡ 60Ãʶó¸é 60,000°³ÀÇ TCP "¿¬°á"À» |
| ÃßÀûÇÑ´Ù´Â ¶æÀÌ´Ù.</p> |
| |
| <p><a href="ftp://ftp.cup.hp.com/dist/networking/misc/listenq" |
| >ftp://ftp.cup.hp.com/dist/networking/misc/listenq</a>¸¦ |
| ½ÇÇàÇÏ¿© ½Ã½ºÅÛÀÇ ¿¬°á´ë±âÇà·Ä ±íÀ̸¦ ¾Ë ¼ö ÀÖ´Ù.</p> |
| |
| <p>PA-8000±â¹Ý ½Ã½ºÅÛ¿¡¼ ¾ÆÆÄÄ¡¸¦ ½ÇÇàÇÑ´Ù¸é, ¾ÆÆÄÄ¡ |
| ½ÇÇàÆÄÀÏÀÌ Å« ÆäÀÌÁöÅ©±â¸¦ »ç¿ëÇϵµ·Ï "chatr"ÇÑ´Ù. ¸í·ÉÀº |
| "<code>chatr +pi L <½ÇÇàÆÄÀÏ></code>"ÀÌ´Ù. ½ÇÇàÆÄÀÏÀ» |
| ½ÇÇàÇÏ´Â GID¿¡ <code>MLOCK</code> ±ÇÇÑÀÌ ¹Ýµå½Ã ÇÊ¿äÇÏ´Ù. |
| <code>MLOCK</code> ºÎ¿©¿¡ ´ëÇؼ´Â <code>Setprivgrp(1m)</code>¸¦ |
| Âü°íÇ϶ó. ¼öÁ¤ÈÄ Glance¸¦ ½ÇÇàÇÏ¿© ¼¹öÀÇ ¸Þ¸ð¸®¿µ¿ªÀ» »ìÆ캸¸é |
| »ó´çÇÑ text ¼¼±×¸ÕÆ®°¡ Àá°ÜÀÖÀ½À» È®ÀÎÇÒ ¼ö ÀÖ´Ù.</p> |
| |
| <p>´ÙÁßÇÁ·Î¼¼½º ½Ã½ºÅÛ¿¡¼ ¾ÆÆÄÄ¡¸¦ ½ÇÇàÇÑ´Ù¸é, ÇÁ·Î¼¼½º¸¦ |
| ÇÁ·Î¼¼½º¿¡ ¹èÁ¤ÇÏ´Â <code>mpctl()</code>¸¦ »ç¿ëÇÑ ÀÛÀº |
| ÇÁ·Î±×·¥À» ÀÛ¼ºÇغÁ¶ó. ´Ü¼øÇÑ <code>pid % numcpu</code> |
| ¾Ë°í¸®ÁòÀ¸·Îµµ ÃæºÐÇÒ °ÍÀÌ´Ù. ÀÌ ºÎºÐÀº ¾ÕÀ¸·Î ¼Ò½ºÄڵ忡 |
| Æ÷Ç﵃ ¼ö ÀÖ´Ù.</p> |
| |
| <p><code>FIN_WAIT_2</code> ¿¬°áÀÇ °³¼ö°¡ °ÆÁ¤½º·´´Ù¸é, |
| nettuneÀ» »ç¿ëÇÏ¿© <code>tcp_keepstart</code> °ªÀ» ÁÙÀÏ |
| ¼ö ÀÖ´Ù. ±×·¯³ª Á¶½ÉÇØ¾ß ÇÑ´Ù - 4ºÐ º¸´Ù ÀÛ°Ô ¼³Á¤ÇÏÁö ¸¶¶ó. |
| <code>tcp_hash_size</code>¸¦ Àß ¼³Á¤ÇÏ¿´´Ù¸é, |
| <code>FIN_WAIT_2</code> °ªÀÌ Ä¿µµ (½ÉÁö¾î ±âº»°ªÀÎ 2½Ã°£µµ) |
| ¹®Á¦¾ø´Ù - º¸Åë ¼º´É¿¡ Å« ¿µÇâÀ» ÁÖÁö ¾Ê´Â´Ù.</p> |
| |
| <p>¾ÕÀ¸·Î ¼Ò½ºÄڵ忡 Æ÷Ç﵃ ºÎºÐÀÌ ´õ ÀÖÁö¸¸, ¿©±â¼ ÁÙÀδÙ. |
| °ü½ÉÀÌ ÀÖ´Ù¸é ¸ÞÀÏÀ» ÁÖ±æ ¹Ù¶õ´Ù.</p> |
| |
| <p>±×·³ À̸¸,</p> |
| |
| <p>rick jones</p> |
| |
| <p><a href="http://www.cup.hp.com/netperf/NetperfPage.html" |
| >http://www.cup.hp.com/netperf/NetperfPage.html</a></p> |
| |
| </summary> |
| |
| </manualpage> |
| |
| |