SlideShare a Scribd company logo
1 of 8
How To Train Your ARM(SBC)
6th May, 2020 SAKURA Internet, Inc. Research Center SR / Naoto MATSUMOTO
(C) Copyright 1996-2020 SAKURA Internet Inc
ARM SBC(Single Board Computer): CPU Architectures
2
Nano Pi NEO
(DDR3 512MB)
(4 Core CPU)
# lscpu
Architecture: armv7l
Model name: Cortex-A7
# uname -sr ; tail -1 /etc/lsb-release
Linux 5.4.35-sunxi
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"
Rock Pi S
(DDR3 512MB)
(4 Core CPU)
# lscpu
Architecture: aarch64
Model name: Cortex-A35
# uname -sr ; tail -1 /etc/lsb-release
Linux 4.4.217-rockpis
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"
Rock64
(DDR3 1-4GB)
(4 Core CPU)
# lscpu
Architecture: aarch64
Model name: Cortex-A53
# uname -sr ; tail -1 /etc/lsb-release
Linux 4.4.213-rockchip64
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"
Rock Pi 4A
(DDR4 1-4GB)
(2 Core CPU)
# lscpu
Architecture: aarch64
Model name: Cortex-A53
# uname -sr ; tail -1 /etc/lsb-release
Linux 4.4.213-rockchip64
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"
SOURCE: SAKURA Internet Research Center (2020/05)
# lcspu
Architecture: x86_64
Model name: Celeron(R) N3350
# uname -sr ; tail -1 /etc/lsb-release
Linux 4.15.0-96-generic
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"
PICO-APL4
(DDR3 1-2GB)
(2 Core CPU)
ARM SBC vs x86_64: CPU Performance/Cost Matrix
3
SOURCE: SAKURA Internet Research Center (2020/05)
(Cost)
High
Low
(CPU Performance) FastSlow
x86_64 or ARM
General Purpose
(Cloud/Data Center)
ARM SBC
Single Board Computers
(HOME, SHOP, HOBBY..etc)
x86_64 or ARM
Embedded System
(Industroy ...etc)
Computer Vision,
Automatic Speech Recognition...etc
ARM with k3s for container Orchestration
4
Nano Pi NEO
(DDR3 512MB)
(4 Core CPU)
Rock Pi S
(DDR3 512MB)
(4 Core CPU)
SOURCE: SAKURA Internet Research Center (2020/05)
# apt install -y curl
# curl -sfL https://get.k3s.io | sh -
# kubectl get node (OK)
:
# kubectl get node
(It doesn't seem to work.) (X)
Rock64
(DDR3 1-4GB)
(4 Core CPU)
Rock Pi 4A
(DDR4 1-4GB)
(2 Core CPU)
PICO-APL4
(DDR3 1-2GB)
(2 Core CPU)
# apt install -y curl
# curl -sfL https://get.k3s.io | sh -
[ERROR] Download sha256 does not match (X)
# apt install -y curl
# curl -sfL https://get.k3s.io | sh -
# kubectl get node (OK)
# apt install -y curl
# curl -sfL https://get.k3s.io | sh -
# kubectl get node (OK)
ARM with Wireguard for VPN connections
5
Nano Pi NEO
(DDR3 512MB)
(4 Core CPU)
Rock Pi S
(DDR3 512MB)
(4 Core CPU)
Rock64
(DDR3 1-4GB)
(4 Core CPU)
Rock Pi 4A
(DDR4 1-4GB)
(2 Core CPU)
SOURCE: SAKURA Internet Research Center (2020/05)
PICO-APL4
(DDR3 1-2GB)
(2 Core CPU)
# apt update ; apt upgrade -y; sync; sync; sync; reboot
# apt install -y linux-headers-current-sunxi
# add-apt-repository ppa:wireguard/wireguard ; apt update
# apt install -y wireguard wireguard-tools wireguard-dkms
:
# INSTALL MANUALLY linux-headers-4.4.217-rockpis
:
:
# INSTALL MANUALLY linux-headers-4.4.213-rockchip64
:
:
# INSTALL MANUALLY linux-headers-4.4.213-rockchip64
:
# apt update ; apt upgrade -y; sync; sync; sync; reboot
# apt-get install linux-headers-$(uname -r)
# add-apt-repository ppa:wireguard/wireguard ; apt update
# apt install -y wireguard wireguard-tools wireguard-dkms
ARM with Wasmer for portable binary-codes
6
Nano Pi NEO
(DDR3 512MB)
(4 Core CPU)
Rock Pi S
(DDR3 512MB)
(4 Core CPU)
SOURCE: SAKURA Internet Research Center (2020/05)
# apt install -y curl
# curl https://get.wasmer.io -sSfL | sh
(armv7l) is not supported by this installation script. (X)
:
# source /root/.wasmer/wasmer.sh
# wapm install rustpython
# wapm run rustpython
memory allocation of 71303176 bytes failed (X)
Rock64
(DDR3 1-4GB)
(4 Core CPU)
Rock Pi 4A
(DDR4 1-4GB)
(2 Core CPU)
PICO-APL4
(DDR3 1-2GB)
(2 Core CPU)
:
# wapm run rustpython
Segmentation fault. (X)
:
# wapm run rustpython
Error: error: Caught exception of type "MemoryOutOfBounds". (X)
# apt install -y curl
# curl https://get.wasmer.io -sSfL | sh
# source /root/.wasmer/wasmer.sh
# wapm install rustpython
# wapm run rustpython
Welcome to the magnificent Rust Python 0.1.1 interpreter ? ?
>>>>> 2+2
Error: error: unknown error (X)
ARM with Jupyter Notebook for Small Lab
7
Nano Pi NEO
(DDR3 512MB)
(4 Core CPU)
Rock Pi S
(DDR3 512MB)
(4 Core CPU)
SOURCE: SAKURA Internet Research Center (2020/05)
# apt install -y python2.7 python-pip python-dev ipython
# pip install --upgrade pip
# pip install jupyter
# jupyter notebook ... (OK)
:
# same as above
:
Rock64
(DDR3 1-4GB)
(4 Core CPU)
Rock Pi 4A
(DDR4 1-4GB)
(2 Core CPU)
PICO-APL4
(DDR3 1-2GB)
(2 Core CPU)
:
# same as above
:
:
# same as above
:
:
# same as above
:
Conclusion
8
Nano Pi NEO
(DDR3 512MB)
(4 Core CPU)
Rock Pi S
(DDR3 512MB)
(4 Core CPU)
SOURCE: SAKURA Internet Research Center (2020/05)
k3s Wireguard WASM Jupyter Notebook Linux Kernel
OK AUTOMATIC NG OK Linux 5.4.35-sunxi
INSTALL
NG MANUAL NG OK Linux 4.4.217-rockpis
INSTALL
Rock64
(DDR3 1-4GB)
(4 Core CPU)
Rock Pi 4A
(DDR4 1-4GB)
(2 Core CPU)
PICO-APL4
(DDR3 1-2GB)
(2 Core CPU)
NG MANUAL NG OK Linux 4.4.213-rockchip64
INSTALL
OK MANUAL NG OK Linux 4.4.213-rockchip64
INSTALL
OK AUTOMATIC NG OK Linux 4.15.0-96-generic
INSTALL

More Related Content

What's hot

Programming OpenRISC on Altera De0_nano
Programming OpenRISC on Altera De0_nanoProgramming OpenRISC on Altera De0_nano
Programming OpenRISC on Altera De0_nanoYi-Chiao
 
Linux kernel bug hunting
Linux kernel bug huntingLinux kernel bug hunting
Linux kernel bug huntingAndrea Righi
 
How to twist a IPv6 over Bluetooth (6lowpan)
How to twist a IPv6 over Bluetooth (6lowpan) How to twist a IPv6 over Bluetooth (6lowpan)
How to twist a IPv6 over Bluetooth (6lowpan) Naoto MATSUMOTO
 
最後の楽園の開発をちょこっとだけ手伝った話
最後の楽園の開発をちょこっとだけ手伝った話最後の楽園の開発をちょこっとだけ手伝った話
最後の楽園の開発をちょこっとだけ手伝った話nullnilaki
 
SUSE Enterprise Storage on ThunderX
SUSE Enterprise Storage on ThunderXSUSE Enterprise Storage on ThunderX
SUSE Enterprise Storage on ThunderXAlex Lau
 
Build an affordable Cloud Stroage
Build an affordable Cloud StroageBuild an affordable Cloud Stroage
Build an affordable Cloud StroageAlex Lau
 
Performance analysis with_ceph
Performance analysis with_cephPerformance analysis with_ceph
Performance analysis with_cephAlex Lau
 
Flex pod driven by Openstack
Flex pod driven by OpenstackFlex pod driven by Openstack
Flex pod driven by OpenstackMarton Kiss
 
openSUSE storage workshop 2016
openSUSE storage workshop 2016openSUSE storage workshop 2016
openSUSE storage workshop 2016Alex Lau
 
Redis深入浅出
Redis深入浅出Redis深入浅出
Redis深入浅出ruoyi ruan
 
UP Board AI Core Configuration memo
UP Board AI Core Configuration memoUP Board AI Core Configuration memo
UP Board AI Core Configuration memoNaoto MATSUMOTO
 
UBD (LaserVault Universal Backup Device )
UBD (LaserVault Universal Backup Device )UBD (LaserVault Universal Backup Device )
UBD (LaserVault Universal Backup Device )Brad Jensen
 

What's hot (17)

Programming OpenRISC on Altera De0_nano
Programming OpenRISC on Altera De0_nanoProgramming OpenRISC on Altera De0_nano
Programming OpenRISC on Altera De0_nano
 
Linux kernel bug hunting
Linux kernel bug huntingLinux kernel bug hunting
Linux kernel bug hunting
 
How to twist a IPv6 over Bluetooth (6lowpan)
How to twist a IPv6 over Bluetooth (6lowpan) How to twist a IPv6 over Bluetooth (6lowpan)
How to twist a IPv6 over Bluetooth (6lowpan)
 
最後の楽園の開発をちょこっとだけ手伝った話
最後の楽園の開発をちょこっとだけ手伝った話最後の楽園の開発をちょこっとだけ手伝った話
最後の楽園の開発をちょこっとだけ手伝った話
 
My First F-Stack
My First F-StackMy First F-Stack
My First F-Stack
 
QNAP Portafolio 2015
QNAP Portafolio 2015QNAP Portafolio 2015
QNAP Portafolio 2015
 
One plus 5t architecture
One plus 5t architectureOne plus 5t architecture
One plus 5t architecture
 
GTC Japan 2014
GTC Japan 2014GTC Japan 2014
GTC Japan 2014
 
SUSE Enterprise Storage on ThunderX
SUSE Enterprise Storage on ThunderXSUSE Enterprise Storage on ThunderX
SUSE Enterprise Storage on ThunderX
 
Build an affordable Cloud Stroage
Build an affordable Cloud StroageBuild an affordable Cloud Stroage
Build an affordable Cloud Stroage
 
Performance analysis with_ceph
Performance analysis with_cephPerformance analysis with_ceph
Performance analysis with_ceph
 
Flex pod driven by Openstack
Flex pod driven by OpenstackFlex pod driven by Openstack
Flex pod driven by Openstack
 
openSUSE storage workshop 2016
openSUSE storage workshop 2016openSUSE storage workshop 2016
openSUSE storage workshop 2016
 
QNAP Selection Guide 2015
QNAP Selection Guide 2015QNAP Selection Guide 2015
QNAP Selection Guide 2015
 
Redis深入浅出
Redis深入浅出Redis深入浅出
Redis深入浅出
 
UP Board AI Core Configuration memo
UP Board AI Core Configuration memoUP Board AI Core Configuration memo
UP Board AI Core Configuration memo
 
UBD (LaserVault Universal Backup Device )
UBD (LaserVault Universal Backup Device )UBD (LaserVault Universal Backup Device )
UBD (LaserVault Universal Backup Device )
 

Similar to Train ARM SBC

Summit 16: OPNFV on ARM - Hardware Freedom of Choice Has Arrived!
Summit 16: OPNFV on ARM - Hardware Freedom of Choice Has Arrived!Summit 16: OPNFV on ARM - Hardware Freedom of Choice Has Arrived!
Summit 16: OPNFV on ARM - Hardware Freedom of Choice Has Arrived!OPNFV
 
Deep learning: Hardware Landscape
Deep learning: Hardware LandscapeDeep learning: Hardware Landscape
Deep learning: Hardware LandscapeGrigory Sapunov
 
ROCm with dGPU(AMD GPU) using pyopencl (memo)
ROCm with dGPU(AMD GPU) using pyopencl (memo)ROCm with dGPU(AMD GPU) using pyopencl (memo)
ROCm with dGPU(AMD GPU) using pyopencl (memo)Naoto MATSUMOTO
 
Experiences with Oracle SPARC S7-2 Server
Experiences with Oracle SPARC S7-2 ServerExperiences with Oracle SPARC S7-2 Server
Experiences with Oracle SPARC S7-2 ServerJomaSoft
 
List of AMD Ryzen processors 9oooooooiiiiii
List of AMD Ryzen processors 9oooooooiiiiiiList of AMD Ryzen processors 9oooooooiiiiii
List of AMD Ryzen processors 9oooooooiiiiiiwrviduranga
 
Exploring Github Data with Apache Drill on ARM64
Exploring Github Data with Apache Drill on ARM64 Exploring Github Data with Apache Drill on ARM64
Exploring Github Data with Apache Drill on ARM64 Ganesh Raju
 
Porting Android ABS 2011
Porting Android ABS 2011Porting Android ABS 2011
Porting Android ABS 2011Opersys inc.
 
Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Santosh Kangane
 
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...Databricks
 
Advanced Apache Spark Meetup: How Spark Beat Hadoop @ 100 TB Daytona GraySor...
Advanced Apache Spark Meetup:  How Spark Beat Hadoop @ 100 TB Daytona GraySor...Advanced Apache Spark Meetup:  How Spark Beat Hadoop @ 100 TB Daytona GraySor...
Advanced Apache Spark Meetup: How Spark Beat Hadoop @ 100 TB Daytona GraySor...Chris Fregly
 
Under The Hood Of A Shard-Per-Core Database Architecture
Under The Hood Of A Shard-Per-Core Database ArchitectureUnder The Hood Of A Shard-Per-Core Database Architecture
Under The Hood Of A Shard-Per-Core Database ArchitectureScyllaDB
 
How to measure your dataflow using fio, pktgen and bandwidthTest
How to measure your dataflow using fio, pktgen and bandwidthTestHow to measure your dataflow using fio, pktgen and bandwidthTest
How to measure your dataflow using fio, pktgen and bandwidthTestNaoto MATSUMOTO
 
Mikhail Belopuhov: OpenBSD: Where is crypto headed?
Mikhail Belopuhov: OpenBSD: Where is crypto headed?Mikhail Belopuhov: OpenBSD: Where is crypto headed?
Mikhail Belopuhov: OpenBSD: Where is crypto headed?Yandex
 
Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...
Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...
Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...ryancox
 
Slackware Demystified [SELF 2011]
Slackware Demystified [SELF 2011]Slackware Demystified [SELF 2011]
Slackware Demystified [SELF 2011]Vincent Batts
 

Similar to Train ARM SBC (20)

All Zones
All ZonesAll Zones
All Zones
 
Summit 16: OPNFV on ARM - Hardware Freedom of Choice Has Arrived!
Summit 16: OPNFV on ARM - Hardware Freedom of Choice Has Arrived!Summit 16: OPNFV on ARM - Hardware Freedom of Choice Has Arrived!
Summit 16: OPNFV on ARM - Hardware Freedom of Choice Has Arrived!
 
Deep learning: Hardware Landscape
Deep learning: Hardware LandscapeDeep learning: Hardware Landscape
Deep learning: Hardware Landscape
 
ROCm with dGPU(AMD GPU) using pyopencl (memo)
ROCm with dGPU(AMD GPU) using pyopencl (memo)ROCm with dGPU(AMD GPU) using pyopencl (memo)
ROCm with dGPU(AMD GPU) using pyopencl (memo)
 
Experiences with Oracle SPARC S7-2 Server
Experiences with Oracle SPARC S7-2 ServerExperiences with Oracle SPARC S7-2 Server
Experiences with Oracle SPARC S7-2 Server
 
List of AMD Ryzen processors 9oooooooiiiiii
List of AMD Ryzen processors 9oooooooiiiiiiList of AMD Ryzen processors 9oooooooiiiiii
List of AMD Ryzen processors 9oooooooiiiiii
 
Exploring Github Data with Apache Drill on ARM64
Exploring Github Data with Apache Drill on ARM64 Exploring Github Data with Apache Drill on ARM64
Exploring Github Data with Apache Drill on ARM64
 
Porting Android
Porting AndroidPorting Android
Porting Android
 
Porting Android
Porting AndroidPorting Android
Porting Android
 
Porting Android ABS 2011
Porting Android ABS 2011Porting Android ABS 2011
Porting Android ABS 2011
 
Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0
 
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
 
Advanced Apache Spark Meetup: How Spark Beat Hadoop @ 100 TB Daytona GraySor...
Advanced Apache Spark Meetup:  How Spark Beat Hadoop @ 100 TB Daytona GraySor...Advanced Apache Spark Meetup:  How Spark Beat Hadoop @ 100 TB Daytona GraySor...
Advanced Apache Spark Meetup: How Spark Beat Hadoop @ 100 TB Daytona GraySor...
 
Ceph on arm64 upload
Ceph on arm64   uploadCeph on arm64   upload
Ceph on arm64 upload
 
Under The Hood Of A Shard-Per-Core Database Architecture
Under The Hood Of A Shard-Per-Core Database ArchitectureUnder The Hood Of A Shard-Per-Core Database Architecture
Under The Hood Of A Shard-Per-Core Database Architecture
 
How to measure your dataflow using fio, pktgen and bandwidthTest
How to measure your dataflow using fio, pktgen and bandwidthTestHow to measure your dataflow using fio, pktgen and bandwidthTest
How to measure your dataflow using fio, pktgen and bandwidthTest
 
Mikhail Belopuhov: OpenBSD: Where is crypto headed?
Mikhail Belopuhov: OpenBSD: Where is crypto headed?Mikhail Belopuhov: OpenBSD: Where is crypto headed?
Mikhail Belopuhov: OpenBSD: Where is crypto headed?
 
Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...
Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...
Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...
 
Slackware Demystified [SELF 2011]
Slackware Demystified [SELF 2011]Slackware Demystified [SELF 2011]
Slackware Demystified [SELF 2011]
 
LUG 2014
LUG 2014LUG 2014
LUG 2014
 

More from Naoto MATSUMOTO

Alder Lake-S CPU Temperature Monitoring
Alder Lake-S CPU Temperature MonitoringAlder Lake-S CPU Temperature Monitoring
Alder Lake-S CPU Temperature MonitoringNaoto MATSUMOTO
 
CPU製品出荷状況と消費電力の見える化
CPU製品出荷状況と消費電力の見える化CPU製品出荷状況と消費電力の見える化
CPU製品出荷状況と消費電力の見える化Naoto MATSUMOTO
 
2023年以降のサーバークラスタリング設計(メモ)
2023年以降のサーバークラスタリング設計(メモ)2023年以降のサーバークラスタリング設計(メモ)
2023年以降のサーバークラスタリング設計(メモ)Naoto MATSUMOTO
 
防災を考慮した水中調査の一考察
防災を考慮した水中調査の一考察防災を考慮した水中調査の一考察
防災を考慮した水中調査の一考察Naoto MATSUMOTO
 
旅するパケットの見える化
旅するパケットの見える化旅するパケットの見える化
旅するパケットの見える化Naoto MATSUMOTO
 
LTE-M/NB IoTを試してみる nRF9160/Thingy:91
LTE-M/NB IoTを試してみる nRF9160/Thingy:91LTE-M/NB IoTを試してみる nRF9160/Thingy:91
LTE-M/NB IoTを試してみる nRF9160/Thingy:91Naoto MATSUMOTO
 
災害時における無線モニタリングによる社会インフラの見える化
災害時における無線モニタリングによる社会インフラの見える化災害時における無線モニタリングによる社会インフラの見える化
災害時における無線モニタリングによる社会インフラの見える化Naoto MATSUMOTO
 
BeautifulSoup / selenium Deep dive
BeautifulSoup / selenium Deep diveBeautifulSoup / selenium Deep dive
BeautifulSoup / selenium Deep diveNaoto MATSUMOTO
 
Network Adapter Deep dive
Network Adapter Deep diveNetwork Adapter Deep dive
Network Adapter Deep diveNaoto MATSUMOTO
 
x86_64 Hardware Deep dive
x86_64 Hardware Deep divex86_64 Hardware Deep dive
x86_64 Hardware Deep diveNaoto MATSUMOTO
 
ADS-B, AIS, APRS cheatsheet
ADS-B, AIS, APRS cheatsheetADS-B, AIS, APRS cheatsheet
ADS-B, AIS, APRS cheatsheetNaoto MATSUMOTO
 
3/4G USB modem Cheat Sheet
3/4G USB modem Cheat Sheet3/4G USB modem Cheat Sheet
3/4G USB modem Cheat SheetNaoto MATSUMOTO
 
全国におけるCOVID-19対策の見える化 ~宿泊業の場合~
全国におけるCOVID-19対策の見える化 ~宿泊業の場合~全国におけるCOVID-19対策の見える化 ~宿泊業の場合~
全国におけるCOVID-19対策の見える化 ~宿泊業の場合~Naoto MATSUMOTO
 
我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)
我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)
我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)Naoto MATSUMOTO
 
私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化
私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化
私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化Naoto MATSUMOTO
 
仮想化環境におけるバイナリー・ポータビリティの考察 (WebAssemblyの場合)
仮想化環境におけるバイナリー・ポータビリティの考察 (WebAssemblyの場合)仮想化環境におけるバイナリー・ポータビリティの考察 (WebAssemblyの場合)
仮想化環境におけるバイナリー・ポータビリティの考察 (WebAssemblyの場合)Naoto MATSUMOTO
 

More from Naoto MATSUMOTO (20)

Alder Lake-S CPU Temperature Monitoring
Alder Lake-S CPU Temperature MonitoringAlder Lake-S CPU Temperature Monitoring
Alder Lake-S CPU Temperature Monitoring
 
CPU製品出荷状況と消費電力の見える化
CPU製品出荷状況と消費電力の見える化CPU製品出荷状況と消費電力の見える化
CPU製品出荷状況と消費電力の見える化
 
5Gの見える化
5Gの見える化5Gの見える化
5Gの見える化
 
2023年以降のサーバークラスタリング設計(メモ)
2023年以降のサーバークラスタリング設計(メモ)2023年以降のサーバークラスタリング設計(メモ)
2023年以降のサーバークラスタリング設計(メモ)
 
防災を考慮した水中調査の一考察
防災を考慮した水中調査の一考察防災を考慮した水中調査の一考察
防災を考慮した水中調査の一考察
 
旅するパケットの見える化
旅するパケットの見える化旅するパケットの見える化
旅するパケットの見える化
 
LTE-M/NB IoTを試してみる nRF9160/Thingy:91
LTE-M/NB IoTを試してみる nRF9160/Thingy:91LTE-M/NB IoTを試してみる nRF9160/Thingy:91
LTE-M/NB IoTを試してみる nRF9160/Thingy:91
 
災害時における無線モニタリングによる社会インフラの見える化
災害時における無線モニタリングによる社会インフラの見える化災害時における無線モニタリングによる社会インフラの見える化
災害時における無線モニタリングによる社会インフラの見える化
 
BeautifulSoup / selenium Deep dive
BeautifulSoup / selenium Deep diveBeautifulSoup / selenium Deep dive
BeautifulSoup / selenium Deep dive
 
AMDGPU ROCm Deep dive
AMDGPU ROCm Deep diveAMDGPU ROCm Deep dive
AMDGPU ROCm Deep dive
 
Network Adapter Deep dive
Network Adapter Deep diveNetwork Adapter Deep dive
Network Adapter Deep dive
 
RTL2838 DVB-T Deep dive
RTL2838 DVB-T Deep diveRTL2838 DVB-T Deep dive
RTL2838 DVB-T Deep dive
 
x86_64 Hardware Deep dive
x86_64 Hardware Deep divex86_64 Hardware Deep dive
x86_64 Hardware Deep dive
 
ADS-B, AIS, APRS cheatsheet
ADS-B, AIS, APRS cheatsheetADS-B, AIS, APRS cheatsheet
ADS-B, AIS, APRS cheatsheet
 
curl --http3 cheatsheet
curl --http3 cheatsheetcurl --http3 cheatsheet
curl --http3 cheatsheet
 
3/4G USB modem Cheat Sheet
3/4G USB modem Cheat Sheet3/4G USB modem Cheat Sheet
3/4G USB modem Cheat Sheet
 
全国におけるCOVID-19対策の見える化 ~宿泊業の場合~
全国におけるCOVID-19対策の見える化 ~宿泊業の場合~全国におけるCOVID-19対策の見える化 ~宿泊業の場合~
全国におけるCOVID-19対策の見える化 ~宿泊業の場合~
 
我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)
我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)
我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)
 
私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化
私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化
私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化
 
仮想化環境におけるバイナリー・ポータビリティの考察 (WebAssemblyの場合)
仮想化環境におけるバイナリー・ポータビリティの考察 (WebAssemblyの場合)仮想化環境におけるバイナリー・ポータビリティの考察 (WebAssemblyの場合)
仮想化環境におけるバイナリー・ポータビリティの考察 (WebAssemblyの場合)
 

Recently uploaded

Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 

Recently uploaded (20)

Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 

Train ARM SBC

  • 1. How To Train Your ARM(SBC) 6th May, 2020 SAKURA Internet, Inc. Research Center SR / Naoto MATSUMOTO (C) Copyright 1996-2020 SAKURA Internet Inc
  • 2. ARM SBC(Single Board Computer): CPU Architectures 2 Nano Pi NEO (DDR3 512MB) (4 Core CPU) # lscpu Architecture: armv7l Model name: Cortex-A7 # uname -sr ; tail -1 /etc/lsb-release Linux 5.4.35-sunxi DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS" Rock Pi S (DDR3 512MB) (4 Core CPU) # lscpu Architecture: aarch64 Model name: Cortex-A35 # uname -sr ; tail -1 /etc/lsb-release Linux 4.4.217-rockpis DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS" Rock64 (DDR3 1-4GB) (4 Core CPU) # lscpu Architecture: aarch64 Model name: Cortex-A53 # uname -sr ; tail -1 /etc/lsb-release Linux 4.4.213-rockchip64 DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS" Rock Pi 4A (DDR4 1-4GB) (2 Core CPU) # lscpu Architecture: aarch64 Model name: Cortex-A53 # uname -sr ; tail -1 /etc/lsb-release Linux 4.4.213-rockchip64 DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS" SOURCE: SAKURA Internet Research Center (2020/05) # lcspu Architecture: x86_64 Model name: Celeron(R) N3350 # uname -sr ; tail -1 /etc/lsb-release Linux 4.15.0-96-generic DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS" PICO-APL4 (DDR3 1-2GB) (2 Core CPU)
  • 3. ARM SBC vs x86_64: CPU Performance/Cost Matrix 3 SOURCE: SAKURA Internet Research Center (2020/05) (Cost) High Low (CPU Performance) FastSlow x86_64 or ARM General Purpose (Cloud/Data Center) ARM SBC Single Board Computers (HOME, SHOP, HOBBY..etc) x86_64 or ARM Embedded System (Industroy ...etc) Computer Vision, Automatic Speech Recognition...etc
  • 4. ARM with k3s for container Orchestration 4 Nano Pi NEO (DDR3 512MB) (4 Core CPU) Rock Pi S (DDR3 512MB) (4 Core CPU) SOURCE: SAKURA Internet Research Center (2020/05) # apt install -y curl # curl -sfL https://get.k3s.io | sh - # kubectl get node (OK) : # kubectl get node (It doesn't seem to work.) (X) Rock64 (DDR3 1-4GB) (4 Core CPU) Rock Pi 4A (DDR4 1-4GB) (2 Core CPU) PICO-APL4 (DDR3 1-2GB) (2 Core CPU) # apt install -y curl # curl -sfL https://get.k3s.io | sh - [ERROR] Download sha256 does not match (X) # apt install -y curl # curl -sfL https://get.k3s.io | sh - # kubectl get node (OK) # apt install -y curl # curl -sfL https://get.k3s.io | sh - # kubectl get node (OK)
  • 5. ARM with Wireguard for VPN connections 5 Nano Pi NEO (DDR3 512MB) (4 Core CPU) Rock Pi S (DDR3 512MB) (4 Core CPU) Rock64 (DDR3 1-4GB) (4 Core CPU) Rock Pi 4A (DDR4 1-4GB) (2 Core CPU) SOURCE: SAKURA Internet Research Center (2020/05) PICO-APL4 (DDR3 1-2GB) (2 Core CPU) # apt update ; apt upgrade -y; sync; sync; sync; reboot # apt install -y linux-headers-current-sunxi # add-apt-repository ppa:wireguard/wireguard ; apt update # apt install -y wireguard wireguard-tools wireguard-dkms : # INSTALL MANUALLY linux-headers-4.4.217-rockpis : : # INSTALL MANUALLY linux-headers-4.4.213-rockchip64 : : # INSTALL MANUALLY linux-headers-4.4.213-rockchip64 : # apt update ; apt upgrade -y; sync; sync; sync; reboot # apt-get install linux-headers-$(uname -r) # add-apt-repository ppa:wireguard/wireguard ; apt update # apt install -y wireguard wireguard-tools wireguard-dkms
  • 6. ARM with Wasmer for portable binary-codes 6 Nano Pi NEO (DDR3 512MB) (4 Core CPU) Rock Pi S (DDR3 512MB) (4 Core CPU) SOURCE: SAKURA Internet Research Center (2020/05) # apt install -y curl # curl https://get.wasmer.io -sSfL | sh (armv7l) is not supported by this installation script. (X) : # source /root/.wasmer/wasmer.sh # wapm install rustpython # wapm run rustpython memory allocation of 71303176 bytes failed (X) Rock64 (DDR3 1-4GB) (4 Core CPU) Rock Pi 4A (DDR4 1-4GB) (2 Core CPU) PICO-APL4 (DDR3 1-2GB) (2 Core CPU) : # wapm run rustpython Segmentation fault. (X) : # wapm run rustpython Error: error: Caught exception of type "MemoryOutOfBounds". (X) # apt install -y curl # curl https://get.wasmer.io -sSfL | sh # source /root/.wasmer/wasmer.sh # wapm install rustpython # wapm run rustpython Welcome to the magnificent Rust Python 0.1.1 interpreter ? ? >>>>> 2+2 Error: error: unknown error (X)
  • 7. ARM with Jupyter Notebook for Small Lab 7 Nano Pi NEO (DDR3 512MB) (4 Core CPU) Rock Pi S (DDR3 512MB) (4 Core CPU) SOURCE: SAKURA Internet Research Center (2020/05) # apt install -y python2.7 python-pip python-dev ipython # pip install --upgrade pip # pip install jupyter # jupyter notebook ... (OK) : # same as above : Rock64 (DDR3 1-4GB) (4 Core CPU) Rock Pi 4A (DDR4 1-4GB) (2 Core CPU) PICO-APL4 (DDR3 1-2GB) (2 Core CPU) : # same as above : : # same as above : : # same as above :
  • 8. Conclusion 8 Nano Pi NEO (DDR3 512MB) (4 Core CPU) Rock Pi S (DDR3 512MB) (4 Core CPU) SOURCE: SAKURA Internet Research Center (2020/05) k3s Wireguard WASM Jupyter Notebook Linux Kernel OK AUTOMATIC NG OK Linux 5.4.35-sunxi INSTALL NG MANUAL NG OK Linux 4.4.217-rockpis INSTALL Rock64 (DDR3 1-4GB) (4 Core CPU) Rock Pi 4A (DDR4 1-4GB) (2 Core CPU) PICO-APL4 (DDR3 1-2GB) (2 Core CPU) NG MANUAL NG OK Linux 4.4.213-rockchip64 INSTALL OK MANUAL NG OK Linux 4.4.213-rockchip64 INSTALL OK AUTOMATIC NG OK Linux 4.15.0-96-generic INSTALL