ããã°ã©ãã¯äººéã®ãã¨ã£ã¦æ³¨éãå¿ è¦ãªæ代
ããã±ããã¬ã¼ã«ã®èªçãã³ã³ãã¥ã¼ã¿ã¼ã«ãªã£ã女æ§ãã¡ãã£ã¦æ¬ãèªãã§ãã¦ããµã¨æãç«ã£ãã®ã§ä¹ ãã¶ãã«æ¸ãã¦ã¿ãããªãã¨4å¹´æ¯ãï¼
NASAãã¼ãã¥ãªã¼è¨ç»ã®è£æ¹ã§æ´»èºããé»äººå¥³æ§ããæãããããªã¼ã ï¼Hidden Figuresï¼ãã£ã¦æ ç»ã®ããããè¨æ¶ã«æ°ãããããã¨ãã¨ã³ã³ãã¥ã¼ã¿ã¯æ°å¤è¨ç®ããã人éã®ãã¨ãæãã¦ããããªã®ã§ãæ©æ¢°å¼ããã¸ã¿ã«å¼ã®ã³ã³ãã¥ã¼ã¿ãç»å ´ããããã¯ãAutomatic Computerã¨ãDigital Computerã¨å¼ã°ãã*1ãä¸è¨ã«ãWikipediaããã³ã³ãã¥ã¼ã¿ã®èªæºãå¼ç¨ããã
è±èªã® ãComputerï¼ã³ã³ãã¥ã¼ã¿ã¼ï¼ãã¯ç®è¡æ¼ç®ï¼æ°å¤è¨ç®ï¼ãè¡ã主ä½ãæãèªã§ããããå ã ã¯ä¸»ä½ã¨ãã¦äººãæãã¦ããããã®ç¨æ³ã¯ï¼è±èªåã§ã¯é常ã«ç¨ã«ãªãã¤ã¤ãããï¼ä»ã§ãæå¹ã§ããããªãã¯ã¹ãã©ã¼ãè±èªè¾å ¸ç¬¬2çã§ã¯ããã®èªã主ä½ã¨ãã¦æ©æ¢°ããæãããã«ãªã£ãæåã®å¹´ã1897å¹´ã¨è¨ãã¦ãããåè¾å ¸ã§ã¯ã1946å¹´ã¾ã§ã«ãç°ãªãæ¹å¼ã®è¨ç®æ©ãåºå¥ããããã®ããComputerãã«ä»ã修飾èªå¥ãããã¤ãå°å ¥ããã¦ããããããã®ä¿®é£¾èªã®ä¸ã«ã¯ãAnalogueï¼ã¢ããã°ï¼ãããDigitalï¼ãã£ã¸ã¿ã«, ãã¸ã¿ã«ï¼ããElectronicï¼ã¨ã¬ã¯ããããã¯ï¼ãã¨ãã£ãèªãå«ã¾ãã¦ãããæ§ã ãªå¼ç¨æããã1946年以åã«ãããã®èªãæ¢ã«ä½¿ããã¦ãããã¨ã¯æããã§ããã
ã¨ã³ããªã®æ´æ°ããµãã£ã¦ããéã«ãã³ã³ãã¥ã¼ã¿çéã§ã¯ã深層å¦ç¿ã«ä»£è¡¨ããã人工ç¥è½æè¡ã大çãä¸ããã§ããã深層å¦ç¿ã¯é常ã«ãã£ããè¨ã£ã¦ãä»ã¾ã§è·äººæã§ãã£ãç¹å¾´éã®è¨è¨ãã大éã®ãã¼ã¿ãç¨ãã¦èªååããæè¡ã§ãããæåã¯ç»åèå¥ã®åéã§æ³¨ç®ããã¦ããããå¾ã ã«æ©æ¢°ç¿»è¨³ãã²ã¼ã ãªã©æ§ã ãªå¿ç¨ãå¯è½ãªãã¨ãæããã«ãªã£ã¦ããã人éãã«ã¼ã«ï¼ã³ã¼ãï¼ãæ¸ãã®ãããã¾ã§ã®ã½ããã¦ã§ã¢ã ã£ãã¨ããã¨ãæ©æ¢°ããã¼ã¿ããã«ã¼ã«ãè¦ã¤ããã®ãããããã®ã½ããã¦ã§ã¢ã§ããã£ã¦ãã¨ã§ãAndrej Karpathyæ°ã¯ãã®æ½®æµããSoftware 2.0ãã¨å¼ãã§ããããã¡ããSoftware 1.0çãªããã°ã©ãã³ã°ãã¾ã£ããä¸è¦ã«ã¯ãªããªãã ããããæã¯äººéãããã°ã©ãã³ã°ãã¦ããã ãã¨ããããã°ã©ãã£ã¦è·æ¥ããã£ã¦ããã¨ãã注éãå¿ è¦ãªæ代ã¯ãã¤é ãã£ã¦ããã®ã ãããï¼
ãã±ããã¬ã¼ã«ã®èªç: ã³ã³ãã¥ã¼ã¿ã¼ã«ãªã£ã女æ§ãã¡
- ä½è : ãã¿ãªã¢ãã«ã,ç§å±±æé
- åºç社/ã¡ã¼ã«ã¼: å°äººæ¸é¤¨
- çºå£²æ¥: 2018/07/10
- ã¡ãã£ã¢: åè¡æ¬
- ãã®ååãå«ãããã° (2件) ãè¦ã
ããªã¼ã [AmazonDVDã³ã¬ã¯ã·ã§ã³] [Blu-ray]
- åºç社/ã¡ã¼ã«ã¼: 20ä¸ç´ãã©ãã¯ã¹ã»ãã¼ã ã»ã¨ã³ã¿ã¼ãã¤ã¡ã³ãã»ã¸ã£ãã³
- çºå£²æ¥: 2018/07/04
- ã¡ãã£ã¢: Blu-ray
- ãã®ååãå«ãããã° (2件) ãè¦ã
*1:æè¿Analogue Computerãåã³èå ãæµ´ã³ã¤ã¤ããã®ã§ãåºå¥ããä¸ã§Digitalã¨ä¿®é£¾èªãä»ããå¿ è¦ãã¾ãåºã¦ããããã
AIST Super Green Cloudã«ãããCloudStackéç¨è©±
æ¬ã¨ã³ããªã¯CloudStack Advent Calendar 2014ã®22æ¥ç®ã®ã¨ã³ããªã¨ãã¦æ¸ãã¾ããã
ã¯ããã«
ä»å¹´ã®7æããApache CloudStackãç¨ãã¦ãã©ã¤ãã¼ãã¯ã©ã¦ããéç¨ãã¦ãã¾ãããªã¼ãã³ã½ã¼ã¹çã®CloudStackã155å°ï¼ããã»ããµæ°3100ï¼ã®è¨ç®æ©ã§éç¨ããã¨ããã®ã¯ããããªãã®è¦æ¨¡ã ã¨èªè² ãã¦ãã¾ããInfiniBand + PCIãã¹ã¹ã«ã¼ã§HPCç¨éã§ã使ããæ§è½ãæã£ãä»®æ³ã¯ã©ã¹ã¿ãæä¾ããã¨ããç¹ãç®çã§ãã詳細ã¯æ¬¡ã®2ã¤ã®ã¹ã©ã¤ããåç §ãã¦ãããã¨ãã¦ãæ¬ã¨ã³ããªã§ã¯ãç¾å¨ã«è³ãã¾ã§ééããCloudStackã®åé¡ãã¾ã¨ãã¦ã¿ã¾ããã
ãã©ã¤ããªã¹ãã¬ã¼ã¸ããã¼ã«ã«ãã£ã¹ã¯ãã»ã«ã³ããªã¹ãã¬ã¼ã¸ãS3äºæã®Cephオブジェクトストレージã¨ããå ·åã«ãä¸è¬çãªæ§æã¨ã¯ã¡ãã£ã¨éã£ã¦ããã®ã§ã³ã¼ãã¼ã±ã¼ã¹ãããããè¸ãã§ãã模æ§ã§ããé常ã¯ãã©ã¤ããªã¹ãã¬ã¼ã¸ã¨ãã¦NFSãªã©ã®å ±æã¹ãã¬ã¼ã¸ã使ããã¾ããCloudStackã§ã¯ãã¹ã±ã¸ã¥ã¼ã©ãé¸ãã ãã¹ãã«VMããããã¤ããä½ãåé¡ãããã¨ãVMãã¤ã°ã¬ã¼ã·ã§ã³ã§å¥ãã¹ãã«åããã¨ããå¦çãè¡ããã¨ãããã¾ããå ±æã¹ãã¬ã¼ã¸ã®å ´åã¯ã¾ã£ããåé¡ãªãã®ã§ããããã¼ã«ã«ã¹ãã¬ã¼ã¸ã ã¨ãã¤ã°ã¬ã¼ã·ã§ã³ã§ãããããã§ã¸ã»ã¨ã³ãã§ããä¾ãã°ã以ä¸ã®ãªã¹ãã«ã¯æãã¦ã¾ããããä»®æ³ã¯ã©ã¹ã¿ãä½æããã¨ããè¤æ°ã®VMãåæ並è¡ã«ãããã¤ãã¾ãããã®éãã¿ã¤ãã³ã°ã«ãã£ã¦ã¯ãã¹ã±ã¸ã¥ã¼ã©ã¯åããã¹ããé¸æãããã¨ãããã¾ããããããPCIãã¹ã¹ã«ã¼ã使ãå ´åã¯ãã¹ãã«1 VMããå®è¡ã§ããªãã®ã§ãå¾ç¶ã®VMã¯ãªã½ã¼ã¹ä¸è¶³ã§ãããã¤ã«å¤±æãã¾ããããã¨ããã®VMã次ã®åè£ã®ãã¹ãã«ãã¤ã°ã¬ã¼ã·ã§ã³ãããã¨ããã®ã§ãããåè¿°ã®ããã«ãã©ã¤ããªã¹ãã¬ã¼ã¸ããã¼ã«ã«ã¹ãã¬ã¼ã¸ã ã¨ãã¤ã°ã¬ã¼ã·ã§ã³ã«å¤±æãããããã¤ãã¨ã©ã¼ã«ãªãã¾ããï¼è£è¶³ï¼PCIãã¹ã¹ã«ã¼æ¡å¼µã®æç¡ã«é¢ãããããããã¤ã«å¤±æããå ´åã«ãã®åé¡ã¯èµ·ããã¾ããï¼
å½åã¯MLãJIRAã«ãªãã¼ããã¦ãåå¿ãèãï¼ã¨ãããç¡åå¿ï¼ã§ããªãæ°æã¡ãèããã®ã§ãããå¹´æ«ã«è¿ã¥ãã«ã¤ãããããåãè¾¼ã¾ãå§ãå®å µãã¦ãã¾ããã¾ã ã¾ã æ±ãã¦ããåé¡ã¯å±±ç©ãã¦ããã®ã§ãæ¥å¹´ã¯éçºã³ãã¥ããã£ã«å¯¾ãã¦ãã£ã¨ãã¬ã¼ã³ã¹ãä¸ãã¦ããããã¨èãã¦ãã¾ããã¾ããéç¨ã§å¾ãç¥è¦ãå¥éæ©ä¼ãè¨ãã¦å ±æãããã§ããã
éç¨ä¸ã«è¸ãã å°é·ãªã¹ã
以ä¸ã«ãæã ãééããä¸å ·åãåæãã¾ãããªããæã ã¯ãã¼ã¸ã§ã³4.3ã使ã£ã¦ãããç¬èªã«éçºããSR-IOV対応パッチãåãè¾¼ãã§ãã¾ãã以ä¸ã§ãã³ãã³ãsriov-43ãã¨ããgitãã©ã³ãåãåºã¦ãã¾ãããããã¯ãã©ã¤ãã¼ããªgitãªãã¸ããªã®ãã©ã³ãã§ãã
1. cloudstack-agent jsvc gets too large virtual memory space. (JIRA #7951)
ç©çã¡ã¢ãªã®æè¼éã®å¤§ãããã·ã³ã§ãcloudstack-agent ãéå°ã«ä»®æ³ã¡ã¢ãªã確ä¿ãããããã¤ã³ã¹ã¿ã³ã¹ä½ææã«QEMUãã¡ã¢ãªã確ä¿ã§ããèµ·åã«å¤±æããå ´åããããcloudstack-agent ã®ã¡ã¢ãªä½¿ç¨éãå¶éããããããä½æããããããã¯æ¬å®¶ã«å ±åãã¦åãè¾¼ã¾ããã
ãã¹ãèµ·åæã¯åé¡ãªãããæ°æ¥çµã¤ã¨VMã®ãããã¤ã«å¤±æããã¨ããç¾è±¡ãçºçãããã¡ã¢ãªãªã¼ã¯çãçã£ãããçµå±cloudstack-agentã®åé¡ã ã£ããcloudstack-agentï¼jsvcããã»ã¹ï¼ã30GBè¶ ã®ã¡ã¢ãªã確ä¿ãã¦ããã
2. listUsageRecords generates NPEs for expunging instances (JIRA #6472)
ã¢ã«ã¦ã³ãã£ã³ã°æ å ±ãåå¾ãã API ãå¼ã³åºãéã«ãç ´æ£ããããªã½ã¼ã¹ããã㨠NullPointerException ãçºçããä¸å ·åããã£ããä¿®æ£ããããæ¢ã«æ¬å®¶ã«åãè¾¼ã¾ãã¦ãããããã®ä¿®æ£ã«ä¸ååãªé¨åããããNullPointerException ã¯çºçããªããã®ã®å¿ è¦ãªæ å ±(virtualmachineid)ãå«ã¾ããªãç¶æ ã§çµæãè¿ã£ã¦ãã¦ãããåå¾æ å ±ã« virtualmachineid ãå«ããä¿®æ£ããããä½æããæ¬å®¶ã«å ±åãã¦åãè¾¼ã¾ããã
3. Duplicate usage records when listing large number of records (JIRA #2625)/Small page sizes return duplicate results (JIRA #3401)
ã¢ã«ã¦ã³ãã£ã³ã°æ å ±ãåå¾ããéã® SQL æãé©åã§ã¯ãªãããã¼ã¸ãµã¤ãºçã®æ¡ä»¶ã«ãã£ã¦ã¯å 容ã®éè¤ããçµæãè¿ã£ã¦ããå ´åããã£ããæ¢ç¥ã®ãã°ã§ããããããåå¨ããã®ã§ãsriov-43 ãã©ã³ãã«cherry-pick ããã
4. Public key content is overridden by template's meta data when you create a instance (JIRA #6869)
ã¤ã³ã¹ã¿ã³ã¹ã® ROOT ããªã¥ã¼ã ãããã³ãã¬ã¼ããä½æããã¨ããã®ã¤ã³ã¹ã¿ã³ã¹ã®ä¸è¨ã®æ å ±ããã³ãã¬ã¼ãã®å±æ§æ å ±ã¨ãã¦è¨é²ããã¦ããã
- Password Enabled ã®å ´åãã¤ã³ã¹ã¿ã³ã¹ä½ææã« CloudStack ãçæãã root ãã¹ã¯ã¼ã
- ã¤ã³ã¹ã¿ã³ã¹ä½ææã«ãã¼ãã¢çµç±ã§æ¸¡ããã SSH å ¬ééµ
ãã®ãã³ãã¬ã¼ãããæ°ããã¤ã³ã¹ã¿ã³ã¹ãä½æããéãuser data çµç±ã§SSH å ¬ééµã渡ããã¨ãã¦ããå¼·å¶çã«ãã³ãã¬ã¼ãä»å±ã® SSH å ¬ééµãã¤ã³ã¹ã¿ã³ã¹ã«æ¸¡ããã¦ãããæ¬å®¶ã«å ±åå¾ãéçºè ï¼Harikrishna Patnalaï¼ã«ããä¿®æ£ããããä½æãããã®ã§ãsriov-43ãã©ã³ãã«cherry-pickããã
5. Attaching a data disk created on local storage to a VM is failing (JIRA Migration of a VM with volumes in local storage to another host in the same cluster is failing #6802)/Migration of a VM with volumes in local storage to another host in the same cluster is failing (JIRA #6810)
ãã©ã¤ããªã¹ãã¬ã¼ã¸ã«ãã¼ã«ã«ãã£ã¹ã¯ã使ç¨ããæ§æã§ã®ä¸å ·åã§ãããç¹å®ã®ç©çãã·ã³ã® host id ãæå®ãã¦ã¤ã³ã¹ã¿ã³ã¹ãä½æããã¨å¤±æããå ´åããã£ããstorage poolallocator ã®å¦çã«ä¸å ·åããã£ããæ¢åã®ãã°ã§ãããããããåå¨ããã®ã§ãsriov-43ãã©ã³ãã«cherry-pickããã
6. Negative ref_cnt of template(snapshot/volume)_store_ref results in out-of-range error in Mysql (JIRA #6236)
ã»ã«ã³ããªã¹ãã¬ã¼ã¸ã« S3 ã使ç¨ããæ§æã§ã®ä¸å ·åã§ãããã»ã«ã³ããªã¹ãã¼ã¸ã³ã°ã¹ãã¢ä¸ã«ä½æããããã³ãã¬ã¼ãã®ãã£ãã·ã¥ã®æä»å¶å¾¡ãã§ãã¦ããããã¿ã¤ãã³ã°ã«ãã£ã¦ãã£ãã·ã¥ã®åç §ã«ã¦ã³ã¿ã -1ã«ãªãå ´åããã£ããåç §ã«ã¦ã³ã¿ã -1 ã¨ãªã£ããã³ãã¬ã¼ãã¯ãã以å¾ä½¿ç¨ã§ããªããªãï¼ã´ãã¨ãã¦æ®ãï¼ãæ¬å®¶ã« workaround ããæ¬ããããå ±åããã¦ããããæä»å¶å¾¡ãè¡ãæ ¹æ¬çãªå¯¾å¦ã§ã¯ãªããåç §ã«ã¦ã³ã¿ã 0 ã®æã¯ãã以ä¸ãã¯ãªã¡ã³ãããªãã¨ããå¦çã追å ãããããã§ãã£ãããã ããã®ãããã«ããã°ããããä¿®æ£ãã¹ãã¡ã½ããã¨ã¯å¥ã®ã¡ã½ããã«å¦çã追å ããã¦ãããããæã ã§ä¿®æ£ããä¸ã§sriov-43ãã©ã³ãã«é©ç¨ããã
7. [S3] Parallel deployment makes reference count of a cache in nfs secondary staging store negative(-1) (JIRA #7539)
ä¸è¨ã®ãããï¼CLOUDSTACK-6236ï¼é©ç¨å¾ãå¥ã®å¦çã§åç §ã«ã¦ã³ã¿ã -1 ã«ãªãç¾è±¡ãçºçãããããæ ¹æ¬å¯¾çã¨ãã¦ãã£ãã·ã¥ã®å¦çé¨åã« lock ã«ããæä»å¶å¾¡ã追å ããããããä½æãããæ¬å®¶ã«å ±åããããã®éä»ãè¡ã£ãããæªã ã«æ¾ç½®ããã¦ããã
8. Can't create proper template from VM on S3 secondary storage environment (JIRA #7412)
ã»ã«ã³ããªã¹ãã¬ã¼ã¸ã« S3 ã使ç¨ããæ§æã§ã®ä¸å ·åã§ãããã¤ã³ã¹ã¿ã³ã¹ã®ããªã¥ã¼ã ãããã³ãã¬ã¼ããä½æããéã«ããã»ã«ã³ããªã¹ãã¼ã¸ã³ã°ã¹ãã¢ä¸ã§ããªã¥ã¼ã ããã£ãã·ã¥ãããä¸å ·åããã£ããåãã¤ã³ã¹ã¿ã³ã¹ã®ããªã¥ã¼ã ããè¤æ°åãã³ãã¬ã¼ããä½æããã¨ã2åç®ä»¥éã¯ãã©ã¤ããªã¹ãã¬ã¼ã¸ä¸ã®ãªãªã¸ãã«ã®ããªã¥ã¼ã ã§ã¯ãªããã»ã«ã³ããªã¹ãã¼ã¸ã³ã°ã¹ãã¢ä¸ã®ãã£ãã·ã¥ãããå¤ãããªã¥ã¼ã ãããã³ãã¬ã¼ããä½æããã¦ãããã¤ã³ã¹ã¿ã³ã¹ã®ããªã¥ã¼ã ãããã³ãã¬ã¼ããä½æããéã¯ãã»ã«ã³ããªã¹ãã¼ã¸ã³ã°ã¹ãã¢ã§ãã£ãã·ã¥ããªãããããä½æããããããã¯æ¬å®¶ã«å ±åãã¦åãè¾¼ã¾ããã
9. Fails to attach a volume (is made from a snapshot) to a VM with using local storage as primary storage. (JIRA #8085)
ããããã©ã¤ããªã¹ãã¬ã¼ã¸ããã¼ã«ã«ãã£ã¹ã¯ã®å ´åã«èµ·ããï¼ãã¤ã°ã¬ã¼ã·ã§ã³ãåæã¨ãã¦ãããã¨ã«èµ·å ããï¼ãã°ãã¹ãããã·ã§ããããä½æããããªã¥ã¼ã ãã¢ã¿ããã§ããªãããã°å ±åæ¸ã¿ã
ã¯ã©ã¹ã¿ç®¡çã½ããã¦ã§ã¢ã¨ã®ç¸æ§
ASGCã®ããä¸ã¤ã®ç¹å¾´ã¨ãã¦ãããããã¹ãã³ã³ä¸ã§ã¯ã©ã¦ããéç¨ãã¦ããç¹ãæãããã¾ããASGCã®ãã¼ãã¦ã§ã¢ã¯ãCray社製ã®ã¹ãã³ã³ï¼PCã¯ã©ã¹ã¿ï¼ã§ããCrayã®ã¹ãã³ã³ã«ã¯æ¨æºã®ã¯ã©ã¹ã¿ç®¡çã½ããã¦ã§ã¢ã¨ãã¦ACEãæè¼ããã¦ãããASGCã§ã使ã£ã¦ãã¾ããACEã¯ã¹ãã³ã³ã¨ãã¦éç¨ãããã¨ãåæã«ä½ãããã½ããã¦ã§ã¢ãªã®ã§ãCloudStackãªã©ã®ã¯ã©ã¦ãããã«ã¦ã§ã¢ãåãããã¨ã¯å¿µé ã«ãªãããã¹ãã§cloudstack-agentãåä½ããã¾ã§ã«çµæ§è¦å´ãã¾ããããã®æã®ã¯ã©ã¹ã¿ç®¡çã½ããã¦ã§ã¢ã¨ã¯ã©ã¦ãããã«ã¦ã§ã¢ã®è¦ªåæ§ãé«ããªãã¨ãéç¨ããå´ã¨ãã¦ã¯ã¨ã£ã¦ãããããã§ãã
ACEã§ã¯ããããã¯ã¼ã¯ãã¼ãã§ãã£ã¹ã¯ã¤ã¡ã¼ã¸ãåãã¹ãã«å±éãã¾ããã/work以å¤ã®ãã£ã¬ã¯ããªã¯read onlyã«ãªãã¾ããä¸è¬çãªã¹ãã³ã³éç¨ã§ããã°ããã§åé¡ãªãã®ã§ãããããã§ã¯CloudStackã¯åãã¾ãããå ·ä½çã«ã¯ã次ã®ãããªåé¡ããããå°éã«åé¡ãæ½°ãã¦ããã¾ããããã¡ã¤ã«ä¸ã¤ã®å¤æ´ã§ããã£ã¹ã¯ã¤ã¡ã¼ã¸ã®ä½ãç´ããå¿ è¦ã«ãªãã¾ããã
- /etc ã /var/lib/libvirt ä¸ã®ãã¡ã¤ã«ãç·¨éã§ããªãã/etc/cloudstack/agent/agent.properties ãªã©ã® cloudstack-agent ãæ¸ãæããäºãåæã¨ãã¦ãããã¡ã¤ã«ãå ¨ã¦æ´ãåºãããããã®ãã¡ã¤ã«ã /work ã«ç§»ãã·ã³ããªãã¯ãªã³ã¯ãè²¼ãã
- /etc/{cgconfig.conf,cgrules.conf} ãªã©ãCloudStack é¢é£ä»¥å¤ã®ãã¡ã¤ã«ã cloudstack-agent ãæ¸ãæããããã/work ã«ç§»ãã¦ãªã³ã¯
è¬è¾
ä¸è¨ã®åé¡ã解決ããæ¥ã ASGCã®å®å®éç¨ã«å°½åãã¦ããASGCãµãã¼ããã¼ã ã®é¢ã ï¼å°æ°ç²¾éï¼ï¼ã«æè¬ãã¦ãæ¬ã¨ã³ããªãéãã¾ãã
Programming -- Principles and Practice Using C++
C++ã®ãåå¼·ã«ãStroustrupã®ãProgramming -- Principles and Practice Using C++ãç¥ãã¦PPPãèªã¿å§ãããè¨èªã®å¦ç¿ã¯åå ¸ã¨ããããä½è ã®æ¬ãã¾ãèªããã¨ã«ãã¦ãããã ãã©ããThe C++ Programming Languageãã®æ¹ã§ã¯ãªãããã£ã¡ãé¸ãã ãã¡ãªã¿ã«TC++PL3ã®ç¿»è¨³ã¯æã£ã¦ãããã©ãå ¨ç¶èªãã¦ãªããã
å®è¡ç°å¢ã¯Mac OS X 10.10ãªã®ã§clangã公式ページããstd_lib_facilities.hããã¦ã³ãã¼ããã¦ããã
以ä¸ãã¡ã¢ã
2ç« ãã7ç« ã¾ã§ããã°ã©ã ãåãããªããèªããããã°ã©ãã³ã°ã®åå¿è
åãã®å
容ãªã®ã§ãç¹ã«C++ã©ã£ã·ãã¨ããå
容ã§ã¯ãªããHello Worldããå§ã¾ããæ°å¼ããã¼ã¹ãã¦ååæ¼ç®ãè¡ãããã°ã©ã ãä½ã£ã¦ã¿ãããã®å
容ã§250ãã¼ã¸ãæ¸ããã ãããªããã
- 3.9.2 unsafe conversions
- narrowingã®èª¬æ
- C++11ã«ã¯brace-initializationã£ã¦ã®ããã£ã¦ãnarrowingãerrorã«ã§ããã
- 4.3.1 constant expressions
- const以å¤ã«constexprã£ã¦ã®ããããã³ã³ãã¤ã«æã«å®æ°ã¨ããããã®ã«ã¤ãã¦ã¯constexprã¨æ¸ããã
- 4.6 vector
- 5.6 exceptions
- ä¾å¤ã®ããããç´¹ä»
- 6. Writing a program
- user-defined typeã®å®ç¾ã¨ãã¦classãå°å ¥ãstructã¯åºã¦ããªãã
- expression()ã§å帰ãå°å ¥ã
- 7. (6ã®æ¡å¼µ)
- 8.
- scopeã¨ãpass-by-valueãpass-by-(const-)referenceãå½ç¶pointerã¯ã¾ã åºã¦ããªãã
- é¢æ°å¼ã³åºãæã®ã¹ã¿ãã¯ã®æå
- ã ãã ãstd_lib_facilities.hã§é è½ããã¦ãããã¨ãæããã«ãªã£ã¦ããã
Programming: Principles and Practice Using C++ (English Edition)
- ä½è : Bjarne Stroustrup
- åºç社/ã¡ã¼ã«ã¼: Addison-Wesley Professional
- çºå£²æ¥: 2014/06/02
- ã¡ãã£ã¢: Kindleç
- ãã®ååãå«ãããã°ãè¦ã
OSvéæ
次ã®ã¹ã©ã¤ãã¯@syuu1228ããã®ãOSvã®æ¦è¦ã¨å®è£ ãã
- ã©ã¤ãã©ãªOSãæµè¡ã£ã¦ããæããããã®ã§ããã®ãã¡ã¾ã¨ãã¦ãããããUSENIX ATCã®OSvã®çºè¡¨ãèãã¦ãã¿ãã³ãã¦ã ææãexokernelã¨ä½ãéãã¿ãããªè³ªåããã¦ããããªã
- ã¦ã¼ã¶ç©ºéããªãã«ã¼ãã«ç©ºéã®ã¿ã¨ããå²ãåãã¯ãããããã¤ãã¼ãã¤ã¶ãæå¾ã®ç ¦ã«ãªãã®ã§ãããã¨ããå¤æãã«ã¼ãã«ãããªãã¦ã©ã¤ãã©ãªã¨èããã°ãããªãã®ãã¨ãæãããã«ã¼ãã«ã¨ã¢ããªãåãã¡ã¢ãªãã¼ã«ããmallocããã¨ãªãã¨ãã¡ãã£ã¨ãããªã¼ãã©ã³ã§ã«ã¼ãã«ãã¶ã£å£ãã¦ãã¾ãããã
- ã¢ããªããPF filterãnet channelã«ããã¯ãä»è¾¼ãã§ãã±ããã奪ã£ã¦å¦çãããã¨ãå¯è½ãå®è£ ã®é°å²æ°ã¨ãã¦ã¯ã«ã¼ãã«ã¢ã¸ã¥ã¼ã«ã
- ttyãªãã®ã§ã¨ãã£ã¿ãéçºããã®ã¯é£ãããREST APIãå©ç¨ãã¦å¤é¨ãããã¡ã¤ã«ãæµãè¾¼ãã®ãOSvæµã
- Dockerã¨çãããã¶ã£ã¦ãããå®å ¨ãªisolationãä¸ã¤ã®éµãï¼
- Virtual Applianceçãªå©ç¨ãæ³å®ãã¦ããããã ã
- å ã ã²ã¹ãOSä¸ã§åããã¨ããèãã¦ãªãã£ãããå®ã¯ãã¢ã¡ã¿ã«ã§åããããªãããã¬ã¬ã·ã¼ããã¤ã¹ããµãã¼ãããã¤ã¤ãããããä¸æ¯ã§ãã¢ã¡ã¿ã«ã§åãã¦ãã¾ã£ããï¼
- Huaweiãaarch64ãµãã¼ããå®è£ ã
gitããä»»æã®ãã¼ã¸ã§ã³ã®Linuxã«ã¼ãã«ã®ã½ã¼ã¹ã³ã¼ãããã§ãã¯ã¢ã¦ãããã¡ã¢
ä½ã¯ã¨ãããgit cloneã
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Linuxã«ã¼ãã«ã§ã¯ã3.x.yç³»åãã¨ã«ãã©ã³ããããããªãªã¼ã¹ãã¼ã¸ã§ã³ã«ã¿ã°ãä»ãããã¨ã«ãªã£ã¦ããããªã®ã§ãã½ã¼ã¹ã³ã¼ãããã§ãã¯ã¢ã¦ãããæ¹æ³ã¯2ã¤ããã©ã³ãï¼linux-3.x.yï¼ããã§ãã¯ã¢ã¦ãããæ¹æ³ã¨ãã¿ã°ï¼v3.x.yï¼ã§ãªãªã¼ã¹ãã¼ã¸ã§ã³ããã§ãã¯ã¢ã¦ãããæ¹æ³ã
ã¾ãã¯ãã©ã³ããããgit branch -aã§æ¬å®¶ã®ãã©ã³ããããããã§ã¦ããã®ã§ãè¦ãããã¼ã¸ã§ã³ãæ¢ãã
$ git branch -a
ãã¨ã¯ä»»æã®ãã¼ã¸ã§ã³ããã§ãã¯ã¢ã¦ãããã ãã
$ git checkout -b linux-3.10.y origin/linux-3.10.y
ç¶ãã¦ã¿ã°ãgit tag -lã§ããããã§ã¦ããã
$ git tag -l
ã¿ã°ãæå®ãã¦ããã§ãã¯ã¢ã¦ãã
$ git checkout -b v3.10 v3.10
ããã§ã¯ãã¼ã«ã«ãªãã¸ããªã«ãã©ã³ããä½ã£ã¦ãããã©ããã¡ããã-b xxxããæå®ããªãã¦ãOKã
ã½ã¼ã¹ã³ã¼ããªã¼ãã£ã³ã°ã®ãä¾ã¨ãã¦ctagsãã¨æã£ããã©ãCentOSã®vimã ã¨cscopeãããã©ã«ãã£ã½ãã®ã§ãcscopeã®ã¿ã°ãã¡ã¤ã«ãä½ã£ã¦ããã
$ make cscope ARCH=x86
SimGrid
åæ£ã·ã¹ãã ã®ã·ãã¥ã¬ã¼ã¿ã«ä»INRIAãéçºãã¦ããSimGridã£ã¦ã®ããããã¡ã«ãã«ã³å¤§ã®CloudSimï¼ãã®åã«GridSimã£ã¦ã®ããã£ãï¼ã¨ã¯å¥ç©ãSimGridã¯å¤§æµã®UNIXã·ã¹ãã ã«å¯¾å¿ãã¦ããã®ã§ãOSXã§ãåãã®ã ããhomebewç¨ã®formulaããã£ãã®ã§ããµãã¯ãªåãããã¨ãã§ããã
ãã ãã½ã¼ã¹ããã±ã¼ã¸ã®ä¸ã«ã¯ãµã³ãã«ã³ã¼ããããããããã®ã§ããã¦ã³ãã¼ããã¦ãã£ã¡ãçºãã¦ã¿ããã¨ãå§ãããä¾ãã°ãexamples/msg/sendrecvã£ã¦ã®ã¯åç´ãª2ããã»ã¹éã§ã®ã¡ãã»ã¼ã¸éä¿¡ã«ãªãã
$ cmake CMakeLists.txt $ make
sendrecvã¨ããå®è¡ãã¡ã¤ã«ãçæãããã以ä¸ãå®è¡çµæãplatform_sendrecv.xmlã§ãã¹ãããããã¯ã¼ã¯ãããã¸ãå®ç¾©ããdeployment_sendrecv.xmlã§ããã»ã¹ãã©ã®ãã¹ãã§ãããã¤ãããå®ç¾©ããã
$ ./sendrecv platform_sendrecv.xml deployment_sendrecv.xml [0.000000] [msg_test/INFO] test_all [Inmos:sender:(1) 0.000000] [msg_test/INFO] sender [Inmos:sender:(1) 0.000000] [msg_test/INFO] host = Bellevue [Inmos:sender:(1) 0.000000] [msg_test/INFO] task_la->data = 0.000000e+00 [Bellevue:receiver:(2) 0.000000] [msg_test/INFO] receiver [Bellevue:receiver:(2) 1.301011] [msg_test/INFO] Task received : latency task [Bellevue:receiver:(2) 1.301011] [msg_test/INFO] Communic. time 1.301011e+00 [Bellevue:receiver:(2) 1.301011] [msg_test/INFO] --- la 1.301011 ---- [Inmos:sender:(1) 1.301011] [msg_test/INFO] task_bw->data = 1.301011e+00 [Bellevue:receiver:(2) 1085.076238] [msg_test/INFO] Task received : bandwidth task [Bellevue:receiver:(2) 1085.076238] [msg_test/INFO] Communic. time 1.083775e+03 [Bellevue:receiver:(2) 1085.076238] [msg_test/INFO] --- bw 922700.551985 ---- [1085.076238] [msg_test/INFO] Total simulation time: 1.085076e+03
platform_sendrecv.xmlã®å®ç¾©ã§ã¯ãInmosã¨Bellevueã®éã®é 延ã¯100ããªç§ãªã®ã«ãå®è¡çµæã1.3ç§ã¨ã¯ãã以ä¸ã«ï¼ platform_sendrecv.xmlã®é 延ãåæ¸ãããåå¢ãã¦åå®è¡ãã¦ã¿ããã©ããã£ã±ãä¸æ¡çµæãéãããã³ãå¹ ã¯100Mbpsã¨ããå®ç¾©ãªã®ã§ãã»ã¼ãã£ã¦ãããã©ã
ï¼è¿½è¨ï¼マニュアルã«ããã¨ãããã©ã«ãã®ãããã¯ã¼ã¯ã¢ãã«LV08ã§ã¯TCP slow startãã¢ãã«åããããã«ãé 延ã10.4åã«ãªãã¨ãããããã ããªããããªã¢ãã«åã«ãªãã®ããããããããã
CentOS 7ã§OSvãåããã¾ã§
OSvãåããã¦ã¿ãã〜ã
git clone https://github.com/cloudius-systems/osv.git
ãã¦ãREADME.mdãçºãããscripts/setup.pyã§å¿ è¦ãªããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ããã¿ããã ãã©ãCentOSç¨ã®è¨è¿°ããªãã®ã§ãFedoraããã¼ã¹ã«ã³ã¼ãã追å ãversionãexact matchãªã®ã§ããã¤ãã¼ãã¼ã¸ã§ã³ã¢ããããããã¡ã ãªããããã¾ãããããã
diff --git a/scripts/setup.py b/scripts/setup.py index 8487c2a..c73891b 100755 --- a/scripts/setup.py +++ b/scripts/setup.py @@ -51,6 +51,30 @@ class Fedora(object): versions = [Fedora_20, Fedora_21] +class CentOS(object): + name = 'CentOS Linux' + install = 'yum -y install' + packages = ['gcc-c++', 'gcc-c++-aarch64-linux-gnu', 'git', 'gdb', 'qemu-img', + 'qemu-system-x86', 'libvirt', 'maven', 'java-1.7.0-openjdk', + 'ant', 'autoconf', 'automake', 'boost-static', 'genromfs', 'libtool', + 'flex', 'bison', 'maven-shade-plugin', 'python-dpkt', 'tcpdump', 'gdb', + 'gnutls-utils', 'openssl', 'python-requests', 'p11-kit', 'patch', 'wget', + 'unzip', 'ncurses', 'ncurses-devel', 'libstdc++-static', 'openssl-libs', + 'openssl-devel' + ] + ec2_packages = standard_ec2_packages + test_packages = ['openssl-devel'] + ec2_post_install = standard_ec2_post_install + + class CentOS_7(object): + packages = [] + ec2_packages = [] + test_packages = [] + ec2_post_install = None + version = '7.0.1406' + + versions = [CentOS_7] + class Debian(object): name = 'debian' install = 'apt-get -y install' @@ -105,6 +129,7 @@ class Ubuntu(object): distros = [ Debian(), Fedora(), + CentOS(), Ubuntu() ]
ãã¨ã¯ãREADME.mdã«å¾ãã ãã ãã©ãmakeã§æ¢ã¾ã£ãããªã«ããéä¸ã§qemuãèµ·åãã¦ããã®ã ããCentOSã«ã¯qemu-system-x86_64ã³ãã³ãããªãï¼ä»£ããã«/usr/libexec/qemu-kvmãããï¼ã®ãåé¡ã®ããã ã次ã®ããã«workaroundã
$ sudo ln -s /usr/libexec/qemu-kvm /usr/bin/qemu-system-x86_64
scripts/run.pyãå®è¡ããã¨ãé©ãã»ã©ãã£ããOSvãèµ·åãããã¡ãªã¿ã«-nãªãã·ã§ã³ãä»ããã¨ããããã¯ã¼ã¯ãæå¹ã«ãªããããã©ã«ãã§ã¯192.168.122.0/24ããDHCPã§IPã¢ãã¬ã¹ãæãåºãããã-vãªãã·ã§ã³ã§vhostã使ã£ãé«éåãæå¹ã«ãªãã
$ sudo ./scripts/run.py -nv OSv v0.13-53-ge31c3dd DMI: error eth0: 192.168.122.89 /# help COMMAND DESCRIPTION api execute arbitrary OSv API operations as defined by the schema cat concatenate files and print on the standard output cd change the shell working directory date print the system date and time df report file system disk space usage dmesg print operating system boot log echo display a line of text exit close shell and exit free display amount of free and used memory in system hello a command example help list console available commands and show help ls list directory contents mkdir make directories rm remove files or directories top display OSv threads /# /# hello Hello, OSv!
/proc/self/mapsãè¦ã¦ãluaã®å ±æã©ã¤ãã©ãªããªã³ã¯ããã¦ããã®ã§æ°ä»ããã®ã ãã©ããã®ã·ã§ã«ã¯luaã§å®è£ ããã¦ããã®ãã
/# cat /cli/commands/hello.lua --[[ Commands are expected to be Lua modules. This file is an example of such a module. For more on Lua modules, see: http://lua-users.org/wiki/ModulesTutorial ]]-- local cmd = {} cmd.desc = [[a command example]] cmd.hello = [[Usage: hello A command example.]] --- Called when the command is executed -- @param args List of arguments from the command line cmd.main = function(args) print("Hello, OSv!") end return cmd
dmesgãè¦ããã¨ã©ããªããã¤ã¹ãç»é²ããã¦ããããããã
/# dmesg dmesg 4 CPUs detected Firmware vendor: Seabios bsd: initializing - done VFS: mounting ramfs at / VFS: mounting devfs at /dev RAM disk at 0x0xffff800002796040 (4096K bytes) net: initializing - done vga: Add VGA device instance eth0: ethernet address: 52:54:00:12:34:56 virtio-blk: Add blk device instances 0 as vblk0, devsize=10842275840 random: virtio-rng registered as a source. random: intel drng, rdrand registered as a source. random: <Software, Yarrow> initialized VFS: unmounting /dev VFS: mounting zfs at /zfs zfs: mounting osv/zfs from device /dev/vblk0.1 VFS: mounting devfs at /dev VFS: mounting procfs at /proc random: device unblocked. program zpool.so returned 1 BSD shrinker: event handler list found: 0xffffa0000199e500 BSD shrinker found: 1 BSD shrinker: unlocked, running [I/43 dhcp]: Waiting for IP... [I/246 dhcp]: Server acknowledged IP for interface eth0 [I/246 dhcp]: Configuring eth0: ip 192.168.122.89 subnet mask 255.255.255.0 gateway 192.168.122.1 MTU 1500 Running from /init/30-auto-00: /libhttpserver.so &!
ã·ã§ã«ã ã¨ã§ãããã¨ã¯éããã¦ããã®ã ãã©ãREST APIçµç±ã§ããããå¼ããã®ãä»ã£ã½ãããã©ã¦ã¶ã§http://192.168.122.89:8000/ãéãããããã©ã¦ã¶çµç±ã§ãªãã¼ããã·ã£ãããã¦ã³ãã§ãã¡ãã£ããé¢ç½ããã¡ãªã¿ã«ã³ã³ã½ã¼ã«ããã·ã£ãããã¦ã³ããã¨ãã¯ãexit (or Ctrl-a x)ã§OKã