¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 1,358°Ç
   
ipvsadm ½ºÄÉÁÙ¸µ ¾Ë°í¸®Áò
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2010-02-03 (¼ö) 09:14 Á¶È¸ : 10693
±ÛÁÖ¼Ò :
                                

scheduler scheduling-method
 scheduling-method Algorithm for allocating TCP connections and UDP datagrams to real servers. 
 Scheduling algorithms are implemented as kernel modules.
 Ten are shipped with the Linux Virtual Server:

  rr - Robin Robin: 
     distributes jobs equally amongst the available real servers.
     (¸®¾ó¼­¹ö¸¦ óÀ½ºÎÅÍ Â÷·Ê·Î ¼±ÅÃÇØ°£´Ù. ¸ðµç¼­¹ö·Î ±ÕµîÇÏ°Ô Ã³¸®°¡ ºÐ»ê)

  wrr - Weighted Round Robin: 
     assigns jobs to real servers proportionally to there real servers¡¯ weight. 
     Servers with higher weights receive new jobs first and get more jobs than servers with lower weights. 
     Servers with equal weights get an equal distribution of new jobs.
     (rr ¹æ½Ä°ú °°Áö¸¸ °¡ÁßÄ¡¸¦ Ãß°¡Çؼ­ ºÐ»êºñÀ²À» º¯°æÇÑ´Ù. °¡ÁßÄ¡°¡ Å« ¼­¹öÀϼö·Ï ºó¹øÇÏ°Ô
      ¼±ÅõǹǷΠ󸮴ɷÂÀÌ ³ôÀº ¼­¹ö´Â °¡ÁßÄ¡¸¦ ³ô°Ô ¼³Á¤Çϴ°ÍÀÌ ÁÁ´Ù.)

  lc - Least-Connection: 
     assigns more jobs to real servers with fewer active jobs.
     (Á¢¼Ó¼ö°¡ °¡Àå ÀûÀº ¼­¹ö¸¦ ¼±ÅÃÇÑ´Ù. ¾î¶² ¾Ë°í¸®ÁòÀ» »ç¿ëÇϸé ÁÁÀ»Áö ¸ð¸¦ °æ¿ì¿¡ »ç¿ëÇصµ ÁÁ´Ù)

  wlc - Weighted Least-Connection:
      assigns more jobs to servers with fewer jobs and relative to the real servers¡¯ weight (Ci/Wi).
      This is the default.
      (lc ¿Í °°Áö¸¸ °¡ÁßÄ¡¸¦ ºÎ¿©ÇÑ´Ù. ±¸Ã¼ÀûÀ¸·Î´Â [Á¢¼Ó¼ö+1/°¡ÁßÄ¡]°¡ ÃÖ¼Ò°¡ µÇ´Â ¼­¹ö¸¦ ¼±ÅÃÇϹǷΠ°í¼º´É ¼­¹ö´Â °¡ÁßÄ¡¸¦ Å©°Ô Çϴ°ÍÀÌ ÁÁ´Ù)

  lblc  - Locality-Based Least-Connection: 
     assigns jobs destined for the same IP address to the same server if the server is not overloaded and available; 
     otherwise assign jobs to servers with fewer jobs, and keep it for future assignment.
     (Á¢¼ÓÀÚ¼ö°¡ °¡ÁßÄ¡·Î ÁöÁ¤ÇÑ °ªÀ» ³Ñ±â Àü±îÁö´Â µ¿ÀÏÇÑ ¼­¹ö¸¦ ¼±ÅÃÇÏ°í Á¢¼ÓÀÚ¼ö°¡ °¡ÁßÄ¡¸¦ ³Ñ¾î¼± °æ¿ì´Â ´Ù¸¥¼­¹ö¸¦ ¼±ÅÃÇÑ´Ù.
     ¸ðµç ¼­¹öÀÇ Á¢¼Ó¼ö°¡ °¡ÁßÄ¡·Î ÁöÁ¤ÇÑ °ªÀ» ³Ñ°í ÀÖÀ» °æ¿ì ¸¶Áö¸·¿¡ ¼±ÅÃµÈ ¼­¹ö°¡ °è¼Ó ¼±ÅõȴÙ.)

  lblcr - Locality-Based Least-Connection with Replication:
     assigns jobs destined for the same IP address to the least-connection node in the  server  set  for the  IP  address. 
     If  all the node in the server set are over loaded, it picks up a node with fewer jobs in the cluster
     and adds it in the sever set for the target.
     If the server set has not been modified for the specified time, the most loaded node is removed
     from the server set, in order to avoid high degree of replication.
    (lblc ¿Í °ÅÀÇ °°Áö¸¸ ¸ðµç ¼­¹öÀÇ Á¢¼Ó¼ö°¡ °¡ÁßÄ¡·Î ÁöÁ¤ÇÑ °ªÀ» ³Ñ°í ÀÖÀ» °æ¿ì´Â Á¢¼Ó¼ö°¡ °¡Àå ÀûÀº ¼­¹ö°¡ ¼±ÅõȴÙ.)

  dh - Destination Hashing:
      assigns jobs to servers through looking up a statically assigned hash table by their destination IP addresses.
     (¸ñÀûÁö IP ÁּҷκÎÅÍ ÇؽðªÀ» °è»êÇؼ­ ºÐ»ê´ë»ó ¸®¾ó¼­¹ö¸¦ ¼±ÅÃÇÑ´Ù.)

  sh - Source Hashing:
      assigns jobs to servers through looking up a statically assigned hash table by their source IP addresses.
      (¼Ò½º IP ÁּҷκÎÅÍ ÇؽðªÀ» °è»êÇؼ­ ºÐ»ê´ë»ó ¸®¾ó¼­¹ö¸¦ ¼±ÅÃÇÑ´Ù.)

  sed - Shortest Expected Delay:
     assigns an incoming job to the server with the shortest expected delay.
     The expected delay that the job will experience is (Ci + 1) / Ui if  sent to the ith server,
     in which Ci is the number of jobs on the the ith server and Ui is the fixed service rate (weight) of the ith server.
     (°¡Àå ÀÀ´ä¼Óµµ°¡ ºü¸¥ ¼­¹ö¸¦ ¼±ÅÃÇÑ´Ù. ±×·¸´Ù°í Çصµ ¼­¹ö¿¡ ÇÇŶÀ» ³¯·Á ÀÀ´ä½Ã°£À» °èÃøÇϴ°ÍÀº ¾Æ´Ï°í »óÅ°¡ established(active) ÀÎ Á¢¼Ó¼ö°¡ °¡Àå ÀûÀº ¼­¹ö¸¦ ¼±ÅÃÇÏ´Â ¹æ½ÄÀÌ´Ù.
     wlc¿Í °ÅÀÇ µ¿ÀÏÇÏ°Ô µ¿ÀÛÇÏÁö¸¸ wlc ¿¡¼­´Â established ÀÌ¿ÜÀÇ »óÅÂÀÎ Á¢¼Ó¼ö(time_wait, fin_wait)¸¦ ´õÇÏ´Â Á¡ÀÌ ´Ù¸£´Ù.

  nq - Never Queue:
     assigns an incoming job to an idle server if there is, instead of waiting for a fast one;
     if all the servers are busy, it adopts the Shortest Expected Delay policy to assign the job.
     (sed¿Í µ¿ÀÏÇÑ ¾Ë°í¸®ÁòÀÌÁö¸¸ active Á¢¼Ó¼ö°¡ 0ÀÎ ¼­¹ö¸¦ ÃÖ¿ì¼±À¸·Î ¼±ÅÃÇÑ´Ù.)


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.