ãã§ã«ãæ°ã¥ãã®æ¹ãå¤ãã¨æããã¾ããã microã¤ã³ã¹ã¿ã³ã¹ã£ã¦CPUå¼±ãã§ãããã¼ã ã§ãã以ä¸ãè¦ã㨠ãã¹ã¢ã¼ã«ã¤ã³ã¹ã¿ã³ã¹ã¨åçããããã¯ããã¼ã¹ãã¨ããããããããéããªãããããï¼ã ã¨åéãããã¡ã ã¹ã¢ã¼ã« ã¤ã³ã¹ã¿ã³ã¹ï¼ããã©ã«ãï¼ 1 EC2 Compute Unit (1 EC2 Compute Unitãæãã1ä»®æ³ã³ã¢) ãã¤ã¯ãã¤ã³ã¹ã¿ã³ã¹ æ大2 EC2 Compute Units (çæã®å®æçãªãã¼ã¹ã) http://aws.amazon.com/jp/ec2/instance-types/ ããããããããã« ãã¤ã¯ãã¤ã³ã¹ã¿ã³ã¹ã®CPUã¯ã¹ã¢ã¼ã«ã¤ã³ã¹ã¿ã³ã¹ããé ã ã§ãã ç¹ã«ãCPUãé·æéå æããmakeãªã©ã¯ããªãé¡èã«éããåºã¾ãã ããã«ããè¦ãã¨ä»¥ä¸ã®ãããªãã¨ãæ¸ãã¦ããã¾ããã ãã¤ã¯ãã¤ã³ã¹ã¿ã³ã¹ã¯ãå°éã®æ´åæ§ã®ããCPUãª
ãéè´ãããã¨ããããã¾ããã 6æ12æ¥ï¼åï¼ã«ãæ°å®¿ã§è¡ãããæ ªå¼ä¼ç¤¾ãã¼ããã¼ãæ§ä¸»å¬ã®ãã¤ã³ãã©ã¨ã³ã¸ãã¢åå¼·ä¼ãã§Linux-HAã«ã¤ãã¦ä¸ä¸ç´è åãã®è¬æ¼ããã¦ãã¾ãããè¬æ¼å 容ã¯ãDRBDã¨Pacemakerã«ããLinux-HAç°å¢ãã¨ãããã¨ã§ãæ§ç¯æã®æ³¨æç¹ã¨é害çºçãæªç¶ã«é²ãèãæ¹ãè´å½çãªé害ã«ç¹ãããã¹ããªãããã¬ã¤ã³ãã«ã¤ãã¦ã説æãã¾ããã ãã¬ã¼ã³ãã¼ã·ã§ã³è³æã«ã¤ãã¦ã¯ãPacemakeré¨åã®ãè¨å®ãã«ããè¨å®å¤ãè¥å¹²å¤ããã®ãå ¥ãè¾¼ãã§ããçºãä¿®æ£ãå ãã¦ããã¾ããã¾ããè¬æ¼æã®ã¿å ¬éã¨ãããã®ã«ã¤ãã¾ãã¦ã¯æ©è½ãã¦ããã¾ãããäºæ¿ãã ããã ã¤ã³ãã©ã¨ã³ã¸ãã¢åå¼·ä¼ãhbstudyã http://heartbeats.jp/hbstudy/ ãã¬ã¼ã³ãã¼ã·ã§ã³è³æ 第12åã¤ã³ãã©ã¨ã³ã¸ãã¢åå¼·ä¼ãDRBDã¨Pacemakerã«ããLinux-H
while : do date ls -l # 0.5 ç§ sleep ãã perl -e 'select(undef, undef, undef, 0.5);' done åè perl ã«ã¯2種é¡ã® select ããã - kameidã®åå¿é² - Sharpen the Saw! 追è¨(2011/06/29): use Time::HiRes; auryo ã¯ã¦ãªããã¯ãã¼ã¯ - 1ç§æªæºã®ã¹ãªã¼ã - ablog 㨠shang ããã«ãã¯ãã§ã³ã¡ã³ãããã ãã¾ããã Time::HiRes ã¯æ¨æºã¢ã¸ã¥ã¼ã«ãããªãã¨æã£ã¦ããã®ã§ãããæ¨æºæ·»ä»ããã¦ãããã§ãããç¥ãã¾ããã§ããã 以ä¸ã¯ããã¤ãã®ç°å¢ã§ Time::HiRes ã®ãã¼ã¸ã§ã³ã調ã¹ã¦ã¿ãçµæã§ãã bash-3.2$ uname -a CYGWIN_NT-5.1 ********* 1.7.7(0.230/5
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}