åé¡ã®å£°æ
人æ°ã®ããRaspberry Piã·ã³ã°ã«ããŒãã³ã³ãã¥ãŒã¿ãŒã¯ãããŸããŸãªç£æ¥çšã¢ããªã±ãŒã·ã§ã³ã§äœ¿çšãããŠãã[3]ãæ°ããã¢ããªã±ãŒã·ã§ã³ãèŠã€ããŠããŸãã ãããã¯ãŒã¯ã«ã¯ã·ã¹ãã æ§èœã®è©äŸ¡ãšæ¯èŒã«é¢ããå€ãã®æ å ±ããããŸã [4]ããç£æ¥é¡§å®¢ã¯åäœæž©åºŠã®ç¯å²ãç¥ãããã§ãã ã¡ãŒã«ãŒã¯ãã®ãããªæ å ±ãæäŸããŸããã æ奜家ãå€éšèŠå ã®åœ±é¿ã«ã€ããŠå®æœãããã¹ã[5ã6]ã¯ãä»ã®ããã€ãã®åé¡ã解決ããŸãã
ç§ãã¡ã®ç 究ã®ç®çã¯ãRaspberry Piã·ã³ã°ã«ããŒãã³ã³ãã¥ãŒã¿ãŒã®åäœæž©åºŠç¯å²ãè©äŸ¡ããããšã§ããã Raspberry Pi 3 Model BãšRaspberry Pi 2 Model Bããã¹ãããŸããããèšäºã®æºåäžã«ãBCM2837ããã»ããµãæèŒããRaspberry Pi 2 Model B V1.2ã®æ°ããããŒãžã§ã³ãç»å ŽããRPM 2 V1.1ãšBCM2836ããã»ããµããã¹ãããŸããã
MSTUã®åŸæ¥å¡ãšåŠçãå®æœãã調æ»ã 2016幎ã®Sovtest ATEã§ã®å€ã®ã€ã³ã¿ãŒã³ã·ããã®äžç°ãšããŠãRS Components Russiaããå§èšãããBaumanã¯ããã¹ãçšã®ç¡æãµã³ãã«ãæäŸããŸãã[13]ã
å®éšæ¡ä»¶
Raspberry Pi 3 Model Bããã³Raspberry Pi 2 Model BããŒãã®ã»ãšãã©ã®ã³ã³ããŒãã³ãã¯ã-40âã+ 85âã®å·¥æ¥çšæž©åºŠç¯å²ãåããŠããŸãã -55âãã+ 110âãŸã§ã®åºã枩床ç¯å²ã§ããŒãããã¹ãããæ§èœã®éçãè©äŸ¡ããããšã¯å®çšçã§ãã
å®éšã®ã»ããã¢ãããå³ã«ç€ºããŸãã 1. Raspberry Piã·ã³ã°ã«ããŒãã³ã³ãã¥ãŒã¿ãŒãTCT-811å·ç±å®€ã«èšçœ®ããŸããã RPi 2ã¯ã€ãŒãµãããçµç±ã§LP-Link TL-WR720Nã«ãŒã¿ãŒã«æ¥ç¶ãããRPi 3ã¯Wi-Fiçµç±ã§æ¥ç¶ãããŸãã ããŒãã«ã¯USBã¢ããã¿ãŒãæèŒãããŠããŸããã ããŒãã®ç®¡çãšããŒã¿åéã¯ããªãã¬ãŒã¿ãŒã®ã³ã³ãã¥ãŒã¿ãŒããã®SSHã¢ã¯ã»ã¹ãéããŠè¡ãããŸããã
å³1.枩床ãã¹ãã®å®éšçã€ã³ã¹ããŒã«ã®ã¹ããŒã
Raspbianã¯ã補é å ã«ãã£ãŠæšå¥šããã³ãµããŒããããŠããäž»ãªãã®ãšããŠããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ãšããŠäœ¿çšãããŸããã ããã©ãŒãã³ã¹ãã¹ãã¯ãSysBenchãŠãŒãã£ãªãã£ã䜿çšããŠå®è¡ãããŸãããSysBenchãŠãŒãã£ãªãã£ã¯ãé«è² è·äžã§ã®äœæ¥ã®ã·ã¹ãã ãã©ã¡ãŒã¿ãè¿ éã«è©äŸ¡ã§ãããã¯ãã¹ãã©ãããã©ãŒã ã®ãã«ãã¹ã¬ããã¢ããªã±ãŒã·ã§ã³ã§ãã ãã¹ãããŒã¿ã¯ããŒãã®å éšã¡ã¢ãªã«èšé²ãããèŠæ±ã«å¿ããŠãªãã¬ãŒã¿ãŒã®ã³ã³ãã¥ãŒã¿ãŒã«ã³ããŒãããŸããã ããŒã¿ãã£ãªã¢ãšããŠãQUMO 32GBã¯ã©ã¹10 SDã«ãŒãã䜿çšãããŸããã
å®éšã®é²æ
ãã¹ãã¯æ¬¡ã®ããã«å®è¡ãããŸããã ããŒãã¯ã«ã¡ã©ã«é 眮ãããå³ã®åè·¯ã«åŸã£ãŠæ¥ç¶ãããŸããã 1.次ã«ããã£ã³ããŒå ã®æž©åºŠãå€æŽããã¢ã«ãŽãªãºã ãèšå®ããŸããã ã«ã¡ã©ã¯ãæåã«å®€æž©+ 23âãã+ 110âã«æ®µéçã«æž©åºŠãäžãã次ã«å®€æž©ã«æ¥éã«å·åŽããããã«æž©åºŠã-50âã«æ®µéçã«äžããããã«ããã°ã©ã ãããŸããïŒå³2ïŒã åèšã§19ã®æž¬å®ââã¹ããããå®è¡ããã10âã®ã¹ãããéã®æž©åºŠã¹ããããè¡ãããŸããïŒè¡š1ïŒã
ãã¹ãã¹ããŒãžçªå· | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
段éã®éšå±ã®æž©åºŠãâ | +23 | +30 | +40 | +50 | +60 | +70 | +80 | +90 | +100 | +110 | +106 | +27 | -20 | -25 | -30 | -35 | -40 | -45 | -50 |
ãã¹ãã®å段éã§ã察å¿ãã枩床ãæåã«ãã£ã³ããŒå ã«èšå®ããã次ã«ããŒããçŽ6åéãã®ç¶æ ã§ãªãç¶æ ã«ä¿ãããŸããã ãã®åŸãããŒãã¯ã»ãŒåæã«ãªã³ã«ãªããããããã§Sysbenchãã¹ããéå§ãããããã»ããµãŒã®æž©åºŠãããã«æž¬å®ãããŸããã ãã¹ããå®äºããåŸãã«ã¡ã©ã次ã®æ®µéã«é²ããåã«ãããŒãã®é»æºãåããåã枩床ã§1ã2åéåãšãŒãžã³ã°ããŸããã ã¹ããŒãžéã®æž©åºŠå€åçã¯çŽ1â/åã§ããã
å³2.ãã¹ãäžã®ãã£ã³ããŒå ã®æž©åºŠå€å
Sysbenchãã¹ãã«åæ Œããããã®å®å šãªåã¹ãããã¯ãããã»ããµãã¹ããã¡ã¢ãªãã¹ããã¹ã¬ãããã¹ãã®3ã€ã®ã¢ãžã¥ãŒã«ãé çªã«èµ·åããããšã§æ§æãããŠããŸããã åSysbenchã¢ãžã¥ãŒã«ã®çµæã¯ãå®è¡æéãç§åäœã§æ±ºå®ããããšã§ããã åãã¹ãã«ã€ããŠè©³ãã説æããŸãããã
ããã»ããµãã¹ãïŒ--test = cpuïŒ Sysbenchã¯ã64ãããæŽæ°ã䜿çšããŠã-cpu -max-primesãã©ã¡ãŒã¿ãŒã§æå®ãããå€ãŸã§ã®çŽ æ°ãèšç®ããŸãã è€æ°ã®ã¹ã¬ãããæå®ããããšãå¯èœã§ãããããã©ã«ãå€ã§ãã1ã€ã®ã¹ã¬ããã䜿çšããŸããã
ã¡ã¢ãªãã¹ãïŒ--test = threadsïŒã¯ãã¡ã¢ãªãããã¡ãå²ãåœãŠãèªã¿åããŸãã¯æžã蟌ã¿æäœãå®è¡ããŸãã 1åã®æäœã§èªã¿æžããããããŒã¿ã®éã¯ã32ããããŸãã¯64ãããã®ãã€ã³ã¿ãŒã®ãµã€ãºã«ãã£ãŠæ±ºãŸããŸãã æå®ãããããªã¥ãŒã ãåŠçããããŸã§ããã»ã¹ãç¹°ãè¿ãããŸãïŒ--memory-total-sizeïŒ ã ã¹ã¬ããæ°ïŒ--num-threadsïŒ ããããã¡ãŒãµã€ãºïŒ--memory-block-sizeïŒããã³æäœã®ã¿ã€ãïŒèªã¿åããŸãã¯æžã蟌ã¿--memory-oper = [èªã¿åã|æžã蟌ã¿] ïŒãèšå®ã§ããŸãã
ã¹ã¬ãããã¹ãïŒ--test = memoryïŒã¯ãå€æ°ã®ç«¶åããã¹ã¬ããã§ããã»ããµããã§ãã¯ããŸãã ãã¹ãã§ã¯ãè€æ°ã®ã¹ã¬ããïŒ--num-threadsïŒãšè€æ°ã®mutex ïŒ--thread-locksïŒãäœæããŸãã 次ã«ãåã¹ã¬ããã¯ãmutexããããã¯ããããã»ããµã¿ã¹ã¯ãå®è¡ããŠïŒå®éã®äœæ¥ãã·ãã¥ã¬ãŒãããïŒãmutexãããã¯è§£é€ããèŠæ±ã®çæãéå§ããŸãã åãªã¯ãšã¹ãã«å¯ŸããŠãlock-execute-unlockã¢ã¯ã·ã§ã³ãæ°åå®è¡ãããŸãããã®æ°ã¯--thread-yieldsãã©ã¡ãŒã¿ãŒã§æå®ãããŸãã
察å¿ãããã©ã¡ãŒã¿ãŒã䜿çšããŠSysbenchã¢ãžã¥ãŒã«ãéå§ããããã®bashã¹ã¯ãªããã®ççž®ããã¹ãã以äžã«ç€ºããŸãã
{1..5}ã®ã«ãŠã³ã
ãã
sysbench --test = cpu --cpu-max-prime = 1150 run
sysbench --test = memory --memory-block-size = 1M --memory-total-size = 10G run
sysbench --num-threads = 64 --test = threads --thread-yields = 1000 --thread-locks = 8 run
vcgencmd measure_temp
ãã£ã
ããã»ããµãŒã®ææ°æž©åºŠã¯ãå èµã»ã³ãµãŒããååŸãããŸããã çµã¿èŸŒã¿ã®æž©åºŠã»ã³ãµãŒã®æž¬å®å€ã¯ã vcgencmd measure_tempã³ãã³ãã«ãã£ãŠå®è¡ãããŸããã
å®éšçµæ
Sysbenchãã¹ãã®çµæãå³3ã«ç€ºããŸããå段éã§ãSysbenchãã¹ãã5åé£ç¶ããŠç¹°ãè¿ããããã©ãŒãã³ã¹ããŒã¿ã5åã®ãã¹ãã®çµæã«ããã£ãŠå¹³åããŸããã ããã»ããµã®æž©åºŠå€ã¯ãå段éã§æž¬å®ãããæ倧å€ã«ãªããŸãã
å³3. Raspberry Pi 3ããã³Raspberry Pi 2ã·ã³ã°ã«ããŒãã³ã³ãã¥ãŒã¿ãŒã®Sysbenchãã³ãããŒã¯çµæ
å³3ã¯ã3ã€ã®ãã¹ããã¹ãŠã®ããã©ãŒãã³ã¹ã®å³ãRPi 3ãšRPi 2ã®äž¡æ¹ã§ã»ãŒåãã§ããããšã瀺ããŠããŸãã-35âãã+ 50âã®æž©åºŠç¯å²ã§ã¯ãRPi 3ããŒãã¯RPiã®çŽ1.6åé«éã«åäœããŸã2ãããã¯å ¬åŒã®ããã©ãŒãã³ã¹ãã¹ãã®çµæãšäžèŽããŠããŸã[4]ã æ§æãã¡ã€ã«ã§æå®ãããããã»ããµã®æž©åºŠãããå€ã«éãããšãããã©ã«ãã§ã¯+ 85âã«ãªãããã·ã³ã¯ããã¯ã®ã¹ãããã«ããéç±ããããã»ããµãä¿è·ããã¡ã«ããºã -ã¯ããã¯ãµã€ã¯ã«ã®èª¿æŽãŸãã¯èª¿æŽ [8]ãéå§ãããŸãã
ã³ã³ãã¥ãŒã¿ãŒã¯ç°ãªã枩床ã§èµ·åãåæ¢ããŸããïŒ+90â以äžã®æž©åºŠã§ã¯RPi 3ã+ 106â以äžã®æž©åºŠã§ã¯RPi 2ã 0âæªæºã®æž©åºŠã§ã¯ãäž¡æ¹ã®ããŒãã®æ§èœã«å€åã¯ãããŸããã -35âæªæºã®RPi 3ããŒããš-45âæªæºã®æž©åºŠã§ã¯ãRPi 2ããŒãã¯èµ·åããŸããã é«æž©ã§ãäœæž©ã§ããããŒãã¯è·ãäžãããåäœæž©åºŠç¯å²ã«æ»ã£ãåŸãåäœãåéããŸããã
å³4.ãã¹ããã£ã³ããŒå ã®ç°ãªãåšå²æž©åºŠã§ã®Raspberry Pi 3ããã³Raspberry Pi 2ããã»ããµãŒã®æž©åºŠ
ãã¹ããã£ã³ããŒã®æž©åºŠå€ãšRPi 2ããã³RPi 3ããŒãããã»ããµã®å¯Ÿå¿ãã枩床ãå³4ã«ç€ºããŸããRPi3ããã»ããµã¯RPi 2ããã»ããµãããå€ãå ç±ãããããç°å¢ã®+ 50âã§ã¹ãããã«ãããå€æž©åºŠ+ 85âã«éããŸãã RPi 2ã¯+ 70âã®æž©åºŠã§ã¹ãããã«ãéå§ããŸãã ãããã£ãŠããã¹ãçµæã§ã¯ã+ 50âãè¶ ãã枩床ã§ã¯RPi 3ã®æ§èœãRPi 2ã«å£ãããšãããããŸãã ãããã®æž©åºŠã§ã¯ãããã»ããµå·åŽã䜿çšããããšããå§ãããŸã[8]ã
ãã¹ãã§ã¯ãRPi 3ããŒããèµ·åãã-35âãã+ 90âã®æž©åºŠç¯å²ã§åäœããRPi 2ããŒãã¯-45âãã+ 106âã®ç¯å²ã§åäœããŸããã ãããã®ç¯å²ã¯ã䜿çšãããé»åéšåã®å·¥æ¥çšæž©åºŠç¯å²-40ã+ 85âã«è¿ããã®ã§ãã
ç§ãã¡ã®ç 究ã¯ãå®å šãã€ç¡æ¡ä»¶ã®å·¥åŠçæšå¥šäºé ã§ã¯ãããŸããã 次ã®æ¡ä»¶ãšç¶æ³ããã®çµæã«åœ±é¿ããŸããã ãŸã第äžã«ãSDã¡ã¢ãªãŒã«ãŒãã¯åé¡ãåŒãèµ·ãããããã¯ãã°ãã°èª€åäœãåŒãèµ·ãããããããåãã©ãŒãããããã«ãŒãã埩å ããããã«ã·ã¹ãã ã€ã¡ãŒãžãåèšé²ããªããã°ãªããŸããã§ããã 第äºã«ãRPi 2ãšRPi 3ã®ãã¹ãçµæã®æ¯èŒå¯èœæ§ã¯ãããŒããšéä¿¡ããããŸããŸãªæ¹æ³ã«ãã£ãŠåœ±é¿ãåããå¯èœæ§ããããŸããã€ãŒãµãããçµç±ã®RPi 2ãšWi-Fiçµç±ã®RPi 3ã§ãã 第äžã«ããã¹ããã©ã¡ãŒã¿ã¯ããã¹ãæéã®åèšã1å¶æ¥æ¥ã®æéã«åãŸãããã«éžæããããããããŒãã枩床ã«é·æéãããããŠãåäœãããã©ãããå€æã§ããŸããã 第4ã«ãé©çšãããæ¹æ³è«ã¯GOST 28199-89ãå€éšèŠå ãžã®æŽé²ã®åºæ¬çãªè©Šéšæ¹æ³ãã«åºã¥ããŠéçºããããã®ã®ãè©Šéšã¯èªèšŒãããã»ã³ã¿ãŒã§ã¯å®æœããããGOSTã«å³å¯ã«åŸã£ãŠããŸããã§ããã ããŒã2.ãã¹ãã ãã¹ãAïŒå¯å·âããã³GOST 28200-89âå€éšèŠå ã«ãããããããã®åºæ¬çãªè©Šéšæ¹æ³ã ããŒã2.ãã¹ãã ãã¹ãBïŒä¹Ÿç±ãã
枬å®ããã³åæçµæã¯ããã¹ãæžã¿ã®ãµã³ãã«ã®ã¿ãåç §ããã¡ãŒã«ãŒã®ä»ã®è£œåã«é åžããããšã¯ã§ããŸããã ãã¹ãçµæã¯ãçµç¹ã®åæ¥çããã³æ³çåé¡ã«ãããææ決å®ã®åºç€ãšãªãããšã¯ã§ããŸããã åæã«ãèè ã¯æ瀺ãããçµæããšã³ãžãã¢ãªã³ã°ã³ãã¥ããã£ã«åœ¹ç«ã€ããšãæãã§ããŸãã
èè
Daler ArabovãMSTUã ããŠãã³
ããã«ã»ã°ãªãŽãªãšããMSTU ããŠãã³
ããã«ã»ã°ãªãŽãªãšããMSTU ããŠãã³
æåŠ
1. Sergeeva A.ãKrivandin S.ã·ã³ã°ã«ããŒãã³ã³ãã¥ãŒã¿ãŒRaspberry PiïŒããã¥ã¢ã«ããç£æ¥çšã³ã³ãããŒã©ãŒãŸã§ã ã³ã³ããŒãã³ããšãã¯ãããžãŒã 2016. No4
2. Ermakov A. Raspberry Pi-ããžãã¹ããã»ã¹ã®èªååã®ã³ã¹ããåæžããå¹æçãªããŒã«ã ISUP.2016.â1
3. ç£æ¥ç°å¢ã§ã®Raspberry PiãšArduinoã®é©çš
4. Raspberry Pi 3ã®ãã¹ã
5. Raspberry Pi 3ã®ç±èª¿æ»
6. æ°é®®ãªã©ãºããªãŒãã€
7. CPUã¹ããããªã³ã°ãŸãã¯ããã©ãŒãã³ã¹ãäœäžããçç±
8. Raspberry Pi 3ã¯åæ¢ãããç«çœããã£ããããŸãã
9. ãœããã¹ãã§ã®ã€ã³ã¿ãŒã³ã·ãã
2. Ermakov A. Raspberry Pi-ããžãã¹ããã»ã¹ã®èªååã®ã³ã¹ããåæžããå¹æçãªããŒã«ã ISUP.2016.â1
3. ç£æ¥ç°å¢ã§ã®Raspberry PiãšArduinoã®é©çš
4. Raspberry Pi 3ã®ãã¹ã
5. Raspberry Pi 3ã®ç±èª¿æ»
6. æ°é®®ãªã©ãºããªãŒãã€
7. CPUã¹ããããªã³ã°ãŸãã¯ããã©ãŒãã³ã¹ãäœäžããçç±
8. Raspberry Pi 3ã¯åæ¢ãããç«çœããã£ããããŸãã
9. ãœããã¹ãã§ã®ã€ã³ã¿ãŒã³ã·ãã