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